amCharts 5: Stock Chart 5.7.0

Released: Dec 17, 2023

5.7.0 での更新項目

機能

  • Added new Serializer setting: fullSettings. It will ignore depth settings for keys listed in fullSettings.
  • Added new StockAxis toolbar control: DataSaveControl. It allows you to automatically or manually save all drawings and indicators to browser's local storage, as well as restore them across sessions.
  • Added additional item in SettingsControl: Auto-save drawings and indicators.
  • Added new setting in SettingsControl: autoSave. It enables users to toggle auto-saving of indicators/drawings via Settings dropdown.
  • Added new setting in DropdownList and DropdownListControl: exclude. It can be set to an array of item IDs that should not appear in the list. Can be used to disable default list items.
  • Added new spriteResizer property in StockChart. It holds an instance of SpriteResizer which is used among drawing tools.
  • zoomable setting has been 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.
  • StockChart will now 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).

不具合の修正

  • 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.
  • Eliminated 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 using axis.zoomToDates(startDate, endDate) method.
  • When switching to percent scale StockChart's main panel was showing wrong Y-axis numbers until first zoom.