[4.9.24] - 2020-05-29
Added
- Export: New image export options:
minWidth
,minHeight
,maxWidth
, andmaxHeight
. Control minimum and maximum dimensions of the target image. - Chart can now be initialized without target container (
am4core.create(undefined, ...)
) then, when needed placed into container usingchart.moveHtmlContainer(target)
(wheretarget
can either be id or a reference of DOM element). groupInterval
property added toDateAxis
. You can use it to force certain grouping internal whengroupData = true
instead of one chosen dynamically.
Changed
stroke
/fill
settings will now accept values as RGB objects (e.g.:{ r: 255, g: 0, b: 0 }
).- Export:
scale
now scales source SVG before converting to image, instead of resampling target image. - Chart will no longer error out if target container by supplied id is not available at the moment of chart's instantiation. It will still error if such container is not available when DOM is ready. This allows placing chart code before actual chart target markup.
- If Axis has
syncWithAxis = true
set, it is excluded from common zoom range for better syncing.
Fixed
- Sometimes responsive rules were not being applied on chart load in Angular apps.
XYCursor
settingsnapToSeries
now uses better precision in placing cursor lines/axis tooltips.