Releases: amcharts/amcharts5
Releases · amcharts/amcharts5
5.7.7
[5.7.7] - 2024-01-18
Added
- New setting in
StockToolbar
:focusable
(default:false
). If set totrue
, will make all toolbar controls navigable/editable using keyboard. More info.
Changed
ariaChecked
setting will be ignored if the element also hasrole
set to one of these:"checkbox"
,"option"
,"radio"
,"menuitemcheckbox"
,"menuitemradio"
,"treeitem"
.
Fixed
- Paused animations no longer trigger a re-render.
- Mouse wheel events now work properly inside of shadow DOM.
minBulletDistance
was not being re-measured when size of a chart was changed.- Volume Profile was ignoring color change in its settings dialog.
- Volume Profile when added on chart load was not properly setting count setting in modal when switching to "Ticks per row".
5.7.6
[5.7.6] - 2024-01-05
Fixed
- One of the underlying series was not being removed when disposing MACross indicator.
- Some of the newer indicators were not being restored.
autoSave: true
set onDataSaveControl
was not working.
5.7.5
[5.7.5] - 2024-01-04
Added
- New
Annotator
setting:markerStyleSettings
. Allows setting default settings for UI styles ofMarkerArea
. More info. - "Moving Average Cross" (MACross) and "Price Volume Trend" (PVT) indicators added to
StockChart
. ZoomControl
now has a new property:homeButton
. It holds an instance of a button which zooms out the map to its initial position. It is hidden by default, so if needed, needs to unhide it by settingzoomControl.homeButton.set("visible", true)
.
Changed
- Settings dialog for a "Volume Profile" indicator will automatically update count field value to a more suitable one when switching count type.
Fixed
- Clearing data on a
ClusteredPointSeries
would not remove its bullets representing clusters.
5.7.4
[5.7.4] - 2024-01-02
Added
- New
Annotator
setting:markerSettings
. Allows setting default settings forMarkerArea
. More info.
Changed
- Heat rules are now set on the default state of a target, too.
Fixed
- Changing data granularity on
StockChart
was not updatingbaseInterval
on indicator'sDateAxis
resulting in indicator showing a wrong chart. - If
exclude
/include
was set on aMapSeries
without GeoJSON set, setting it later later would result in a map not appearing.
5.7.3
[5.7.3] - 2023-12-26
Fixed
Scrollbar
background was being drawn shifted since5.7.2
.
5.7.2
[5.7.2] - 2023-12-22
Added
- New setting on
Label
:maxChars
. If set to a number, will truncate text to X characters with ellipsis, obeyingbreakWords
andellipsis
settings. - "Bull Bear Power" indicator added to
StockChart
. - "Acceleration Bands" indicator added to
StockChart
. - Standalone
registerClass(name, classRef)
added to Stock Chart package (global:am5stock.registerClass()
). Allows registering own indicator class so that it gets properly serialized and restored.
Changed
- Improved min/max calculation of the
ValueAxis
when all the values of a series are the same.
Fixed
- "Volume Profile" was showing up in the
IndicatorControl
's dropdown, even ifvolumeSeries
was not set on theStockChart
. - Left-side
ValueAxis
on aStockChart
(opposite: false
) it was impossible to right-align axis labels to plot area. Scrollbar's width was also not adjusted to the width of the plot area. - Some drawing tools in
StockChart
where not working when chart was in comparison mode. - Drawings created when
StockChart
was in comparinson mode were not carried over correctly when switching to regular value mode. - Some drawing tools ceized working when main
StockChart
series was updated. - Searchable dropdown controls in
StockChart
were not clearing up the list of found items when the search field was cleared.
5.7.1
[5.7.1] - 2023-12-18
Fixed
DataSaveControl
was always clearing manually-saved drawings/indicators unless auto-save was enabled.- Drawing tools eraser and clear would not always clear drawings loeaded by a
DataSaveControl
. VolumeProfileIndicator
was not working if added via API.VolumeProfileIndicator
was drawn detached from the Y-axis in some cases.- Fixed
VWAP
indicator with data that contained zero-volume items.
5.7.0
[5.7.0] - 2023-12-17
Added
- New
Serializer
setting:fullSettings
. Will ignore depth settings for keys listed infullSettings
. - New
StockAxis
toolbar control:DataSaveControl
. Allows to automatically or manually save all drawings and indicators to browser's local storage, as well as restore them across sessions. More info. - Added additional item in
SettingsControl
: Auto-save drawings and indicators. - New setting in
SettingsControl
:autoSave
. Enables user to toggle auto-saving of indicators/drawings via Settings dropdown. - New setting in
DropdownList
andDropdownListControl
:exclude
. Can be set to an array of item IDs that should not appear in the list. Can be used to disable default list items. - New property in
StockChart
:spriteResizer
. Holdes an instance ofSpriteResizer
which is used among drawing tools. zoomable
setting added to Axis. If set to false, calling axis.zoom() won't do anything, meaning that the axis won't be zoomed with scrollbars, wheel, cursor etc.
Changed
StockChart
will only sync zoom between X axes that are of the same type as the main axis.- All drawing tools that allow selecting and resizing them (Label, Callout, Icons) will now use shared instance of
SpriteResizer
. IndictorControl
is now searchable by default (searchable: true
).
Fixed
PeriodSelector
's buttons were not being reset when chart was zoomed manually.- Dropdowns in
StockChart
's control were not being positioned correctly in all cases on a page with RTL direction enabled. - Drawings loaded from serialized data were not being deleted with eraser or clear tools.
- Elinated multiple calls to preparing data of
StockChart
indicators. - On
StockChart
, indicator's panel X-axis was out of sync with the main panel's X-axis if the latter's scale was longer to some other series on the main panel. - Italic toggle was being ignored in
StockChart
label drawing tools. GaplessDateAxis
was not always including the first date when usingaxis.zoomToDates(startDate, endDate)
method.- When swiching to percent scale `StovkChart's main panel was showing wrong Y-axis numbers until first zoom.
5.6.2
[5.6.2] - 2023-11-30
Added
- Middle handles added to Parallel channel drawings so that the drawing could be resized vertically.
Changed
- Clicking on a last or any other bullet when drawing a polyline on a
StockChart
will terminate current polyline. The next click will start a new polyline. extraMax
andextraMin
settings now work onGaplessDateAxis
. This allows adding extra space in front (or back) of your data. We recommend settingmaxDeviation
to0
if you useextraMax
.
Fixed
- In some rare cases (with a specific data count and
groupData
set totrue
) the chart was continously switching from monthly to weekly group interval causing the chart to flicker. - Tick position was not always correct with
minorGridEnabled
set totrue
. - On a
DateAxis
whengridInterval
was set toweek
, it still showed minor grid lines even whenbaseInterval
was alsoweek
.
5.6.1
[5.6.1] - 2023-11-27
Changed
- New default rule added to
ResponsiveTheme
that will hide minor axis labels belowXXL
(1000px) breakpoint. IndicatorControl
will not list Indicators that rely on volume if chart'svolumeSeries
is not set.
Fixed
- Fixed stacking of bullets with varying
centerY
. role
setting forRoot
element was being ignored.- Setting
name
for a Series would not right away update labels of its related legend item.