Releases: amcharts/amcharts5
Releases · amcharts/amcharts5
5.10.1
[5.10.1] - 2024-08-09
Added
fillGradient
setting added toLabel
.
Changed
- Exporting a PDF will now check image size and will not scale it up to fit page size if it's smaller. It will still scale dowwn the image to fit in the page.
Fixed
- Memory leak with axis ranges on
LineSeries
fixed. PieSeries
tick was not visible if pie had two equal slices.root.nonce
was not being added to all dynamically-loaded stylesheets.- A stack overflow could occur when auto-zooming a
ValueAxis
in some very rare cases.
5.10.0
[5.10.0] - 2024-07-22
Added
- A second parameter (
dataContext
) added toComponent
's methodspushDataItem
andmakeDataItem
, allowing to pass in a data context object related to the data item. - New class
PatternSet
added. Allows serving patterns similarly toColorSet
. More info. - New setting
patterns
added toHierarchy
,PercentSeries
,Venn
,SerialChart
,FlowNodes
. More info. - New setting
fillPattern
added toIFlowNodesDataItem
,IHierarchyDataItem
,IPercentSeriesDataItem
,IVennDataItem
,ISeriesSettings
.
Fixed
LinkedHierarchy
nodes were not clickable when children were added usingaddChildData()
method.- If there were no nodes at
topLevel
inHierarchy
chart, it would show nodes from upper levels. - Not all event listeners were disposed when disposing a
ChartIndicator
. This could cause a memory leak. Sprite
'shover()
/unhover()
methods now check if theSprite
is not disposed. This fixes some potential errors when disposed items are being referenced.- Adding in explicit d3 dependencies (Issue 1567)
DurationFormatter
was not rounding fractional numbers properly in some cases.
5.9.13
[5.9.13] - 2024-07-03
Fixed
- If start and end values of a
HeatLegend
were the same, the tooltip was shown in the top/left corner of the chart. - If a linked hierarchy had bullets on links, they remained visible when nodes and links were hidden.
- Zoom-out button could be visibile initially with some specific setups.
ZoomableContainer
would not react to pans in some of its sections if its contents was panned outside the its bounds.
5.9.12
[5.9.12] - 2024-06-12
Changed
ClusteredPointSeries
now re-clusters points only when zoom level changes. This improves performance when paning/rotating the map.
Fixed
NumberFormatter
would incorrectly round numbers smaller than 0 due to floating point issue in some cases.- An error could occur when enabling drawing mode if there were previously disposed chart indicators.
- Truncated or wrapped labels were not properly sizing underline and line-trhough decorations.
- While wheel-zooming bothg X and Y axes simultaneously, the chart could fully zoom out in some cases.
5.9.11
[5.9.11] - 2024-05-30
Added
clusterDelay
setting added toClusteredPointSeries
. Setting it to non-zero number will automatically debounce re-clustering of points, helping with performance when there are a lot of data items.
Changed
ZoomControl
buttons will now be automatically disabled whem max or min zoom level is reached.
Fixed
- "Zoom out" button was visible even the chart was not zoomed when
selectionStrictMinMax
was set totrue
(you still need to setstrictMinMax: true
for it to go away). Venn
chart could produce JS error when slices were being hidden in rapid succession.- Charts added to clustered point series bullets were not being rendered.
5.9.10
[5.9.10] - 2024-05-23
Fixed
- Serializing/saving ATR indicator was generating an error.
- Toggling a focused element with ENTER/SPACE will no longer trigger its hover.
- Reverting the empty canvas fix from
5.9.9
as Chrome seems to have fixed the issue.
5.9.9
[5.9.9] - 2024-05-21
Added
- "Average True Range" indicator added to
StockChart
.
Fixed
- Some recent versions of Chrome would sometimes clear canvas of a chart in an inactive tab after some time.
- Some events were not being disposed together with related object.
- Disposing an
XYChart
immediately after it was created would not dispose itsXYCursor
and related event handlers. StockChart
methodunselectDrawings()
was not hiding resizer brackets.SliceGrouper
would not update properly when series data was updated.
5.9.8
[5.9.8] - 2024-05-10
Added
- Two new settings for
Sprite
added:ariaCurrent
(setsaria-current
) andariaSelected
(setsaria-selected
). - Two new methods for
MapPolygonSeries
added:getPolygonByPoint()
andgetPolygonByGeoPoint()
.
Fixed
- Better positioning of
EditableLabel
when itswidth
is set. alwaysShow
setting ofXYCursor
was not working properly.
5.9.7
[5.9.7] - 2024-05-07
Fixed
ValueAxis
could go into infinite loop under the following conditions:max
was set to a value which was smaller than a calculated minimum of the axis whenstrictMinMax
set totrue
.
5.9.6
[5.9.6] - 2024-05-07
Added
- New
EditableLable
setting:multiline
(default:true
). If set tofalse
will only allow label to be edited on a single line. hsvToHsl()
andhslToHsv()
color convertion functions added toam5.utils
namespace.
Changed
- Accessibility: Both vertical and horizontal line elements of
XYCursor
now have theirrole
set to"slider"
by default. EditableLabel
now supportsmaxWidth
andoversizedBehavior
settings.EditableLabel
will now reset all available styles that might come from page-wide CSS to"initial"
so its appearance is not affected by any outside CSS.
Fixed
EditableLabel
was not being properly positioned withtextAlign
set to anything else than"left"
.ValueAxis
in some rare cases (whenmax
andmaxPrecision
was set) could get to infinite loop.- Some drawing series on
StockChart
were not properly removing items of deleted drawings from their data/dataitems.