Releases: amcharts/amcharts5
Releases · amcharts/amcharts5
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
).
5.5.4
[5.5.4] - 2023-11-01
Fixed
- All
StockChart
indicators with OverBought/Oversold ranges were zooming to the selected series range (they should not).
5.5.3
[5.5.3] - 2023-11-01
Added
- New indicator "Stochastic Momentum Index" added.
- All
StockChart
indicators with OverBought/Oversold ranges (Commodity Channel Index, Relative Strength Index, Stochastic Momentum Index, Stochastic Oscilator and Williams R) have now middle line between oversold/overbought. Also a draggable grip added to oversold/overbought ranges which allows user to change values by dragging these grips. - New
StockChart
toolbar control:DropdownControl
. Can use to add any content to be displayed in a dropdown when clicked. More info.
Changed
- Changed defaults on a
StockPanel
:wheelY: "zoomX"
,panX: true
,panY: true
. Previously, those were hardcoded inChartIndicator
, which prevented a possibility to change them via a theme. - Changed defaults on an
AxisRendererY
:pan:"zoom"
. This adds zoom possibility for all Y axes of aStockChart
(previously indicator Y axes where not zoomable). IndicatorControl
now extendsDropdownListControl
for consistency.IndicatorControl
has nowscrollable: true
set by default.- Tweaked number formats for indicator legend items.
- Default ordering of indicators in
IndicatorControl
changed.
Fixed
- Returning empty string from
labelHTML
adapter on aTooltip
in some cases could result to an error. - Timezone formatting with "z" codes in
DateFormatter
was not always correct. XYChart
could flicker on Safari browser in some rare responsive CSS setups.
5.5.2
[5.5.2] - 2023-10-27
Added
customValue
added toISeriesDataItem
andcustomValueField
toSeries
. Allows storing additional numeric information which could be used for heat rules and other purposes.- A middle line between oversold and overbought added to
StockChart
's RSI indicator. - While drawing polygon in a
StockChart
, a line is drawn from the previous point to mouse pointer. - New setting
scrollable
(default:false
) added toStockChart
'sDropdownList
andDropdownListControl
(as well as other controls that extend those, e.g.ComparisonControl
). If set totrue
, will autoamtically limit dropdown height to fit into chart, and will show scrollbar if the contents do not fit. - Measure tool added to
StockChart
(as a drawing item). toolSettings
setting added toDrawingControl
. Allows passing in default settings for each drawing tool. More info.
Changed
- Printing via
ExportingMenu
print functionality using "CSS" print method will now temporarily remove all margins and padding onbody
so that images that do not fit into single page do not produce a blank page. StockChart
's Fibonacci drawing tool now draws from initial click point to the mouse pointer instead of to the right of the plot area.StockChart
's Fibonacci drawing tool's click point is now at 1 value (was at 0).- Most of drawing tools of
StockChart
now support snapping to data items. - Snapping to data items in
StockChart
drawing tools is now turned off by default.
Fixed
- If an axis range was created for a
ColumnSeries
after series was inited, columns for the range were not being created. GaplessDateAxis
valueToPosition method was returning wrong position if value was less than min value of the axis.- Unserializing indicators and drawings that create separate panel in a
StockChart
would not restore drawings in indicator's panel.
5.5.1
[5.5.1] - 2023-10-19
Fixed
- Not all visual settings from columns were being copied to their legend markers.
- Data items with identical timestamps in data could sometimes be ignored when plotting series.
drawingsInteractive(false)
was not having an effect on some drawing tools (Vertical/Horizontal/Ray Line).CategoryAxis
' elements (e.g. labels and grid) were ignoringforceHidden
setting.- Some line elements (e.g. grid) were being drawn somewhat blurry since
5.4.9
.
5.5.0
[5.5.0] - 2023-10-17
Added
zoomTo
(values:"start"
and"end"
(default)) added toPeriodSelector
. If set to"start"
, period buttons will selectg from the start of the data, not from the end."YTD"
will still select to the end. More info.PeriodSelector
now supports"custom"
periods. More info.- New filter settings added to
Sprite
:blur
,brightness
,contrast
,saturate
,sepia
,invert
,hue
. More info. These filters are not supported by Safari browsers. - New
GrainPattern
added. Allows adding grainniness effect to any element. More info. - New private setting
trustBounds
added toSprite
. If set totrue
, the Sprite will check if a mouse pointer is within bounds of a Sprite before dispatching its pointer events. This helps to solve ghost tooltips problem which sometimes appears while moving the pointer over interactive objects. It is set totrue
by default onRectangle
andCircle
.
Changed
- Previously elements only supported one fill at a time - either
fill
orfillGradient
orfillPattern
. Nowfill
orfillGradient
will be drawn even iffillPattern
is set. This allows combining
patterns with gradient fills. - Gradients no longer inherit parent object's
fill
. - It is now possible to draw annotations on a
StockChart
outside X-axis' min/max using axis overzoom. - If a
forceHidden
for the tooltip is set totrue
the tooltip size won't be taken into account when arranging tooltips on anXYChart
.
Fixed
- An error was being thrown when chart with focused element was being disposed.
- If a series had data items without value and axis was zoomed so that only these data items were in range, the series used its full min and max values resulting value axis to be fully zoomed out.
- Using
hide()
/show()
methods on an axis data item would no hide its visual elements. - Drawing annotations on a
StockChart
with timezone set was a bit wonky.
5.4.11
[5.4.11] - 2023-10-10
Fixed
SliceGrouper
would use first color in series for a "group" slice if series was using a color set with custom list of colors.- Fixed a problem where no series was displayed after data with all 0 values was set (since
5.4.10
). forceInactive
was not working onContainer
.drawingsInteractive(value: bool)
method inStockChart
was not working properly.
5.4.10
[5.4.10] - 2023-10-06
Fixed
StockChart
settingsstockPositiveColor
andstockNegativeColor
was being ignored in some cases since5.4.9
.
5.4.9
[5.4.9] - 2023-10-06
Added
drawingsInteractive(value: bool)
method added toStockChart
.false
will make current annotations (drawings) to be fully static (non-editable).
Fixed
- Zoom out button on
XYChart
was not focusable. - Pulled out slices of a
PieSeries
could overlap with other slices if some slices were hidden. - Pinch-zooming was not working properly in
XYChart
. - Candlesticks on a
StockChart
were being colored based on previous period close value instead of current period open value.