Releases: amcharts/amcharts5
Releases · amcharts/amcharts5
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.
5.6.0
[5.6.0] - 2023-11-26
Added
addBullet(dataItem, bullet)
method added toSeries
. Allows adding aBullet
directly to a particular data item instead of adding bullet function to the series. More info.stacked
(available values:"up"
,"down"
,"auto"
) setting added toBullet
. Allows enabling of automatically stacking bullets on anXYSeries
. More info.field
(available values:"open"
,"high"
,"low"
,"value"
) setting added toBullet
. Works withXYSeries
only. Allows setting a particular data field where the bullet should displayed at. Note:locationX``locationY
settings will be ignored iffield
is set. More info.- New
Root
element setting:focusPadding
(default:2
). Allows specifying distance between focused element and the focus outline. - Minor grid/labels added on
AxisRenderer
with new settingsminorGridEnabled
andminorLabelsEnabled
(default:false
). More info. - New setting
minorDateFormats
added toDateAxis
. Allows setting different formats for minor grid labels. More info.
Changed
- When
DateAxis
is in weekly grid mode, it will now usemultiLocation
for labels instead oflocation
. - Placement of grid/labels is improved on
DateAxis
andGaplessDateAxis
.
Fixed
- Truncating was not working properly on circular labels.
- Fixed potential conflict of responsive rules in
ResponsiveTheme
. - Issues fixed with data items appearing in wrong place on a chart with data grouping enabled and timezone set.
DrawingControl.unserializeDrawings()
method was broken since5.5.7
.
5.5.7
[5.5.7] - 2023-11-17
Added
- Two new settings on a
ClusteredPointSeries
:scatterDistance
andscatterRadius
. Allow exploding clusters of very close points when further zoom-in is no longer possible. More info.
Fixed
PieSeries
was not issuing proper colors for its slices with some JSON config setups.- In
StockChart
when percent mode was being switched off and related series toggled via legend, it would revert to percent mode. - When updating data on a
PieSeries
its ticks could be displayed going all the way to the center briefly. - Changing data on a main series in a
StockChart
was not updating related indicators properly. - Legend marker for a
LineSeries
with bullets could display incorrectly if the whole chart was created before adding it to theRoot
container.
5.5.6
[5.5.6] - 2023-11-10
Added
- Each
<canvas>
element in chart will now have itsclass
set to reflect its layer/order, so it can be targeted with CSS. E.g.am5-layer-0
. ClusteredPointSeries
added. Allows automatically clustering closely-located bullets into groups. More info.zoomToDataItems()
method added toMapPointSeries
. Can be used to zoom to a number of series data items so all of them are visible.
Fixed
DataProcessor
was not parsing timestamp-based string dates ('"x"') properly.strokeGradient
set on anAxisRenderer
was not being applied (since5.5.5
).
5.5.5
[5.5.5] - 2023-11-06
Added
- SMA line added to Relative Strength Index indicator in
StockChart
. - A possibility to draw a Parallel Channel added to
StockChart
.
Changed
- Removed dependency on the
regression
npm package.
Fixed
- Change of
minGridDistance
setting onAxisRenderer
was not being applied until next redraw. - Snapping of
StockChart
drawings sometimes worked incorrectly. - Average line was drawn incorrectly on a
StockChart
(since5.5.2
).