LightningChart JS v8.0.0

Released: Aug 6, 2025

v8.0.0 中的更新

特性

Added

  • Added point stroke style APIs to XY point series, Polar point series, buttons, legend entries and cursor point markers.
    • Allows drawing line stroke along edges of points.
    • For example, PointLineAreaSeries.setPointStrokeStyle.
  • Added ChartWithCursor.setCursorDynamicBehavior.
  • Added new ChartXY axis title position option: "center-chart".
    • Positions axis title to center of whole chart, rather than center of the axis only.
    • Useful for aligning axis title nicely relative to chart title or legend.
  • Added HighlightModes.onHoverIndividual.
    • Relevant only for FigureSeries, allowing individual highlighting of figure that is under pointer.
  • Added LUT.formatter.
    • New convenient way to specify formatting rules for LUT values, affecting both cursors and legends at once.
  • Added Axis support for negative tick lengths and paddings, and new label alignment option, effectively adding support for inverted axis labels (displayed inside series area rather than outside).

Changed

  • Reworked legends.
    • Focused on a better chart look, easier setup, more built-in options, and plugins for customization.
    • For more information and migration instructions, please read migration guide in developer documentation.
  • Changed DataSetXY and PointLineAreaSeries APIs to allow more functionalities and optimizations.
    • Includes shared timestamps, separate data storage format configurations, and data mapping.
    • Please read migration guide for more detailed information.
  • Changed ChartXY.addLineSeries, addPointSeries, addPointLineSeries, addStepSeries, addSplineSeries, addAreaSeries to return PointLineAreaSeries instead of previous deprecated series.
    • More details can be found in migration guide.
  • Made significant CPU performance optimizations for scrolling or otherwise updating ChartXY applications.
  • Point series now draw borders around points by default.
    • Previous behavior can be restored with PointLineAreaSeries.setPointStrokeStyle(emptyLine).
  • Improved default cursor auto fitting to work better with small charts.
  • Series entries in legends and cursor result tables now include borders.
  • Reworked default cursor point marker styles.
  • Changed default ChartXY axis title position from "center" to "center-chart".
    • This change is only applied for axes that don't have any stacks (several axes adjacent to each other).
  • Improved Funnel and Pyramid chart label positioning.
  • Default cursor formatters no longer display "X" or "Y" in case of axis without titles.
  • Optimized loading speed and memory consumption of majority of 3D series by ~20%.
  • Wrapped Axis.addBand parameter to an object parameter. See migration guide for more details.
  • Wrapped Axis.addConstantLine parameter to an object parameter. See migration guide for more details.
  • Slightly changed default positioning of X axis titles in ChartXY.
    • Changed from "center of axis" to "center of chart" to better align with new legends and chart titles.
    • Previous behavior can be restored with chart.axisX.setTitlePosition('center').
  • Added few new required properties to Theme definition.
  • Tweaked built-in cursor formatting in situations with only 1 series with some data pattern. Previously shown like "series, x, y" now shown with same pattern as when there are several series "x, series: y" to avoid discrepancies between the two common scenarios.

Removed

  • Removed AxisScrollStrategies.regressive, fittingStart, and fittingEnd.
    • See migration guide for more details.
  • Removed Cursor.setAutoFitStrategy, AutoFitStrategy, AutoFitStrategyFactory, and AutoFitStrategies.
    • These APIs were simplified to just a boolean flag "auto fit enabled" on cursors.

修補程式

  • Fixed issue where DataSetXYEventMap events are not firing if subscription is done via PointLineAreaSeries.
  • Fixed issue where scrolling heatmap sometimes throws unhandled errors when using invalidateIntensityValues for time-series scrolling use cases after running for a while.
  • Fixed issue where license error messages sometimes remain even after successful license verification afterwards.
  • Fixed issue where LegendOptions are not working on TextSeries.
  • Fixed issue where FigureSeries changing figure dimensions sometimes changes draw order between figures belonging to the same series.