amCharts 5: Maps 5.5.0

Released: Oct 17, 2023

5.5.0 での更新項目

機能

  • zoomTo (values: "start" and "end" (default)) has been added to PeriodSelector. If set to "start", period buttons will select from the start of the data, not from the end. "YTD" will still select to the end. PeriodSelector now supports "custom" periods.
  • Added new filter settings to Sprite: blur, brightness, contrast, saturate, sepia, invert, hue. These filters are not supported by Apple Safari browsers.
  • Added new GrainPattern which allows you to add graininess effect to any element.
  • Added new private setting trustBounds to Sprite. If set to true, 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 to true by default on Rectangle and Circle.
  • Previously elements only supported one fill at a time, either fill or fillGradient or fillPattern. Now fill or fillGradient will be drawn even if fillPattern is set. This allows you to combine patterns with gradient fills.
  • Gradients no longer inherit parent object's fill.
  • If a forceHidden for the tooltip is set to true the tooltip size now won't be taken into account when arranging tooltips on an XYChart.

不具合の修正

  • 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.