amCharts 5: Stock Chart 5.8.0

Released: Feb 1, 2024

5.8.0 での更新項目

機能

  • Added a new container type ZoomableContainer, which allows you to add zoom capabilities to virtually any chart.
  • Added a new ZoomTools class. Ths can be used to quickly add zoom support for elements compatible with IZoomable interface, e.g. ZoomableContainer.
  • Added new read-only property of DrawingControl: drawingSeries. It contains an object where key is a drawing tool name and values are array with references to actual drawing series.
  • The default value for strokeOpacity for the grid line of a StockChart has changed from 0 to 0.4 so that it would differ from regular grid lines.

不具合の修正

  • Resizing stock chart's panels after moving them up/down was not working properly.
  • Hierarchy.addChildData was duplicating node's children which were added before.
  • If topDepth was set to 1 on Partition, initially the chart was showing not all levels of nodes.
  • When clicking on particular partitions of a Partition chart, zoom animation was not playing.
  • DateRangeSelector was showing extra day in automatically-calculated end date.
  • DateRangeSelector was zooming to the start of the selected day, instead of end.
  • Tooltip background color passed to HeatLegend.showValue(value, text, color) was being ignored.
  • ClusteredPointSeries was not showing charts if they were added to clustered bullets.
  • Fixed issue with DrawingControl which was unnecessarily duplicating drawing series with each tool selection / API call.
  • Using "1M" button in PeriodSelector was not always selecting full month.
  • Restoring drawings with DrawingControl.unserializeDrawings() will now correctly update indexes of the restored drawings based on current drawing counter.
  • In some cases StockChart was taking a data item which was just outside of zoom range when calculating aggregate values for its series, affecting percent change values and some other aggregates.
  • Legend value was not being updated when series axis' range changed. This caused legendRangeLabelText to not being updated (if set) when chart was being zoomed-in/out.
  • If a type of StockChart series was changed with data grouping enabled, some duplicate candlesticks or ohlc sticks were displayed until first zoom.
  • In some rare cases chart would show incorrect last segment of a LineSeries when in percent mode.