Releases: amcharts/amcharts5
Releases · amcharts/amcharts5
5.11.0
[5.11.0] - 2025-02-03
Added
- New
Root
property:entitiesById
. Contains all Entities belonging to thisRoot
instance that have anid
set.
Changed
- From now on, unique
id
for Entities will be enforced within Root scope, not global scope. StockChart
's indicators had axes tooltips and cursor horizontal line hardcoded withforceHidden: true
. It was moved to a default theme, so now you can enable them using custom theme.
Fixed
- Overlapping interactive elements were ignoring
layer
setting. - Improved handling of focusing of Series' elements.
toggleDrawing
ofStockChart
was not hiding/showing grips if called from outside until hovered over the chart.- Changing stroke/fill drawing setting in
StockChart
drawing toolbar would update colors for existing Fibonacci drawings.
5.10.12
[5.10.12] - 2025-01-23
Fixed
useSelectionExtremes
(added in 5.10.11) was not working with verticalValueAxis
.- In case
addChildData()
of aHierarchy
was used withtopLevel = 0
, newly added nodes were invisible. DateFormatter
was not considering daylight savings of the timezone when formatting timezone offset related codes.- If
Root
timezone was set and series were using hourly (or more granular) data, items could be placed incorrectly at the daylight-savings switch.
5.10.11
[5.10.11] - 2025-01-13
Added
useSelectionExtremes
added toXYSeries
(default:false
). If set totrue
series will use selection extremes when calculating min and max values of the axis scale. Useful for stacked series.
Changed
- Setting
fontSize
on an HTMLLabel
, will now assume a "px" value instead of ignoring it altogether. - Indicator names (both full and short) are now translatable via custom locales.
Fixed
DateRangeSelector
control onStockChart
was not working correctly whenRoot
had UTC enabled.- In some cases,
Tooltip
HTML content would not get updated for series.
5.10.10
[5.10.10] - 2024-12-30
Fixed
- Fixed restoring serialized Heikin Ashi indicator.
- Heikin Ashi indicator formula fix.
5.10.9
[5.10.9] - 2024-12-20
Added
- Added way to determine if text label was autotruncated (
label.text._display.trunacted
). - Heikin Ashi indicator added to
StockChart
.
Changed
- The following settings will carry over to
Label
's HTML content if set:fontFamily
,fontSize
,fontStyle
,fontWeight
,fontStyle
,fontVariant
,textDecoration
. - When an
MapChart
is zoomed using mouse wheel it will no longer stop page scroll when its fully zoomed out. - When arranging tooltips on an
XYChart
, will now pay attention totooltipContainerBounds.bottom
setting.
Fixed
ZoomableContainer
was not zooming out properly ifminZoomLevel
was< 1
.PicturePattern
was ignoringcolorOpacity
setting.PicturePattern
withfit: "pattern"
set would sometimes not show actual image.- "Measure" drawing tool of
StockChart
was not including one volume bar value. - If a timezone was set on a chart and browser's locale was set to some non-English language, weekly grid was shown incorrecly on a
DateAxis
. - Changing
text
on aLabel
withoversizedBehavior="fit"
would sometimes not revert to original scale even if the new text would fit into max width.
5.10.8
[5.10.8] - 2024-11-21
Added
- New setting
lineCap
(default"butt"
) added toGraphics
. Allows specifying how line ends should be drawn. Possible values:"butt"
(default),"round"
,"square"
. - New setting
clickAnnounceText
added toSprite
. If set will announce the text when focused element is triggered with a press of ENTER or SPACE.
Changed
- Pressing Shift-TAB while focus on non-first member of the focusabel group will now jump to a previous group or focusable element, rather than current group's first element.
- When an
XYChart
is zoomed using mouse wheel it will no longer stop page scroll when its fully zoomed out or zoomed in.
Fixed
- HTML content was ignoring
dx
/dy
position adjustment settings. - Pressing the UP key was being ignored when navigating within a group of focusable objects.
- Last label of
GaplessDateAxis
was in wrong position whenbaseInterval
was set to week andminorGrid
was enabled. - Setting data item's value to
null
(if previous was a valid number) did not remove the column of aColumnSeries
. - The
maxWidth
/maxHeight
recaculation of vertical labels was not correctly factoring in its padding.
5.10.7
[5.10.7] - 2024-10-12
Fixed
- In some cases disposing
Root
element could result in a "Template is disposed" error.
5.10.6
[5.10.6] - 2024-10-11
Added
hideDrawingGrips
setting (default:false
) added toStockChart
. If set to true, grips of drawings will be hidden when not in drawing mode.toggleDrawing(enabled: boolean)
method added toStockChart
. Toggles drawing mode on or off.autoOpenSettings
setting (default:true
) added toIndicator
. If set tofalse
, a settings modal will not pop up automatically when the indicator is added to chart via indicator control.
Changed
- On
StockChart
labels and icons are no longer draggable to avoid interfering with chart drag/zoom. - Arrow position slightly changed in "Line Arrow" drawing tool on
StockChart
. Grip at the end of the arrow removed. - Arrow tip size will not increased to reflect the line thickness of a "Line Arrow".
- "Volume Profile" indicator had its full name hardcoded for legend. It will now use its
shortName
(which is "Volume Profile", too, by default but can be changed to anything else). Modal
content will now have its contents aligned tostart
, rather thanleft
, to properly handle RTL direction.
Fixed
- "Line Arrow" drawing tool would not save its color when serialized.
- "Line Arrow" tip was not taking a color change.
- ES2025 examples involving
MapChart
were not correctly importing geodata. - Using
clearDrawings()
was erroring if there was "Line Arrow" drawings added toStockChart
. - Rotated elements with HTML content were not being properly positioned in all cases.
scrollToChild
method ofContainer
was not working properly.
5.10.5
[5.10.5] - 2024-09-06
Added
scrollToChild()
method added toContainer
. Scrolls the container to the target child element if the container is scrollable and the element is currently outside of view.- New
StockChart
drawing tool added: "Line Arrow".
Changed
- When a selected drawing in a
StockChart
is inselected by clicking on a chart's plot area the new drawing will not be added anymore.
Fixed
- Keyboard-dragging of focusable elements was not working correctly in some cases.
- Sometimes label/callout drawing text was cut temporarily while editing them on
StockChart
. - Editable labels/callouts would go into edit mode when unserialized.
- If auto-saving of drawings was enabled, editing text would not always save the latest version of the label/callout text.
- Dragging a
StockChart
drawing while other drawing was selected, would drag the selected drawing as well.
5.10.4
[5.10.4] - 2024-08-30
Changed
- Multiple clicks (or ENTER presses when focused) on an
showTooltipOn: "click"
elements will toggle tooltip, rather than keep it open.
Fixed
- Accessibility: A focusable element would display tooltip only once on ENTER press with NVDA reader.
"Horizontal Line"
and"Horizontal Ray"
lines are now allow for longer overzoom / X-axis scope.- Candles on a
GaplessDateAxis
could some time become too wide.