LightningChart JS v7.1.0
Released: May 7, 2025
Updates in v7.1.0
Funktionen
- Nanosecond-precision timestamps: Enhanced Date-Time axis now supports nanoseconds, allowing users to zoom into micro and nanosecond levels for detailed analysis, beyond millisecond limits.
- HTML Text Rendering: HTML text rendering option enhances text sharpness and supports advanced formats like LaTeX and multi-line text, as an alternative to the default WebGL rendering.
- Introduced scaleTheme API: Allows for symmetrical scaling of all visual elements within a chart, including font sizes, paddings, tick lengths, and button sizes.
- Added new fitting modes for axes, including Top (Default), Center and Bottom.
- Added new utility function that simplifies retrieving the data extents associated with any specific axis. This provides a convenient way to programmatically determine the minimum and maximum values of the data currently linked to an axis.
- Added new chart examples: JavaScript Synced Cursors Chart and JavaScript Nanosecond Timestamp Chart.
- Added
scaleThemeFontSize:
- Convenience function to up or downscale font sizes as well as tick lengths, element paddings etc. to make font sizes sit in nicely.
- Added
Axis.getSeriesDataRange:
- Quality of life method to get data extents of all series attached to an Axis.
- Added new capabilities to
AxisScrollStrategies:
- For
fitting, expansion and fittingStepped you can now specify whether it should affect axis start and/or end. By default affects both sides.
- Added
scrolling. This is the replacement to now deprecated progressive and regressive. It also has a new feature for real-time scrolling: a new scrolling mode for axes, specifically optimized for batched data updates (where data arrives infrequently e.g. every 1s).
- Introduced HTML text rendering option (beta):
- Can be enabled for sharper text display where required with drawback of weaker performance.
- For more information refer to HTML text rendering section in developer documentation.
- Added
singleClick option to setUserInteractions restoreDefault and restorePrevious interactions:
- Allows firing the interactions on single click (lmb/rmb/mmb).
- Added
Axis.setScrollMargins method for controlling automatic spacing between axis edges and series.
- Added
ZoomBandChart.setStopAxisOnInteraction.
- Added some missing APIs to
ZoomBandChart: getLayout, chart, and some events to addEventListener.
- Added optional
skipIntervalRestrictions parameter to Axis.setDefaultInterval:
- Situationally useful as previously setting axis default interval always ignored any interval restrictions.
- Improved zoom capabilities of
AxisTickStrategies.DateTime:
- Now allows zooming up to individual nanoseconds.
- Nanosecond timestamps must be loaded to charts as Float64 after shifting to start from 0 and converting to milliseconds.
- Improved radial gradient quality.
- Domain locked license keys now allow running charts inside same origin iframes.
- LightningChart JS now adds
overflow: hidden to its container DIV style always.
ChartXY default cursor formatter now displays axis titles (if any) instead of "X" or "Y".
- Deprecated
AxisScrollStrategy, AxisScrollStrategies.progressive, AxisScrollStrategies.regressive, AxisScrollStrategies.fittingStart, and AxisScrollStrategies.fittingEnd:
AxisScrollStrategy to AxisScrollStrategyNew.
AxisScrollStrategies.progressive to AxisScrollStrategies.scrolling.
AxisScrollStrategies.regressive to AxisScrollStrategies.scrolling({ progressive: false }).
AxisScrollStrategies.fittingStart to AxisScrollStrategies.fitting({ end: false }).
AxisScrollStrategies.fittingEnd to AxisScrollStrategies.fitting({ start: false }).
- Deprecated
Axis.setAutoRegionsEnabled in favour of Axis.setScrollMargins.
Fehlerkorrekturen
- Fixed cursor performance degradation (CPU use is increased after cursor is shown with a lot of content, even if cursor is hidden afterwards).
- Fixed
Axis.setTitleRotation sometimes not updating title display.
- Fixed
PointLineAreaSeries render error when zoomed out and coordinates are larger than 10^16.
- Fixed
ZoomBandChart not automatically adjusting if connected to an inverted axis.
- Fixed
PyramidChart, PieChart, FunnelChart not being able to display negative values.
- Fixed some small effect rendering errors:
- Glows becoming "dashed" in
Chart3D bounding box borders sometimes.
- Glows cutting off slightly before
ChartXY series area edges.
ChartXY series background border drawn above glow effects.