[4.10.0] - 2020-09-01
Added
- New
LineSeries
property:smoothing
("bezier"
(default),"monotoneX"
, and"monotoneY"
) - indicates algorithm to use for smoothing the lines. Monotone algos are better suited for irregularly-spaced data. More info. ForcedDirectedTree
: new propertyzoomable
(default:false
). If set totrue
, the chart will be zoomable/draggable using mouse, touch, or API. More information.ForcedDirectedTree
: zoom related properties added.mouseWheelBehavior
("zoom"
,"none"
) - controls what happens when mouse wheel is used over chart;zoomStep
(default:2
) - step to increase zoom level my each zoom in;zoomOutButton
- an instance of button which is shown when chart is zoomed in.ForcedDirectedTree
: new zoom-related methods:zoomToPoint(point, level, center)
andzoomToDataItem(dataItem, level, center)
;- New global function:
am4core.createDeferred(callback, scope, ...parameters)
. Can be used to create multiple charts in a truly safe daisy-chain (next chart starts to be instantiated only when previous triggers aready
event). Returns aPromise
with chart instance. More information; - New global option:
am4core.options.deferredDelay
(default100
). Specifies time-gap in milliseconds between deferred chart instantiations.
Changed
- Added date ordinal translations for Chinese locales.
Fixed
- Accessibility:
readerTitle
was not being properly populated with data onLabel
. - Accessibility:
readerDescription
was not being populated with data. - Now works with Angular Universal SSR. Please refer to our Angular doc for instructions on how to structure your app for SSR to work properly.
- When
MapChart
was panned with inertia and a polygon withzoomToObject()
hit event was clicked when the map was still moving, the map was zooming into a wrong position.