amCharts 5: Charts 5.9.2

Released: Apr 17, 2024

5.9.2 での更新項目

機能

  • Accessibility: Added two new Tooltip settings: readerAnnounce (boolean, default: false) and labelAriaLabel. If readerAnnounce is set to true, tooltip's contents (labelAriaLabel if set, or regular label text) will be read out by screen readers when tooltip is shown or its data item changes.
  • Accessibility: Added a new Label method: getAccessibleText(). It returns populated arialLabel text if set, or regular text content.
  • Added a new Sprite method: compositeScale(). It returns the actual scale of an element, compounded based on scale of its own and all of its ancestors.
  • Added a new am5.getRootById(id) Net global function, which returns Root instance stored in a <div> with specific ID.
  • Added 2 new Entity methods: off(key, callback?) and offPrivate(key, callback?). They allow you to remove setting/private setting value change events set via on()/onPrivate().
  • HTML content will now scale according to its "composite" scale. (Scale calculated all the way its ancestor tree).
  • Improved dangling of circular labels with Arabic text.

不具合の修正

  • HTML content was sometimes being incorrectly positioned if either width or height was set, but not both.