Releases: amcharts/amcharts4
Releases · amcharts/amcharts4
4.9.26
[4.9.26] - 2020-06-07
Fixed
- Series with
showOnInit = false
were not shown on a chart initially (since last release only).
4.9.25
[4.9.25] - 2020-06-06
Added
- Global option
am4core.options.autoDispose
added (defaultfalse
). If set totrue
, when chart is being created in a container that has already existing chart, instead of "Chart was not disposed" warning in console, the chart being overwritten will be disposed. - New plugin: Range Selector. Collection of controls for adding alternative zoom controls for axes.
Changed
- Disabled callbacks will now carry over to a clone when cloning an Adapter.
Fixed
- Export: Sometimes background was improperly clipped when upscaling exported image.
- Export: If chart's
data
was updated openExportMenu
was forcibly being closed. "Z"
and"ZZ"
indicators ininputDateFormat
were being ignored.- If series had
sequencedInterpolation = true
set and it was hidden via legend, its legend item lost disabled color when chart was resized. bullet.locationX
andbullet.locationY
was being ignored on aColumnSeries
withCategoryAxis
.- If a chart's Legend was disposed, it could result in JS errors if chart had an
XYCursor
enabled.
4.9.24
[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.
4.9.23
[4.9.23] - 2020-05-19
Added
removedfromqueue
event added toSprite
. It is invoked whenam4core.options.queue = true
oram4core.options.onlyShowOnViewport = true
and the Sprite (chart) is removed from queue (appears on the screen).groupperiodchanged
event added toDateAxis
. It is invoked when data grouping is on and grouping period is changed.
Fixed
- JSON: Array value in
snapToSeries
onXYCursor
was resulting in error. RadarChart
was resulting in an error if used as a column or bullet template in some other chart.AxisRendererRadial.innerRadius
was ignored if set in percent andRadarChart.innerRadius
was not set.- Wide charts were being cut off in the middle when printing.
4.9.22
[4.9.22] - 2020-05-14
Changed
- Export: Now using forked version of
canvg
until underlying issues are fixed in source library.
Fixed
queue
andonlyShowOnViewport
were not working properly on regularContainer
instances.- Export: Garbled IE image exports fixed.
- Some tooltips were reappearing on
MapChart
after theirshowToolipOn
was reset back to"hover"
from"always"
.
4.9.21
[4.9.21] - 2020-05-13
Fixed
- Latest version of
canvg
was causing issues in some Angular setups. Downgraded to3.0.0
. - The legend marker for
LineSeries
with circle bullet was not properly centered.
4.9.20
[4.9.20] - 2020-05-11
Changed
hit
andup
events on nested objects will now respect correct bubbling up order.- If
rtl
is not set directly on theLabel
, it will now takertl
value not from its parent but frombaseSprite
(performance enhancement). <desc>
element with amCharts attribution removed from generated SVG.
Fixed
- Export: PDF export will now fallback to regular fonts if bold fonts don't exist.
- Export: Advanced PDF exports with extra content were broken since last release.
- Export: Image export was essentially broken in IEs.
options.nonce
was not working properly on EDGE.- Event
selectedned
was not dispatched byCursor
if released outside the chart div and behavior was set toselect*
. - If all series were removed and then added quickly to the chart with a legend it could result a JS error.
- Setting
data
directly on a series not right after it was created could resultseries.data
array to be shown as empty. - It was impossible to set
SwitchButton
as active initially. - Fixed snapping cursor to series when data was missing: if series had gaps in data and
cursor.snapToSeries
was set, the snapping was not working properly. - When adding data to
XYSeries
which wasXYCharScrollbar
's series, the raw data was incorrectly modified.
4.9.19
[4.9.19] - 2020-04-30
Added
- Export: Two new PDF export options added:
font
andextraFonts
which enable specifying non-default font to use when exporting PDF. More info.
Changed
- Third party resize sensor replaced with a home-brewed, which is faster and more reliable.
svgContainer.resizeSensor
replaced with a dummy object. Make sure you remove all references to it in your code. Calling it'sreset()
method will now generate a warning in console.
Fixed
- Inline text formatting blocks now accept quote-enclosed values, e.g.
[font-family: 'Segoe UI']
. - Fills for columns in
RadarColumnSeries
were black (since last release). - With Chrome 81 disposing the chart in with DevTools open was very slow.
- Performance optimizations when showing/hiding series with a lot of data.
- Tooltip was flickering at 0,0 position if animated theme was not enabled.
4.9.18
[4.9.18] - 2020-04-28
Added
- Heatmaps can now be logarithmic (set
logarithmic = true
in the heat rule config).
Fixed
- Preloader label was misaligned when RTL was enabled.
- Double "hit" event invocation on
MapPolygon
fixed. - Regression plugin: "processed" event was triggered twice on initial chart load.
- SliceGrouper plugin: if slice templats had any "hit" events set,
clickBehavior = "break"
was not working. - IE was not displaying series in
XYChartScrollbar
. On IE now gray fill/stroke is used instead of desaturate filter. - IE was not displaying series with filters. Remnoved filters if IE.
- Fixed issue with zero-value nodes drill-down
SankeyDiagram
. - When animations were disabled through options, showing
XYSeries
andFunnelSeries
after it was hidden was not working. - It was not possible to add
MapImages
toMapImageSeries
directly from the GeoJSON geodata. maxWidth
set on Legend's label was being ignored.- Layout was not being redrawn when
minGridDistance
was set after chart initialization. - If
sprite.showTooltipOn = "hit"
and no animated theme was used, tooltip used to flicker at old position before shown in the correct one. - EDGE was not showing
ColumnSeries
gradients if gradient was set on series, not on directly on column template.
4.9.17
[4.9.17] - 2020-04-20
Added
- Global option
am4core.options.nonce
added. If set, amCharts will use this as a nonce-parameter for all dynamically created stylesheets, so it can be addressed inContent-Security-Policy
headers. - New
Popup
property:dynamicResize
. If set totrue
(default) and contents contains unloaded images it will resize itself when those finish loading. gradientUnits
added toLinearGradient
. If you're setting gradient on a perfectly straight line, set it touserSpaceOnUse
.filterUnits
added toFilter
. If you're setting gradient on a perfectly straight line, set it touserSpaceOnUse
.startLocation
andendLocation
added toCategoryAxisBreak
. Can use to indicate where exactly within category break should start and end.
Changed
Popup
now will size itself to accommodate images inside it as they are being loaded. To disable, setPopup
'sdynamicResize = false
. Also make sure you enablemaxWidth
/maxHeight
in your CSS to avoid unreasonably large popups for unsized images.
Fixed
- Week number in date format (
"ww"
) was not accounting for daylight saving. - Pressing ENTER on a focused Legend item will no longer toggle related series if legend's item containers are sett to be not togglable.
- Exporting to SVG no longer breaks if chart contains
foreignObject
elements with SVG's in them. - Line smoothing (
tensionX
/tensionY
) now drops out duplicate points to avoid weird loops on overlapping data items. - Chart was zooming incorrectly, when data was added directly to stacked series and one of the series was hidden.
- Some performance issues with
XYCursor
and a lot of series fixed. LinearGradient
fill was not working onLineSeries
under EDGE.