amCharts 5: Stock Chart 5.9.0

Released: Apr 9, 2024

5.9.0 での更新項目

機能

  • zoomToDataItems(dataItems, rotate) method has been added to MapPolygonSeries.
  • Bigger hit circle has been added to Stock charts drawings bullets, which becomes visible when hovered.
  • A public method markDirtyKey() has been added, which can be used to trigger an adapter.
  • A "Reset to default" link has been added to StockChart's settings modal.
  • New StockChart/DrawingSeries methods have been added related to drawing selection: selectDrawing(id, keepSelection), unselectDrawing(id), unselectDrawings().
  • New StockChart/DrawingSeries methods have been added related to drawing deletion: deleteDrawing(id), deleteSelectedDrawings().
  • New StockChart events have been added: drawingadded, drawingremoved, drawingselected, drawingunselected.
  • New DropdownListControl methods have been added: getItemById(id) and setItemById(id).
  • New IconControl methods have been added: getIconByPath(path) and setIconByPath(path).
  • New drawing tools have been added to StockChart: "Triangle" and "Polyfill".
  • Improved handling of moving lines of an XYCursor. It will now move by one cell automatically, or by 5 cells if pressed together with CTRL.
  • Improved styling of a color picker control in StockChart's toolbar and settings modals.
  • Drawing functionality has been completely revamped. All drawings are now selectable, editable, movable, and can be deleted by selecting them and pressing DEL.
  • Accessibility: Pressing SPACE when element with role="checkbox" set is focused, will now toggle it just like pressing ENTER.
  • pdfmake has been updated to 0.2.10.

不具合の修正

  • Sprite was not marking its bounds dirty when margins changed. It was causing layouts with margins not to be redrawn after margins changed.
  • When drawing mode was enabled in a StockChart while in the percent scale, it used to reset scale to regular.
  • Tooltip no longer overwrites user-provided background.
  • Treemap was not redrawing when layout algorithm was changed dynamically.
  • Tooltip position was not being updated when bounds of a Sprite changed.
  • Moving line of an XYCursor with a keyboard press could result in an axis line to be out of sync with series tooltips.
  • tabindexOrder was not working properly in some cases.
  • Font family and font size controls were showing unnecessary "+" icon.
  • In some rare cases setting value on an object / data item was not working.