Releases: amcharts/amcharts5
Releases · amcharts/amcharts5
5.10.10
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.
5.10.3
[5.10.3] - 2024-08-23
Fixed
- The chart would not allow overzooming using mouse wheel since
5.10.2
. It will now allow overzoom based on axis'maxDeviation
setting.
5.10.2
[5.10.2] - 2024-08-23
Added
panSensitivity
added toAxisRenderer
(default:1
).maxPanOut
added toZoomableContainer
(default:0.4
).- Method
addLine(tool, panel, point)
addedDrawingControl
. Allows adding line drawings via API. Supports ("Line"
,"Horizontal Line"
,"Horizontal Ray"
,"Vertical Line"
tools). More info.
Fixed
- Fast mouse wheel zooming of stock chart could cause browser to hang in some cases.
minBulletDistance
of aXYSeries
was ignored when base axis wasCategoryAxis
and other axis wasDateAxis
.- RTL labels with text-wrapping enabled were not being positioned properly.
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.