v2.0.0
[2.0.0] - 2020-09-04
warning
This version is not available under @lightningchart in NPM.
It can only be accessed via legacy @arction organization.
Added
- Add public API to get Highlighters for Axis
- Added onPositionChange event to ChartMarker and SeriesMarker
- Added more mouse and touch events to chart background
- layout() method to PublicEngine interface.
- Add LinearGradientFill and RadialGradientFill fill styles.
- Added Axis setTickStrategy method.
- Added AxisTickStrategies.Empty (replaces Axis.setTickStyle( emptyTick ))
- Added VisibleTicks.setLabelAlignment()
- Chart3D
- Axis3D
- Point3D
- PointSeries3D
- PointCloudSeries3D
- PointStyle3D
- LineSeries3D
- PointLineSeries3D
Changed
- Refactored thick line rendering.
- Improves the visual style of the line when a semi-transparent fill style is used.
- Improves GL memory usage. Same line now takes 40 to 70% less GL memory depending on the line.
- PointSeries now uses faster rendering methods on supported devices.
- Major performance improvement
- Uses less GL memory
- columnSpan and rowSpan Dashboard options are now optional and default to 1.
- Chart options when creating a chart inside dashboard are simplified.
- Options are no longer behind a separate object but are instead given in same object as the dashboard options.
- Reduced zooming animation duration
- Made transparent backgrounds possible.
- LightningChart JS now requires the following WebGL extensions to work properly
- ANGLE_instanced_arrays
- EXT_blend_minmax
- OES_element_index_uint
- OES_standard_derivatives
- OES_vertex_array_object
- WEBGL_lose_context
- If any of these extensions is missing, then a dismissible warning will be shown to notify users of possibly incorrectly working features.
- Changed seriesBackground mouse and touch event naming to chartBackground mouse and touch events.
- e.g. onSeriesBackgroundMouseDown was changed to onChartBackgroundMouseDown
requestAnimationFrameandcancelAnimationFrameare no longer polyfilled automatically.- The methods should be polyfilled if support for environments where the methods don't exist is needed.
- Numeric Axis ticks have been reworked
- DateTime Axis ticks have been reworked
- Mouse and touch events are properly handled to allow normal browser interactions when chart does no action for the event
- Changed ColorHEX factory color syntax to follow CSS color syntax, #RRGGBB[AA]
- Changed default highlight behavior of Series.
- Series is no longer highlighted by default when hovering over it. Use
series.setHighlightOnHover()orchart.setSeriesHighlightOnHover()to highlight on hover.
- Series is no longer highlighted by default when hovering over it. Use
- Improved styles for default themes.
Removed
- AxisTickStrategies.NumericWithUnits
- Passing AxisTickStrategy of default Axes upon creating a ChartXY
- Passing AxisTickStrategy as parameter of ChartXY.addAxisX() or ChartXY.addAxisY()
- Removed APIs that were previously marked deprecated.
Chart.setDataLabelFormaterChart.getDataLabelFormaterChart.setChartBackgroundStrokeChart.getChartBackgroundStrokeSeries.setMaxPointsCountcontainerIdoption
Fixed
- Fix legend box item checkbox looking bad when stroke style is other than 1.
- Fix touch events triggering outside chart area