
Today we have released amCharts 4.2 which, among other things, includes new responsive layout features. Read all about responsive layout in amCharts 4 in this document.
Another highly requested feature is the ability to export multiple charts at once.
Get the latest amCharts version now.
Complete Changelog for versions 4.1.11 – 4.2.0
Added
- Added read-only property of
CategoryAxis:frequency. Indicates every X label is shown. - Added JSON example of Candle stick chart (json/candlestick-series).
- New
Exportproperty:extraSprites. May contain a list of references to otherSprites(e.g. external legend or even other chart) to attach to exported image. More info. - Experimental responsive features and default rules are now active. More info.
- New
Tooltipproperty:keepTargetHover– will make target element hovered as long as its tooltip is hovered, good for bullets and map images. - New
Tooltipproperty:targetSprite– contains reference to element this tooltip is displayed for, if any. - New
PictorialStackedSeriesproperties:startLocationandendLocation– allow setting relative start and end positions of the shape to fill. - New
FunnelSeries/PyramidSeries/PictorialStackedSeriesproperty:labelsOpposite– allows controlling which side of the series to show labels whenalignLabels = true.
Changed
- Accessibility: Default role of the Legend’s item containers was changed to “switch”.
- Hiding or showing an element will now automatically set its
readerHiddenattribute accordingly. - On
MapPolygondefault value ofnonScalingStrokeis now set totrue(asfalse). - When calculating font size for a word on a
WordCloudchart it now uses smaller side of the series area instead of height. Tooltip‘s labelpaddingBottomdefault value changed from6to4pixels for better centering of text.- Default value of
minFontSizeinWordCloudSeriesto2%. - Default value of
maxFontSizeinWordCloudSeriesto20%. - Label sizing algorithm updated in
WordCloudSeries.
Fixed
- Accessibility: Legend’s containers when toggling items were setting value of
aria-checkedincorrectly. - JSON: Using
childrenwith an array value was duplicating elements. - Working around a bug with Angular’s dead code elimination in
--prodmode. - Fixed
ValueAxisissue with animation when there’s only single data item. - Sometimes axis ticks on a chart with a lot of data/series were not positioned properly.
- Sometimes
baseInterval = "year"on aDateAxiscould cause stack overflow.