LightningChart JS v3.2.0
Released: Sep 22, 2021
v3.2.0 中的更新
特性
- Added:
- Added 'DateTimeTickStrategy.setCursorFormatter' for easy modification of cursor ticks formatting.
- Added 'NumericTickStrategy.setCursorFormatter' for easy modification of cursor ticks formatting.
- Added 'TimeTickStrategy.setCursorFormatter' for modification of cursor ticks formatting.
- Added 'axis.setThickness'
- This can be used to control the width or height of axis depending on whether it is the axis Y or X axis.
- Added primitive draw mode to 'LineSeries3D' and 'PointLineSeries3D'
- This feature can be used for improved performance by reducing line depth perception.
- See 'setStrokeStyle' method for more information.
- Added 'series.setAutoScrollingEnabled' for disabling scrolling and fitting of specific series.
- Added 'synchronizeAxisIntervals'. Utility for synchronizing intervals of one or more axis.
- Changed:
- Improved default Date time cursor formatting to display Year, month, day, hour and minute information.
- This can be modified with new method 'DateTimeTickStrategy.setCursorFormatter'.
- Added 'dataPoint' parameter to 'SeriesXYFormatter'.
- This allows using 'value', 'size', 'color', 'rotation' and custom values in cursor result table formatters.
- 'ZoomBandChart' now automatically aligns itself with the reference chart.
- Community version no longer has performance penalty.
- 'NumericTickStrategy.setFormattingFunction' now also affects default cursor result table formatting and cursor ticks formatting.
- 'SolidGauge.setIntervalLabelFormatter' and 'setDataLabelFormatter' now also accept callback functions which can be used to display text that is not strictly numbers.
- Improved axis tick rendering performance.
修补程序
- Fixed ChartXY UI element positioning on axis.
- Fixed map chart AutoCursor not usable with touch.
- Fixed 'ZoomBandChart' not reacting to 'Dashboard' 'theme' or 'disableAnimations' options.
- 'PointSeries3D' no longer crashes when styled with 'PalettedFill'.
- 'PointSeries3D' now displays color lookup table range when attached to a legend box and styled with paletted fill.
- Fixed edge case in text rendering when creating text with large font size.
- Fixed occasional error message when zooming in and out line series rapidly.
- Fixed incorrect rendering behavior when chart is transitioned to fullscreen on Safari.
- Fixed incorrect legend box entry alignment after restoring the legend box entry.
- Fixed 'OHLCSeries' sometimes not being visible, especially when chart is created and animations are disabled.
- Fixed point, line and range series 'getPointAmount' not counting points that were added just before.
- Fixed empty series affecting automatic fitting of series.
- LightningChart JS logo now renders properly on high DPI devices with 'window.devicePixelRatio' greater than 1.
- Fixed poor performance when adding new points to charts with 1 million or more points in some cases.
- Fixed 'HeatmapGridSeries.getWireframeStyle' returning 'FillStyle' instead of 'LineStyle'.
- Fixed TypeScript issue with being able to pass 'LineStyle' as 'FillStyle' or vice versa.
- Fixed 'HeatmapScrollingGridSeries' not attaching to any other axis than default chart axis.
- Fixed 'IntensityGridSeries' and 'IntensityMeshSeries' not rendering after it has been restored.