LightningChart JS v6.0.0
Released: Aug 6, 2024
Updates in v6.0.0
Funktionen
Added
- Added new, refactored
Cursor API.
- Added new functionalities, such as multi-series cursors, 3D cursors and more.
- Please refer to migration guide and docs > Features > Cursors for more information.
- Added new, fully reworked
GaugeChart.
- Improved default look, improved adaptibility to different user interfaces, added built-in value indicators functionality, added built-in Needle functionality, added value based background glows and gauge bar coloring.
- API is completely changed. Please refer to migration guide if you are migrating from old gauge chart API (https://lightningchart.com/js-charts/docs/migration-guides/).
- Added new, simplified
SolveNearest API.
- Refer to migration guide and developer documentation for more details.
- Added
SeriesXY.setClipping.
- Allows reverting back to previous behavior, where series rendering could leak outside its owning axes in stacked axis applications. Defaults to enabled (
true).
- Added
PointShape.HollowCircle.
- Added
Chart3D.setProjection (beta).
- Added event API for tracking user interactions on Axis titles.
Axis.onTitleMouseEnter, ...
- Added
Axis.setTitlePosition.
- Allows changing axis title position between pre-determined key locations.
- Added
x and y options to DataSetXY.alterSamples.
- Slightly more convenient way to alter 1 sample at specific index with specific X and Y values.
DataSetXY and PointLineAreaSeries can now directly consume x and y coordinates from Date objects or valid date-time strings.
- Rather than user having to map them to
Date object and use getTime() method.
- Added
FormattingFunctions.Scientific.
- Formats numbers like '0.00e+3'.
- Added
EmptyTickStrategy.setCursorFormatter.
- Useful in use cases of manual tick placement. Instead of specifying formatting with
CustomTick.setTextFormatter, you can specify a cursor formatter, which is automatically utilized by cursor result tables as well.
- Added
CursorXY.setTickMarkersAllocateAxisSpace.
- Added
CustomTick3D.setBackgroundFillStyle, setBackgroundStrokeStyle, setPadding.
- Added
Chart3D.translateCoordinate capability to translate 3D axis coordinate to client and relative coordinate systems.
Changed
- XY series connected to stacked axes are now clipped so rendering doesn't leak outside the owning axes.
- Previous behavior can be restored per series using
SeriesXY.setClipping method.
- Enhanced the layout of
Pie, Funnel, and Pyramid charts.
- Labels are now hidden for Pie charts with a radius smaller than 50px.
- For Funnel and Pyramid chart labels are hidden when the chart width or height is smaller than 250px.
- Tweaked default area series fill styles to utilize more transparency for a more modern look.
- Improved
DateTime Axis tick strategy zoom range
- Previous min interval ~1 second. Now ~1 millisecond.
- Also improved default formatting at minute/second zoom levels.
- Tweaked darkGold and light themes cursor gridlines to have more contrast.
- LCJS drag events are now stopped whenever any
draggable HTML event is dragged on the web page.
- Change made because of use case where user could not interact with HTML event even when it had pointer event priority.
- Disabled DateTime great ticks ticklines by default.
- Frequently requested by users.
- Inverted sorting order of the TreeMap chart.
Removed
- Removed
DashboardOptions.disableAnimations, DashboardCellOptions.disableAnimations, CommonChartOptions.disableAnimations.
- Use
animationsEnabled instead.
- Removed
Dashboard.pixelScale, Panel.pixelScale.
- Use
coordsRelative instead.
- Removed
HeatmapScrollingGridSeriesOptions.start, step.
- Use
setStart, setStep instead.
- Removed
translatePoint, translatePoint3D.
- Use
chart.translateCoordinate instead.
- Removed
LightningChartOptions.sharedContextOptions.webgl.
- API was never functional.
- Removed
PublicEngine.scale.
- Use
chart.coordsRelative instead.
- Removed
PublicEngine.clientLocation2Engine, engineLocation2Client.
- Use
chart.translateCoordinate instead.
- Removed
Chart3D.axes.
- Removed
Chart3D.world.
- Removed
SurfaceGridSeries3DOptions.start, step, end.
- Use
setStart, setStep, setEnd instead.
- Removed
SurfaceScrollingGridSeries3DOptions.start, step.
- Use
setStart, setStep instead.
- Removed
TickStyleProperties.labelPadding.
- Use
Axis.setMarginAfterTicks instead.
- Removed deprecated signature of
SpiderChart.addSeries which accepted a pointShape parameter.
- Removed
Axis.setTitleMargin, getTitleMargin.
- Use
setMarginAfterTitle instead.
- Removed
HeatmapGridSeriesOptions.start, step, end.
- Use
setStart, setStep, setEnd instead.
Fehlerkorrekturen
- Fixed charts sometimes not adjusting to browser zoom level change before something changes in chart.
- Fixed series sometimes leaking 1 or 2 pixels outside series background in ChartXY.
- Fixed crash with
PointLineAreaSeries automatic max sample count control.
- Fixed
RectangleSeries render errors with high precision axis. Errors happened very inconsistently with very specific rectangle coordinates.
- Fixed text rendering issue sometimes present for 1st frame in apps with relative large number of text objects, where text is rendered as strange symbols.
- Fixed
MapChart coloring regions with no data with first LUT color, instead of using fallback color.
- Fixed crash with
ZoomBandChart inside Dashboard "Cannot compare node with itself".
- Fixed
PointLineAreaSeries Y axis scrolling 1 frame behind.
- Fixed XY heatmap and scrolling heatmap series not accepting
axisX or axisY options.
- Fixed
ZoomBandChart misalignment when connected to multiple stacked axes.
- Fixed custom tick label padding sometimes wrong.
- Fixed
PointLineAreaSeries hiding points when zoomed out even if both stroke + area are disabled.
- Essentially it was not possible to use progressive scatter visualization.
- Fixed
ZoomBandChart not mimicking PointLineAreaSeries point style fully (rotation, shape, size).
- Fixed
PointLineAreaSeries crash when supplied only data points with exact same x.
- Fixed
DataSetXY append methods not working correctly with start and step options.