v3.1.0
[3.1.0] - 2021-07-28
warning
This version is not available under @lightningchart in NPM.
It can only be accessed via legacy @arction organization.
Added
- Added new chart type,
MapChart.MapCharthas multiple views for visualizing data in different regions of world.- Supports real-time data updates with high FPS.
- Added new series type,
PolygonSeries.- This series can be created with
ChartXY.addPolygonSeries. PolygonSeries.addreturns you aPolygonFigureobject which can be used to style the polygon.
- This series can be created with
- Added improved series type
HeatmapGridSeries.- This series can be created with
ChartXY.addHeatmapGridSeries. - Replaces the existing
IntensityGridSeries(ChartXY.addHeatmapSeries) which is now considered deprecated and will be removed in next major release. - This new series type provides considerably better performance compared to the previous version.
- This series can be created with
- Added new series type
HeatmapScrollingGridSeries.- This series can be created with
ChartXY.addHeatmapScrollingGridSeries. - Provides a way to create scrolling heatmap with data cleaning support.
- This series can be created with
- Added new methods to help to make better experience on devices with smaller screens.
UIElement.setAutoDispose,UIElement.getAutoDispose
- Added
High precision XY Axis.- New XY Axis type that allows zooming to smaller axis intervals with drawback of decreased performance. Refer to
AxisOptionsdocumentation for instructions. - This is considered an experimental feature and might be changed in a minor or major release with no backwards compatibility.
- New XY Axis type that allows zooming to smaller axis intervals with drawback of decreased performance. Refer to
- Added
AxisTickStrategies.Time.- New automatic ticks strategy for depicting axis intervals between hundreds of hours and individual nanoseconds.
- Added
TimeFormattingFunctionshelper methods for formatting millisecond time stamps to different time string formats. - Added
LUTparameter toUILUTCheckBox.setLUTStepValueFormattercallback. - Added new options to
LUT,LUT.valueRangeMinandLUT.valueRangeMax. - Added new control for suppressing warnings that are mostly useful when developing,
LightningChartOptions.warnings. - Added
NumericTickStrategy.formattingOffset, works similarly toDateTimeTickStrategy.setDateOrigin. - Ability to rotate all texts.
Chart.setTitleRotationAxis.setTitleRotationVisibleTicks.setLabelRotationResultTable.setTextRotationCustomTick.setTickLabelRotationLegendBox.setTitleRotationUITextBox.setTextRotation
- Added helper method
Chart.zoom. - Added helper method
Chart.pan. - Added missing API
PolarChart.getSeries. - Added missing API
Chart3D.getSeries. - Added ability to control mouse and touch interaction state to 3D Chart.
Chart3D.setMouseInteractionsChart3D.setMouseInteractionZoom,Chart3D.getMouseInteractionZoomChart3D.setMouseInteractionRotate,Chart3D.getMouseInteractionRotate
- Added
LineSeries3D.setStrokeStyle, getStrokeStyle, setStrokeStyleHighlight, getStrokeStyleHighlight.- These replace the similarly named
LineSeries3D.setLineStyle, getLineStyle, setLineStyleHighlight, getLineStyleHighlight.
- These replace the similarly named
- Added
PointLineSeries3D.setStrokeStyle, getStrokeStyle, setStrokeStyleHighlight, getStrokeStyleHighlight- These replace the similarly named
PointLineSeries3D.setLineStyle, getLineStyle, setLineStyleHighlight, getLineStyleHighlight.
- These replace the similarly named
- Added
individualPointColorEnabled,individualPointSizeEnabledandindividualLookupValuesEnabledtoPointSeriesOptions3D. - Added
UIElementBuilders.LUTRange. - Added more control to how 3D series are shaded.
Series3D.setColorShadingStyle,Series3D.getColorShadingStyle
- Added new Shading style
ColorShadingStyles.Simple.- This shading style can make some 3D visualizations look better by removing all shading and using the object colors directly.
- Using this shading style can improve performance on low end devices.
- Added new Shading style
ColorShadingStyles.Phong.- This has been the default shading style for all 3D features since the 3D features were introduced.
- You can now control
ambientColor,ambientReflection,diffuseReflection,specularReflection,specularColorandshininessoptions.
- Added
ChartXY.addOnScreenMenu.OnScreenMenucan be used to create UI controls over the chart.- This is considered an experimental feature and might be changed in a minor or major release with no backwards compatibility.
- Added new theme styling options.
Theme.lineSeries3DStrokeStyleTheme.pointSeries3DPointStyleTheme.pointLineSeries3DStrokeStyleTheme.pointLineSeries3DPointStyleTheme.pointCloudSeries3DPointStyleTheme.polygonSeriesFillStyleTheme.polygonSeriesStrokeStyleTheme.heatmapFillStyleTheme.heatmapWireframeStyleTheme.heatmapGridSeriesFillStyleTheme.heatmapGridSeriesWireframeStyleTheme.rectangleSeriesFillStyleTheme.rectangleSeriesStrokeStyleTheme.polarAreaSeriesFillStyleTheme.polarAreaSeriesStrokeStyleTheme.polarAreaSeriesStrokeStyleTheme.uiPointableTextBoxFillStyleTheme.uiPointableTextBoxTextFillStyleTheme.uiPointableTextBoxStrokeStyleTheme.uiPointableTextBoxFontTheme.uiTickTextFillStyleTheme.uiTickStrokeStyleTheme.uiTickFont
- Added new themes.
Themes.darkGoldThemes.darkGreenThemes.darkLimeThemes.darkMagentaThemes.darkRedThemes.darkTurquoiseThemes.blueSciFiNewThemes.glacierThemes.lightNewThemes.lightNatureThemes.darkNatureThemes.duskInLaplandThemes.auroraBorealisNewThemes.cyberSpace- Themes that end with suffix
Newwill replace similarly named theme with noNewsuffix.
- Most Theme series style properties now support Palette definition optionally as well.
Changed
FormattingFunctions.Numericnow also works for more than 3 decimal parts.PointSeries3Dnow supportsIndividualPointFillstyle andPalettedFillstyle.PointSeries3Dperformance has been greatly improved overall.LineSeries3Dperformance has been greatly improved overall.PointLineSeries3Dperformance has been greatly improved overall.- Removed empty UI backgrounds from all default UI builders. This makes it easier to style UI backgrounds - afterwards, only using
setBackground(bg => bg.setFillStyle(...))will always be enough. - Changed UI default background behavior - now ALL UI elements will always have background styled according to Theme by default. To hide background, use
setBackground(bg => bg.setFillStyle(...)), etc. DateTimeTickStrategydefault cursor formatting now falls back to major ticks formatting if minor ticks are disabled.- Improved LUT precision.
Fixed
- Improved 3D color shading, and fixed some cases with incorrect lighting.
- Fixed some scenarios where GPU memory wasn't freed when it could have been freed.
- WebGL context wasn't marked as 'lost' when chart/dashboard was completely disposed.
- Fixed
GL_INVALID_VALUE : glScissorwarning. - Fixed crash when Pie chart of type
PieChartTypes.LabelsOnSideswas created with only one slice. - Fixed 3D Point Line Series point size not updated to match highlight size when highlighted.
- Fixed 3D Point Line Series point size could be smaller than line thickness, after changing line thickness, resulting in visible gaps in line.
Deprecated
Theme.seriesNonTriangulatedPointStyle3D. UseTheme.pointCloudSeries3DPointStyleinstead.Theme.seriesTriangulatedPointStyle3D. UseTheme.pointSeries3DPointStyleinstead.Theme.customTickMarkerFillStyle. UseTheme.uiPointableTextBoxFillStyleinstead.Theme.customTickMarkerTextFillStyle. Use eithercustomTickMarkerTextFillStyleoruiTickTextFillStyle.Theme.customTickMarkerStrokeStyle. Use eitheruiPointableTextBoxStrokeStyleoruiTickStrokeStyle.Theme.pointMarkerHorizontalGridStrokeStyle. UsecustomTickGridStrokeStyleinstead.Theme.pointMarkerVerticalGridStrokeStyle. UsecustomTickGridStrokeStyleinstead.Theme.axisLabelFillStyle. UsenumericTickStrategyor other tick strategy property instead.Theme.axisLabelFont. UsenumericTickStrategyor other tick strategy property instead.Theme.pointMarkerTextFillStyle. UseuiPointableTextBoxTextFillStyleoruiTickTextFillStyleinstead.Theme.seriesStrokeStyle3D. UseTheme.lineSeries3DStrokeStyleinstead.Theme.seriesNonTriangulatedPointStyle3D. UseTheme.pointCloudSeries3DPointStyleinstead.Theme.seriesTriangulatedPointStyle3D. UseTheme.pointSeries3DPointStyleinstead.LineSeries3D.setLineStyle. UsesetStrokeStyleinstead.LineSeries3D.getLineStyle. UsegetStrokeStyleinstead.LineSeries3D.setLineStyleHighlight. UsesetStrokeStyleHighlightinstead.LineSeries3D.getLineStyleHighlight. UsegetStrokeStyleHighlightinstead.PointLineSeries3D.setLineStyle. UsesetStrokeStyleinstead.PointLineSeries3D.getLineStyle. UsegetStrokeStyleinstead.PointLineSeries3D.setLineStyleHighlight. UsesetStrokeStyleHighlightinstead.PointLineSeries3D.getLineStyleHighlight. UsegetStrokeStyleHighlightinstead.ChartXY.disableAnimations()useChartXY.setAnimationsEnabled(false)instead.Axis.disableAnimations()useAxis.setAnimationsEnabled(false)instead.Dashboard.disableAnimations()useDashboard.setAnimationsEnabled(false)instead.Spider.disableAnimations()useSpider.setAnimationsEnabled(false)instead.Polar.disableAnimations()usePolar.setAnimationsEnabled(false)instead.Pie.disableAnimations()usePie.setAnimationsEnabled(false)instead.Gauge.disableAnimations()useGauge.setAnimationsEnabled(false)instead.Funnel.disableAnimations()useFunnel.setAnimationsEnabled(false)instead.Pyramid.disableAnimations()usePyramid.setAnimationsEnabled(false)instead.Map.disableAnimations()useMap.setAnimationsEnabled(false)instead.Chart3D.disableAnimations()useChart3D.setAnimationsEnabled(false)instead.Series.setMaxPointCount()useSeries.setDataCleaning()instead.Series.setDataCleaningThreshold()useSeries.setDataCleaning()instead.