Releases: amcharts/amcharts5
Releases · amcharts/amcharts5
Release list
5.10.11
[5.10.11] - 2025-01-13
Added
useSelectionExtremesadded toXYSeries(default:false). If set totrueseries will use selection extremes when calculating min and max values of the axis scale. Useful for stacked series.
Changed
- Setting
fontSizeon 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
DateRangeSelectorcontrol onStockChartwas not working correctly whenRoothad UTC enabled.- In some cases,
TooltipHTML 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
MapChartis 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.bottomsetting.
Fixed
ZoomableContainerwas not zooming out properly ifminZoomLevelwas< 1.PicturePatternwas ignoringcolorOpacitysetting.PicturePatternwithfit: "pattern"set would sometimes not show actual image.- "Measure" drawing tool of
StockChartwas 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
texton aLabelwithoversizedBehavior="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
clickAnnounceTextadded 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
XYChartis 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/dyposition adjustment settings. - Pressing the UP key was being ignored when navigating within a group of focusable objects.
- Last label of
GaplessDateAxiswas in wrong position whenbaseIntervalwas set to week andminorGridwas enabled. - Setting data item's value to
null(if previous was a valid number) did not remove the column of aColumnSeries. - The
maxWidth/maxHeightrecaculation of vertical labels was not correctly factoring in its padding.
5.10.7
[5.10.7] - 2024-10-12
Fixed
- In some cases disposing
Rootelement could result in a "Template is disposed" error.
5.10.6
[5.10.6] - 2024-10-11
Added
hideDrawingGripssetting (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.autoOpenSettingssetting (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
StockChartlabels 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). Modalcontent 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
MapChartwere 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.
scrollToChildmethod ofContainerwas 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
StockChartdrawing tool added: "Line Arrow".
Changed
- When a selected drawing in a
StockChartis 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
StockChartdrawing 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
GaplessDateAxiscould 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'maxDeviationsetting.
5.10.2
[5.10.2] - 2024-08-23
Added
panSensitivityadded toAxisRenderer(default:1).maxPanOutadded 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.
minBulletDistanceof aXYSerieswas ignored when base axis wasCategoryAxisand other axis wasDateAxis.- RTL labels with text-wrapping enabled were not being positioned properly.