Skip to main content
Version: 5.2.0

v3.0.0

[3.0.0] - 2021-05-05

Added

  • PolarChart
  • PolarAxisAmplitude
  • PolarAxisRadial
  • PolarPoint
  • PolarPointSeries
  • PolarLineSeries
  • PolarPointLineSeries
  • PolarAreaSeries
  • PolarPolygonSeries
  • PolarSector
  • Logarithmic axis support for XY charts
  • BoxSeries3D now supports PalettedFill by x, y or z
  • LineSeries.setDataCleaningThreshold, getDataCleaningThreshold
  • LineSeries.setCursorSolveBasis, getCursorSolveBasis
  • PointLineSeries.setCursorSolveBasis, getCursorSolveBasis
  • SplineSeries.setCursorSolveBasis, getCursorSolveBasis
  • StepSeries.setCursorSolveBasis, getCursorSolveBasis
  • UILUTCheckBox
  • API for Axis mouse and touch events
  • UITick
  • UITickBuilder
  • UIElementBuilders.AxisTick
  • Configuration options for changing mouse interactions to different mouse buttons
  • UILegendBoxPanel.setLegendBoxes
  • NumericTickStrategy.setExtremeFormattingFunction
  • NumericTickStrategy.setMajorFormattingFunction
  • NumericTickStrategy.setMinorFormattingFunction
  • API for subscribing to mouse and touch events on chart background
  • Dependency to earcut (https://github.com/mapbox/earcut). Used for Polygon triangulation.

Changed

  • Attaching a series with color lookup table (LUT) now automatically visualizes the color steps with a LUTUICheckBox component.
  • LegendBox title is no longer automatically set to match chart title. Title can be set with new method LegendBox.setTitle.
  • Tweaked LegendBox default style to look a bit nicer.
  • LegendBox.add API has changed. Refer to migration guide for details.
  • LegendBoxEntry is now styled accordingly with series PalettedFill.
  • Nib mouse wheel behavior is now more intuitive
  • Default style of XY Markers was changed to same as AutoCursor
  • Renamed CustomTick.setTopPadding -> setTickLabelPadding
  • Renamed PointableTextBox -> UIPointableTextBox
  • Major improvements to text rendering performance
  • Changed default CheckBox button picture to UIButtonPictures.Circle
  • Renamed ResultTable.setFont to setTextFont
  • Renamed UITextBox.setFont to setTextFont
  • Renamed UICheckBox.setFont to setTextFont
  • Renamed LegendBoxEntry.setFont to setTextFont
  • Theme.chartBackgroundFillStyle renamed to seriesBackgroundFillStyle
  • Theme.chartBackgroundStrokeStyle renamed to seriesBackgroundStrokeStyle
  • on/offChartBackground... event methods were renamed to on/offSeriesBackground...
  • setChartBackgroundFillStyle methods renamed to setSeriesBackgroundFillStyle
  • getChartBackgroundFillStyle methods renamed to getSeriesBackgroundFillStyle
  • setChartBackgroundStrokeStyle methods renamed to setSeriesBackgroundStrokeStyle
  • getChartBackgroundStrokeStyle methods renamed to getSeriesBackgroundStrokeStyle
  • Changed default CheckBox button picture to UIButtonPictures.Circle
  • UILegendBoxPanel.add no longer accepts series, or other attachables. Only chart or dashboard can be supplied.
  • Default LegendBox alignment changed from horizontal to vertical.
  • Improved default LegendBox positioning.
  • Changed default cursor solve basis of all line series' to 'nearest-x'. This can be changed with new method: setCursorSolveBasis
  • Improved Line Series rendering algorithms for progressive and real-time rendering, to perform much faster and look better.
  • Heavily optimized progressive Line Series with user zooming in/out and automatic scrolling
  • Significantly improved Line Series memory usage in scrolling applications with data cleaning enabled
  • AreaSeries and AreaRangeSeries cursor now behaves as expected, by picking closest data point along X dimension. Cursor now also performs better.
  • All dataPattern options have been changed. Instead of selecting an option from DataPatterns export, use object format instead, for example { pattern: 'ProgressiveX' }. See documentation/migration guide for details.
  • onPanelBackground... -methods were renamed to onBackground...
  • Renamed setResultTableFormatter, and getResultTableFormatter methods to setCursorResultTableFormatter, and getCursorResultTableFormatter respectively.
  • Improved API documentation

Removed

  • DefaultLibraryStyle - Use Themes.dark or any other Theme instead.
  • UILegendBoxPanel title API (setTitle, getTitle, setTitleFillStyle, getTitleFillStyle, setTitleFont, getTitleFont).
  • UILegendBoxPanel.setEntries, use UILegendBoxPanel.setLegendBoxes for same functionality.
  • Boolean parameter to ChartXY.addAxisX and addAxisY. Replaced with object syntax
  • NumericAxisTickStrategy.setFormattingFunction. Replaced with individual setters for each tick level.
  • CustomTick.setPaddingBottom (can be accessed via TickMarker background)
  • CustomTick.setSidePaddings (can be accessed via TickMarker background)
  • CursorBuilderXY.setTickMarkerXBackground
  • CursorBuilderXY.setTickMarkerYBackground
  • PointSeriesOptions3D.pointShape, use PointSeries3D.setPointStyle instead.
  • PointLineSeriesOptions3D.pointShape, use PointLineSeries3D.setPointStyle instead.
  • Theme.numericTickStrategy3D use Theme.numericTickStrategy instead.
  • Theme.dateTimeTickStrategy3D use Theme.dateTimeTickStrategy instead.
  • DataPatterns. Use object format instead, for example { pattern: 'ProgressiveX' }. See documentation/migration guide for details.

Fixed

  • Fixed ticks overlapping other ticks in some cases
  • Fixed LUT unexpected color step behavior when interpolation is disabled
  • Fixed Axis.fit() when Series points are in a straight line
  • Fixed progressive Axis scrolling sometimes getting ahead of series
  • Fixed scenario where chart rendered with 1px x 1px canvas
  • Fixed Constant line and Band touch events not working inside dashboard.
  • Fixed mouse leave event not fired correctly in all cases
  • Fixed missing configuration for 3D chart creation inside dashboard, theme and disableAnimations can now be properly set
  • Fixed improper dispose behavior of ChartXY
  • IntensitySeries now supports highlighting when styled with SolidFill
  • IntensitySeries style is now properly matched in LegendBox
  • SurfaceSeries3D style is now properly matched in LegendBox
  • SurfaceSeries3D is now properly highlighted when hovering over respective LegendBoxEntry
  • Fixed some cases where series boundaries were one frame behind actual boundaries
  • Resolved some Z-fighting issues with SurfaceSeries3D wireframe and surface.
  • Fixed SurfaceSeries3D and HeatmapMeshSeries not accounting boundaries of first and last column & row.
  • Fixed axis nib mouse wheel scroll event wasn't properly stopped when interaction happened.
  • Fixed IntensitySeries not updating when using addColumn to add only values
  • Fixed type issues when using strict type checking mode with TypeScript
  • Fixed linear gradient interpolation being incorrect when devicePixelRatio wasn't exactly 1.
  • Fixed NumericTickStrategy formatting in very low value range (1e-6 and below)