v6.0.0
[6.0.0] - 2024-08-06
Original release news here
Added
- Added new, refactored
CursorAPI- 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
SolveNearestAPI- 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)
- Allows reverting back to previous behavior, where series rendering could leak outside its owning axes in stacked axis applications. Defaults to enabled (
- 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
xandyoptions toDataSetXY.alterSamples- Slightly more convenient way to alter 1 sample at specific index with specific X and Y values.
DataSetXYandPointLineAreaSeriescan now directly consumexandycoordinates fromDateobjects or valid date-time strings.- Rather than user having to map them to
Dateobject and usegetTime()method.
- Rather than user having to map them to
- 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.
- Useful in use cases of manual tick placement. Instead of specifying formatting with
- Added
CursorXY.setTickMarkersAllocateAxisSpace - Added
CustomTick3D.setBackgroundFillStyle,setBackgroundStrokeStyle,setPadding - Added
Chart3D.translateCoordinatecapability 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.setClippingmethod
- Previous behavior can be restored per series using
- Enhanced the layout of
Pie,Funnel, andPyramidcharts.- 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
DateTimeAxis 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
draggableHTML 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
animationsEnabledinstead
- Use
- Removed
Dashboard.pixelScale,Panel.pixelScale- Use
coordsRelativeinstead
- Use
- Removed
HeatmapScrollingGridSeriesOptions.start,step- Use
setStart,setStepinstead
- Use
- Removed
translatePoint,translatePoint3D- Use
chart.translateCoordinateinstead
- Use
- Removed
LightningChartOptions.sharedContextOptions.webgl- API was never functional
- Removed
PublicEngine.scale- Use
chart.coordsRelativeinstead
- Use
- Removed
PublicEngine.clientLocation2Engine,engineLocation2Client- Use
chart.translateCoordinateinstead
- Use
- Removed
Chart3D.axes- Use
coordAxisinstead
- Use
- Removed
Chart3D.world- Use
coordsWorldinstead
- Use
- Removed
SurfaceGridSeries3DOptions.start,step,end- Use
setStart,setStep,setEndinstead
- Use
- Removed
SurfaceScrollingGridSeries3DOptions.start,step- Use
setStart,setStepinstead
- Use
- Removed
TickStyleProperties.labelPadding- Use
Axis.setMarginAfterTicksinstead
- Use
- Removed deprecated signature of
SpiderChart.addSerieswhich accepted apointShapeparameter - Removed
Axis.setTitleMargin,getTitleMargin- Use
setMarginAfterTitleinstead
- Use
- Removed
HeatmapGridSeriesOptions.start,step,end- Use
setStart,setStep,setEndinstead
- Use
Fixed
- 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
PointLineAreaSeriesautomatic max sample count control. - Fixed
RectangleSeriesrender 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
MapChartcoloring regions with no data with first LUT color, instead of using fallback color. - Fixed crash with
ZoomBandChartinsideDashboard"Cannot compare node with itself" - Fixed
PointLineAreaSeriesY axis scrolling 1 frame behind. - Fixed XY heatmap and scrolling heatmap series not accepting
axisXoraxisYoptions - Fixed
ZoomBandChartmisalignment when connected to multiple stacked axes - Fixed custom tick label padding sometimes wrong.
- Fixed
PointLineAreaSerieshiding points when zoomed out even if both stroke + area are disabled.- Essentially it was not possible to use progressive scatter visualization
- Fixed
ZoomBandChartnot mimickingPointLineAreaSeriespoint style fully (rotation, shape, size) - Fixed
PointLineAreaSeriescrash when supplied only data points with exact samex - Fixed
DataSetXYappend methods not working correctly withstartandstepoptions