scichart 2.2.2416 → 3.0.0-beta.224
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Builder/buildDataSeries.d.ts +16 -1
- package/Builder/buildDataSeries.js +24 -1
- package/Builder/buildSeries.d.ts +60 -3
- package/Builder/buildSeries.js +28 -1
- package/Builder/buildSurface.d.ts +28 -2
- package/Builder/buildSurface.js +53 -31
- package/Builder/chartBuilder.d.ts +20 -7
- package/Builder/chartBuilder.js +37 -3
- package/Charting/ChartModifiers/ChartModifierBase.d.ts +21 -0
- package/Charting/ChartModifiers/ChartModifierBase.js +12 -0
- package/Charting/ChartModifiers/ChartModifierBase2D.js +2 -1
- package/Charting/ChartModifiers/CursorModifier.d.ts +83 -10
- package/Charting/ChartModifiers/CursorModifier.js +147 -58
- package/Charting/ChartModifiers/DataPointSelectionModifier.js +2 -1
- package/Charting/ChartModifiers/LegendModifier.js +2 -1
- package/Charting/ChartModifiers/ModifierMouseArgs.d.ts +6 -1
- package/Charting/ChartModifiers/ModifierMouseArgs.js +13 -3
- package/Charting/ChartModifiers/MouseWheelZoomModifier.d.ts +2 -2
- package/Charting/ChartModifiers/MouseWheelZoomModifier.js +16 -4
- package/Charting/ChartModifiers/OverviewRangeSelectionModifier.d.ts +2 -1
- package/Charting/ChartModifiers/OverviewRangeSelectionModifier.js +8 -4
- package/Charting/ChartModifiers/PinchZoomModifier.js +2 -1
- package/Charting/ChartModifiers/RolloverModifier.d.ts +40 -0
- package/Charting/ChartModifiers/RolloverModifier.js +40 -3
- package/Charting/ChartModifiers/RubberBandXyZoomModifier.js +2 -1
- package/Charting/ChartModifiers/SeriesSelectionModifier.js +2 -1
- package/Charting/ChartModifiers/XAxisDragModifier.d.ts +1 -1
- package/Charting/ChartModifiers/XAxisDragModifier.js +2 -1
- package/Charting/ChartModifiers/YAxisDragModifier.d.ts +1 -1
- package/Charting/ChartModifiers/YAxisDragModifier.js +2 -1
- package/Charting/ChartModifiers/ZoomExtentsModifier.js +2 -1
- package/Charting/ChartModifiers/ZoomPanModifier.js +2 -1
- package/Charting/ChartModifiers/constants.d.ts +3 -1
- package/Charting/ChartModifiers/constants.js +2 -0
- package/Charting/Drawing/BatchRenderContext.d.ts +6 -0
- package/Charting/Drawing/BatchRenderContext.js +40 -0
- package/Charting/Drawing/RenderSurface.d.ts +2 -1
- package/Charting/Drawing/RenderSurface.js +3 -2
- package/Charting/Drawing/WebGlRenderContext2D.d.ts +19 -4
- package/Charting/Drawing/WebGlRenderContext2D.js +70 -41
- package/Charting/LayoutManager/BaseCenteredAxisLayoutStrategy.js +2 -1
- package/Charting/LayoutManager/BottomAlignedInnerAxisLayoutStrategy.js +1 -1
- package/Charting/LayoutManager/CentralAxesLayoutManager.js +2 -1
- package/Charting/LayoutManager/LayoutManager.d.ts +2 -1
- package/Charting/LayoutManager/LayoutManager.js +6 -5
- package/Charting/LayoutManager/LeftAlignedInnerAxisLayoutStrategy.js +1 -1
- package/Charting/LayoutManager/RightAlignedInnerAxisLayoutStrategy.js +1 -1
- package/Charting/LayoutManager/TopAlignedInnerAxisLayoutStrategy.js +1 -1
- package/Charting/Model/BaseDataSeries.d.ts +10 -1
- package/Charting/Model/BaseDataSeries.js +9 -8
- package/Charting/Model/BaseHeatmapDataSeries.d.ts +18 -5
- package/Charting/Model/BaseHeatmapDataSeries.js +21 -13
- package/Charting/Model/ChartData/SeriesInfo.d.ts +6 -0
- package/Charting/Model/ChartData/SeriesInfo.js +5 -0
- package/Charting/Model/ChartData/XyySeriesInfo.d.ts +2 -0
- package/Charting/Model/ChartData/XyySeriesInfo.js +2 -0
- package/Charting/Model/DataDistributionCalculator/DataDistributionCalculator.js +4 -3
- package/Charting/Model/Filters/HlcCustomFilter.js +12 -9
- package/Charting/Model/Filters/HlcFilterBase.js +2 -1
- package/Charting/Model/Filters/HlcScaleOffsetFilter.js +2 -1
- package/Charting/Model/Filters/OhlcCustomFilter.js +12 -9
- package/Charting/Model/Filters/OhlcScaleOffsetFilter.js +2 -1
- package/Charting/Model/Filters/XyCustomFilter.js +12 -9
- package/Charting/Model/Filters/XyFilterBase.d.ts +14 -5
- package/Charting/Model/Filters/XyFilterBase.js +47 -15
- package/Charting/Model/Filters/XyMovingAverageFilter.js +2 -1
- package/Charting/Model/Filters/XyRatioFilter.js +2 -1
- package/Charting/Model/Filters/XyScaleOffsetFilter.js +2 -1
- package/Charting/Model/Filters/XyyCustomFilter.js +12 -9
- package/Charting/Model/Filters/XyyFilterBase.js +2 -1
- package/Charting/Model/Filters/XyyScaleOffsetFilter.js +2 -1
- package/Charting/Model/Filters/XyzCustomFilter.js +12 -9
- package/Charting/Model/Filters/XyzFilterBase.js +2 -1
- package/Charting/Model/Filters/XyzScaleOffsetFilter.js +2 -1
- package/Charting/Model/IDataSeries.d.ts +9 -1
- package/Charting/Model/IDataSeries.js +8 -0
- package/Charting/Model/NonUniformHeatmapDataSeries.d.ts +112 -0
- package/Charting/Model/NonUniformHeatmapDataSeries.js +261 -0
- package/Charting/Model/PaletteFactory.d.ts +40 -4
- package/Charting/Model/PaletteFactory.js +37 -11
- package/Charting/Model/XyTextDataSeries.d.ts +121 -0
- package/Charting/Model/XyTextDataSeries.js +274 -0
- package/Charting/Numerics/CoordinateCalculators/CoordinateCalculatorBase.d.ts +1 -1
- package/Charting/Numerics/Resamplers/ExtremeResamplerHelper.js +1 -1
- package/Charting/Services/RenderPassData.d.ts +15 -5
- package/Charting/Services/RenderPassData.js +27 -5
- package/Charting/Services/SciChartRenderer.d.ts +2 -1
- package/Charting/Services/SciChartRenderer.js +92 -29
- package/Charting/Themes/IThemeProvider.d.ts +61 -0
- package/Charting/Themes/IThemeProvider.js +67 -1
- package/Charting/Themes/SciChartJSDarkTheme.d.ts +4 -0
- package/Charting/Themes/SciChartJSDarkTheme.js +6 -2
- package/Charting/Themes/SciChartJSDarkv2Theme.js +3 -0
- package/Charting/Themes/SciChartJSLightTheme.d.ts +8 -0
- package/Charting/Themes/SciChartJSLightTheme.js +8 -0
- package/Charting/Themes/SciChartJsNavyTheme.d.ts +10 -0
- package/Charting/Themes/SciChartJsNavyTheme.js +49 -0
- package/Charting/Visuals/Annotations/AdornerLayer.js +4 -8
- package/Charting/Visuals/Annotations/AnnotationBase.d.ts +80 -7
- package/Charting/Visuals/Annotations/AnnotationBase.js +238 -28
- package/Charting/Visuals/Annotations/AnnotationClickEventArgs.d.ts +11 -0
- package/Charting/Visuals/Annotations/AnnotationClickEventArgs.js +12 -0
- package/Charting/Visuals/Annotations/AxisMarkerAnnotation.d.ts +1 -0
- package/Charting/Visuals/Annotations/AxisMarkerAnnotation.js +18 -19
- package/Charting/Visuals/Annotations/BoxAnnotation.d.ts +1 -0
- package/Charting/Visuals/Annotations/BoxAnnotation.js +69 -67
- package/Charting/Visuals/Annotations/CursorTooltipSvgAnnotation.d.ts +2 -2
- package/Charting/Visuals/Annotations/CursorTooltipSvgAnnotation.js +20 -20
- package/Charting/Visuals/Annotations/CustomAnnotation.d.ts +1 -1
- package/Charting/Visuals/Annotations/CustomAnnotation.js +3 -2
- package/Charting/Visuals/Annotations/HorizontalLineAnnotation.js +6 -3
- package/Charting/Visuals/Annotations/IAdornerProvider.d.ts +12 -0
- package/Charting/Visuals/Annotations/IAnnotation.d.ts +9 -0
- package/Charting/Visuals/Annotations/IAnnotation.js +9 -0
- package/Charting/Visuals/Annotations/LineAnnotation.d.ts +1 -0
- package/Charting/Visuals/Annotations/LineAnnotation.js +29 -35
- package/Charting/Visuals/Annotations/NativeTextAnnotation.d.ts +193 -0
- package/Charting/Visuals/Annotations/NativeTextAnnotation.js +536 -0
- package/Charting/Visuals/Annotations/OverviewCustomResizableAnnotation.d.ts +4 -2
- package/Charting/Visuals/Annotations/OverviewCustomResizableAnnotation.js +19 -14
- package/Charting/Visuals/Annotations/RolloverLegendSvgAnnotation.d.ts +2 -2
- package/Charting/Visuals/Annotations/RolloverLegendSvgAnnotation.js +9 -8
- package/Charting/Visuals/Annotations/RolloverMarkerSvgAnnotation.d.ts +2 -2
- package/Charting/Visuals/Annotations/RolloverMarkerSvgAnnotation.js +6 -6
- package/Charting/Visuals/Annotations/RolloverTooltipSvgAnnotation.d.ts +2 -2
- package/Charting/Visuals/Annotations/RolloverTooltipSvgAnnotation.js +16 -17
- package/Charting/Visuals/Annotations/SvgAnnotationBase.d.ts +13 -2
- package/Charting/Visuals/Annotations/SvgAnnotationBase.js +34 -42
- package/Charting/Visuals/Annotations/TextAnnotation.d.ts +2 -2
- package/Charting/Visuals/Annotations/TextAnnotation.js +41 -22
- package/Charting/Visuals/Annotations/VerticalLineAnnotation.js +6 -3
- package/Charting/Visuals/Annotations/annotationHelpers.d.ts +6 -6
- package/Charting/Visuals/Annotations/annotationHelpers.js +7 -6
- package/Charting/Visuals/Annotations/constants.d.ts +13 -1
- package/Charting/Visuals/Annotations/constants.js +12 -0
- package/Charting/Visuals/Axis/AxisBase2D.d.ts +24 -4
- package/Charting/Visuals/Axis/AxisBase2D.js +115 -38
- package/Charting/Visuals/Axis/AxisCore.d.ts +10 -5
- package/Charting/Visuals/Axis/AxisCore.js +11 -10
- package/Charting/Visuals/Axis/AxisRenderer.js +114 -20
- package/Charting/Visuals/Axis/CategoryAxis.js +2 -1
- package/Charting/Visuals/Axis/CategoryAxisBase.d.ts +15 -15
- package/Charting/Visuals/Axis/CategoryAxisBase.js +14 -12
- package/Charting/Visuals/Axis/DateTimeNumericAxis.js +2 -1
- package/Charting/Visuals/Axis/DeltaCalculator/DateTimeDeltaCalculator.js +2 -1
- package/Charting/Visuals/Axis/LabelProvider/DateLabelProvider.js +2 -1
- package/Charting/Visuals/Axis/LabelProvider/LabelCache.js +2 -0
- package/Charting/Visuals/Axis/LabelProvider/LabelProviderBase2D.d.ts +14 -0
- package/Charting/Visuals/Axis/LabelProvider/LabelProviderBase2D.js +140 -33
- package/Charting/Visuals/Axis/LabelProvider/LogarithmicLabelProvider.js +2 -1
- package/Charting/Visuals/Axis/LabelProvider/NumericLabelProvider.js +2 -1
- package/Charting/Visuals/Axis/LabelProvider/PieLabelProvider.js +2 -1
- package/Charting/Visuals/Axis/LabelProvider/SmartDateLabelProvider.d.ts +31 -1
- package/Charting/Visuals/Axis/LabelProvider/SmartDateLabelProvider.js +64 -42
- package/Charting/Visuals/Axis/LabelProvider/TextLabelProvider.d.ts +2 -2
- package/Charting/Visuals/Axis/LabelProvider/TextLabelProvider.js +16 -19
- package/Charting/Visuals/Axis/LogarithmicAxis.js +9 -6
- package/Charting/Visuals/Axis/NumericAxis.js +3 -3
- package/Charting/Visuals/Axis/constants.d.ts +1 -0
- package/Charting/Visuals/Axis/constants.js +1 -0
- package/Charting/Visuals/HeatmapLegend.d.ts +95 -0
- package/Charting/Visuals/HeatmapLegend.js +192 -0
- package/Charting/Visuals/Helpers/NativeObject.d.ts +15 -2
- package/Charting/Visuals/Helpers/NativeObject.js +72 -6
- package/Charting/Visuals/I2DSurfaceOptions.d.ts +46 -0
- package/Charting/Visuals/PointMarkers/BasePointMarker.d.ts +5 -0
- package/Charting/Visuals/PointMarkers/BasePointMarker.js +28 -0
- package/Charting/Visuals/PointMarkers/IPointMarker.d.ts +8 -0
- package/Charting/Visuals/RenderableSeries/Animations/BandAnimation.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/BandAnimationStyle.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/BubbleAnimation.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/CandlestickAnimation.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/CandlestickAnimationStyle.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/ColumnAnimation.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/ColumnAnimationStyle.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/CustomPointMarkerStyle.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/FadeAnimation.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/LineAnimation.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/MountainAnimation.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/MountainAnimationStyle.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/OhlcAnimation.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/OhlcAnimationStyle.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/PointMarkerStyle.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/ScaleAnimation.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/ScatterAnimation.js +2 -1
- package/Charting/Visuals/RenderableSeries/Animations/SeriesAnimation.d.ts +8 -2
- package/Charting/Visuals/RenderableSeries/Animations/SeriesAnimation.js +3 -3
- package/Charting/Visuals/RenderableSeries/Animations/WaveAnimation.js +2 -1
- package/Charting/Visuals/RenderableSeries/BaseBandRenderableSeries.d.ts +7 -0
- package/Charting/Visuals/RenderableSeries/BaseBandRenderableSeries.js +42 -10
- package/Charting/Visuals/RenderableSeries/BaseHeatmapRenderableSeries.d.ts +128 -0
- package/Charting/Visuals/RenderableSeries/BaseHeatmapRenderableSeries.js +201 -0
- package/Charting/Visuals/RenderableSeries/BaseLineRenderableSeries.d.ts +26 -0
- package/Charting/Visuals/RenderableSeries/BaseLineRenderableSeries.js +39 -3
- package/Charting/Visuals/RenderableSeries/BaseMountainRenderableSeries.d.ts +7 -0
- package/Charting/Visuals/RenderableSeries/BaseMountainRenderableSeries.js +17 -2
- package/Charting/Visuals/RenderableSeries/BaseOhlcRenderableSeries.d.ts +2 -0
- package/Charting/Visuals/RenderableSeries/BaseOhlcRenderableSeries.js +15 -2
- package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.d.ts +10 -0
- package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.js +93 -17
- package/Charting/Visuals/RenderableSeries/BaseStackedCollection.d.ts +8 -1
- package/Charting/Visuals/RenderableSeries/BaseStackedCollection.js +21 -1
- package/Charting/Visuals/RenderableSeries/BaseStackedRenderableSeries.d.ts +1 -0
- package/Charting/Visuals/RenderableSeries/BaseStackedRenderableSeries.js +4 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/BandSeriesDataLabelProvider.d.ts +43 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/BandSeriesDataLabelProvider.js +142 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/BaseDataLabelProvider.d.ts +92 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/BaseDataLabelProvider.js +129 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/BubbleSeriesDataLabelProvider.d.ts +17 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/BubbleSeriesDataLabelProvider.js +62 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/ColumnSeriesDataLabelProvider.d.ts +47 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/ColumnSeriesDataLabelProvider.js +125 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/ContoursDataLabelProvider.d.ts +71 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/ContoursDataLabelProvider.js +221 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelLayoutManager.d.ts +5 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelLayoutManager.js +2 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelProvider.d.ts +208 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelProvider.js +410 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelState.d.ts +40 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelState.js +141 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/HeatMapDataLabelProvider.d.ts +63 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/HeatMapDataLabelProvider.js +198 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/LineSeriesDataLabelProvider.d.ts +35 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/LineSeriesDataLabelProvider.js +92 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/NonUniformHeatmapDataLabelProvider.d.ts +12 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/NonUniformHeatmapDataLabelProvider.js +134 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/TextDataLabelProvider.d.ts +56 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/TextDataLabelProvider.js +167 -0
- package/Charting/Visuals/RenderableSeries/DrawingProviders/BandSeriesDrawingProvider.d.ts +0 -1
- package/Charting/Visuals/RenderableSeries/DrawingProviders/BandSeriesDrawingProvider.js +1 -2
- package/Charting/Visuals/RenderableSeries/DrawingProviders/BaseSeriesDrawingProvider.d.ts +5 -2
- package/Charting/Visuals/RenderableSeries/DrawingProviders/BaseSeriesDrawingProvider.js +47 -40
- package/Charting/Visuals/RenderableSeries/DrawingProviders/BubbleSeriesDrawingProvider.js +1 -1
- package/Charting/Visuals/RenderableSeries/DrawingProviders/ColumnSeriesDrawingProvider.d.ts +1 -0
- package/Charting/Visuals/RenderableSeries/DrawingProviders/ColumnSeriesDrawingProvider.js +18 -5
- package/Charting/Visuals/RenderableSeries/DrawingProviders/ErrorSeriesDrawingProvider.d.ts +0 -1
- package/Charting/Visuals/RenderableSeries/DrawingProviders/ErrorSeriesDrawingProvider.js +14 -27
- package/Charting/Visuals/RenderableSeries/DrawingProviders/LineSeriesDrawingProvider.d.ts +17 -4
- package/Charting/Visuals/RenderableSeries/DrawingProviders/LineSeriesDrawingProvider.js +34 -11
- package/Charting/Visuals/RenderableSeries/DrawingProviders/NonUniformHeatmapDrawingProvider.d.ts +36 -0
- package/Charting/Visuals/RenderableSeries/DrawingProviders/NonUniformHeatmapDrawingProvider.js +493 -0
- package/Charting/Visuals/RenderableSeries/DrawingProviders/PointMarkerDrawingProvider.d.ts +5 -2
- package/Charting/Visuals/RenderableSeries/DrawingProviders/PointMarkerDrawingProvider.js +8 -5
- package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformContoursDrawingProvider.js +4 -4
- package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformHeatmapDrawingProvider.d.ts +3 -0
- package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformHeatmapDrawingProvider.js +15 -4
- package/Charting/Visuals/RenderableSeries/FastBandRenderableSeries.js +2 -1
- package/Charting/Visuals/RenderableSeries/FastBubbleRenderableSeries.d.ts +21 -0
- package/Charting/Visuals/RenderableSeries/FastBubbleRenderableSeries.js +40 -4
- package/Charting/Visuals/RenderableSeries/FastCandlestickRenderableSeries.d.ts +2 -0
- package/Charting/Visuals/RenderableSeries/FastCandlestickRenderableSeries.js +18 -3
- package/Charting/Visuals/RenderableSeries/FastColumnRenderableSeries.d.ts +36 -2
- package/Charting/Visuals/RenderableSeries/FastColumnRenderableSeries.js +77 -8
- package/Charting/Visuals/RenderableSeries/FastErrorBarsRenderableSeries.js +2 -1
- package/Charting/Visuals/RenderableSeries/FastImpulseRenderableSeries.d.ts +7 -0
- package/Charting/Visuals/RenderableSeries/FastImpulseRenderableSeries.js +16 -4
- package/Charting/Visuals/RenderableSeries/FastLineRenderableSeries.js +2 -1
- package/Charting/Visuals/RenderableSeries/FastMountainRenderableSeries.js +2 -1
- package/Charting/Visuals/RenderableSeries/FastOhlcRenderableSeries.js +2 -1
- package/Charting/Visuals/RenderableSeries/FastTextRenderableSeries.d.ts +17 -0
- package/Charting/Visuals/RenderableSeries/FastTextRenderableSeries.js +45 -0
- package/Charting/Visuals/RenderableSeries/HeatmapColorMap.js +3 -2
- package/Charting/Visuals/RenderableSeries/HitTest/BandSeriesHitTestProvider.js +35 -5
- package/Charting/Visuals/RenderableSeries/HitTest/BaseHitTestProvider.js +17 -1
- package/Charting/Visuals/RenderableSeries/HitTest/HitTestInfo.d.ts +8 -0
- package/Charting/Visuals/RenderableSeries/HitTest/MountainSeriesHitTestProvider.js +7 -1
- package/Charting/Visuals/RenderableSeries/HitTest/NonUniformHeatmapHitTestProvider.d.ts +20 -0
- package/Charting/Visuals/RenderableSeries/HitTest/NonUniformHeatmapHitTestProvider.js +86 -0
- package/Charting/Visuals/RenderableSeries/HitTest/TextSeriesHitTestProvider.d.ts +6 -0
- package/Charting/Visuals/RenderableSeries/HitTest/TextSeriesHitTestProvider.js +56 -0
- package/Charting/Visuals/RenderableSeries/HitTest/UniformHeatmapHitTestProvider.js +1 -1
- package/Charting/Visuals/RenderableSeries/HitTest/hitTestHelpers.d.ts +7 -1
- package/Charting/Visuals/RenderableSeries/HitTest/hitTestHelpers.js +34 -2
- package/Charting/Visuals/RenderableSeries/IBaseRenderableSeriesOptions.d.ts +6 -1
- package/Charting/Visuals/RenderableSeries/IRenderableSeries.d.ts +12 -0
- package/Charting/Visuals/RenderableSeries/ISpline.d.ts +2 -0
- package/Charting/Visuals/RenderableSeries/NonUniformHeatmapRenderableSeries.d.ts +74 -0
- package/Charting/Visuals/RenderableSeries/NonUniformHeatmapRenderableSeries.js +99 -0
- package/Charting/Visuals/RenderableSeries/ShaderEffect.js +2 -2
- package/Charting/Visuals/RenderableSeries/SplineBandRenderableSeries.d.ts +5 -0
- package/Charting/Visuals/RenderableSeries/SplineBandRenderableSeries.js +29 -10
- package/Charting/Visuals/RenderableSeries/SplineLineRenderableSeries.d.ts +7 -3
- package/Charting/Visuals/RenderableSeries/SplineLineRenderableSeries.js +28 -8
- package/Charting/Visuals/RenderableSeries/SplineMountainRenderableSeries.d.ts +5 -0
- package/Charting/Visuals/RenderableSeries/SplineMountainRenderableSeries.js +28 -8
- package/Charting/Visuals/RenderableSeries/StackedColumnCollection.js +2 -1
- package/Charting/Visuals/RenderableSeries/StackedColumnRenderableSeries.d.ts +3 -0
- package/Charting/Visuals/RenderableSeries/StackedColumnRenderableSeries.js +13 -2
- package/Charting/Visuals/RenderableSeries/StackedMountainCollection.js +4 -1
- package/Charting/Visuals/RenderableSeries/StackedMountainRenderableSeries.d.ts +7 -0
- package/Charting/Visuals/RenderableSeries/StackedMountainRenderableSeries.js +33 -9
- package/Charting/Visuals/RenderableSeries/UniformContoursRenderableSeries.d.ts +5 -0
- package/Charting/Visuals/RenderableSeries/UniformContoursRenderableSeries.js +7 -1
- package/Charting/Visuals/RenderableSeries/UniformHeatmapRenderableSeries.d.ts +2 -75
- package/Charting/Visuals/RenderableSeries/UniformHeatmapRenderableSeries.js +8 -130
- package/Charting/Visuals/RenderableSeries/XyScatterRenderableSeries.d.ts +5 -0
- package/Charting/Visuals/RenderableSeries/XyScatterRenderableSeries.js +7 -1
- package/Charting/Visuals/RenderableSeries/constants.d.ts +5 -1
- package/Charting/Visuals/RenderableSeries/constants.js +4 -0
- package/Charting/Visuals/RubberBandSvgRect/RubberBandSvgRect.js +3 -3
- package/Charting/Visuals/SciChartDefaults.d.ts +4 -0
- package/Charting/Visuals/SciChartDefaults.js +4 -0
- package/Charting/Visuals/SciChartOverview.js +5 -3
- package/Charting/Visuals/SciChartPieSurface/PieSegment/IPieSegment.d.ts +4 -0
- package/Charting/Visuals/SciChartPieSurface/PieSegment/PieSegment.d.ts +13 -0
- package/Charting/Visuals/SciChartPieSurface/PieSegment/PieSegment.js +22 -4
- package/Charting/Visuals/SciChartPieSurface/PieSegment/constants.d.ts +2 -1
- package/Charting/Visuals/SciChartPieSurface/PieSegment/constants.js +1 -0
- package/Charting/Visuals/SciChartPieSurface/SciChartPieSurface.d.ts +5 -0
- package/Charting/Visuals/SciChartPieSurface/SciChartPieSurface.js +17 -19
- package/Charting/Visuals/SciChartSurface.d.ts +225 -7
- package/Charting/Visuals/SciChartSurface.js +782 -28
- package/Charting/Visuals/SciChartSurfaceBase.d.ts +16 -1
- package/Charting/Visuals/SciChartSurfaceBase.js +34 -2
- package/Charting/Visuals/TextureManager/CanvasTexture.js +1 -1
- package/Charting/Visuals/TextureManager/DpiHelper.js +3 -7
- package/Charting/Visuals/TextureManager/TextureManager.d.ts +11 -0
- package/Charting/Visuals/TextureManager/TextureManager.js +37 -1
- package/Charting/Visuals/createMaster.js +7 -10
- package/Charting/Visuals/createSingle.js +2 -0
- package/Charting/Visuals/licenseManager2D.js +9 -9
- package/Charting/Visuals/sciChartInitCommon.js +16 -12
- package/Charting3D/CameraController.d.ts +5 -0
- package/Charting3D/CameraController.js +6 -0
- package/Charting3D/ChartModifiers/ResetCamera3DModifier.js +2 -1
- package/Charting3D/Visuals/Axis/AxisBase3D.js +7 -5
- package/Charting3D/Visuals/Axis/NumericAxis3D.js +2 -1
- package/Charting3D/Visuals/Primitives/ScatterPointsSceneEntity.d.ts +4 -0
- package/Charting3D/Visuals/Primitives/ScatterPointsSceneEntity.js +7 -0
- package/Charting3D/Visuals/Primitives/SurfaceMeshSceneEntity.js +6 -4
- package/Charting3D/Visuals/RenderableSeries/BaseRenderableSeries3D.d.ts +7 -2
- package/Charting3D/Visuals/RenderableSeries/BaseRenderableSeries3D.js +3 -2
- package/Charting3D/Visuals/RenderableSeries/SurfaceMesh/SurfaceMeshRenderableSeries3D.d.ts +0 -5
- package/Charting3D/Visuals/RenderableSeries/SurfaceMesh/SurfaceMeshRenderableSeries3D.js +12 -11
- package/Charting3D/Visuals/SciChart3DSurface.d.ts +2 -2
- package/Charting3D/Visuals/SciChart3DSurface.js +18 -11
- package/Charting3D/Visuals/createMaster3d.js +10 -18
- package/Charting3D/Visuals/createSingle3d.js +12 -10
- package/Core/Animations/GenericAnimation.d.ts +2 -0
- package/Core/Animations/GenericAnimation.js +3 -0
- package/Core/Animations/NumberRangeAnimator.js +7 -2
- package/Core/BuildStamp.d.ts +1 -1
- package/Core/BuildStamp.js +2 -2
- package/Core/Mouse/MouseManager.d.ts +20 -0
- package/Core/Mouse/MouseManager.js +199 -30
- package/README.md +91 -403
- package/_wasm/scichart.browser.js +1 -1
- package/_wasm/scichart2d.data +0 -0
- package/_wasm/scichart2d.js +280 -267
- package/_wasm/scichart2d.wasm +0 -0
- package/_wasm/scichart3d.data +0 -0
- package/_wasm/scichart3d.js +280 -268
- package/_wasm/scichart3d.wasm +0 -0
- package/constants/performanceWarnings.d.ts +2 -0
- package/constants/performanceWarnings.js +3 -1
- package/package.json +2 -2
- package/types/AutoColorMode.d.ts +9 -0
- package/types/AutoColorMode.js +13 -0
- package/types/BaseType.d.ts +3 -1
- package/types/BaseType.js +2 -0
- package/types/DataLabelProviderType.d.ts +15 -0
- package/types/DataLabelProviderType.js +19 -0
- package/types/DataLabelSkipMode.d.ts +21 -0
- package/types/DataLabelSkipMode.js +25 -0
- package/types/DefaultRenderLayer.d.ts +10 -0
- package/types/DefaultRenderLayer.js +14 -0
- package/types/SeriesType.d.ts +7 -1
- package/types/SeriesType.js +6 -0
- package/types/SvgClippingMode.d.ts +17 -0
- package/types/SvgClippingMode.js +21 -0
- package/types/TDataLabelStyle.d.ts +16 -0
- package/types/TDataLabelStyle.js +2 -0
- package/types/TSciChart.d.ts +214 -118
- package/types/TSciChart3D.d.ts +104 -70
- package/types/TextPosition.d.ts +17 -0
- package/types/TextPosition.js +39 -0
- package/types/ThemeProviderType.d.ts +3 -1
- package/types/ThemeProviderType.js +2 -0
- package/utils/ccall/appendDoubleVectorFromJsArray.d.ts +10 -1
- package/utils/ccall/appendDoubleVectorFromJsArray.js +24 -1
- package/utils/copyVector.d.ts +2 -0
- package/utils/copyVector.js +10 -0
- package/utils/memoize.d.ts +1 -0
- package/utils/memoize.js +26 -0
- package/utils/number.d.ts +1 -0
- package/utils/number.js +5 -1
- package/utils/parseColor.d.ts +2 -0
- package/utils/parseColor.js +3 -3
- package/utils/text.d.ts +5 -0
- package/utils/text.js +48 -0
- package/utils/translate.d.ts +8 -0
- package/utils/translate.js +27 -5
- package/utils/zeroArray2D.d.ts +5 -0
- package/utils/zeroArray2D.js +5 -0
package/README.md
CHANGED
|
@@ -1,154 +1,76 @@
|
|
|
1
|
-
# SciChart.js:
|
|
1
|
+
# SciChart.js: High Performance JavaScript Chart Library
|
|
2
2
|
|
|
3
|
-
[
|
|
3
|
+
[SciChart.js](https://www.scichart.com) is a High Performance JavaScript & TypeScript Charting library
|
|
4
|
+
which WebGL and WebAssembly to achieve incredible real-time and big-data performance. Fast and able to draw millions of datapoints in realtime, our charts will never cause your app to slow down again!
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
> SciChart has an extremely configurable and extensible API and is
|
|
7
|
+
> **perfect for scientific, financial, medical, engineering and enterprise applications**,
|
|
8
|
+
> apps with demanding performance requirements or complex and mission critical charting.
|
|
6
9
|
|
|
7
|
-
|
|
10
|
+
[](https://www.scichart.com/javascript-chart-features)
|
|
8
11
|
|
|
9
|
-
|
|
12
|
+
## License
|
|
10
13
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
> SciChart.js is commercial software with a free trial, but we are planning a free community edition soon!
|
|
15
|
+
>
|
|
16
|
+
> **Licensing Links**
|
|
17
|
+
>
|
|
18
|
+
> - [Read about our **license terms** here](https://www.scichart.com/scichart-eula)
|
|
19
|
+
> - [**Start a trial** by following steps here](https://scichart.com/getting-started/scichart-javascript)
|
|
20
|
+
> - [**Purchase commercial licenses** here](https://store.scichart.com)
|
|
21
|
+
> - Academic usage, universities and schools qualify for a free for a free license. Read more about this [here](https://www.scichart.com/educational-discount-programme).
|
|
22
|
+
|
|
23
|
+
## Demo Application
|
|
24
|
+
|
|
25
|
+
- We've published a **live demo app** at [demo.scichart.com](https://demo.scichart.com) with 85 examples you can try in browser.
|
|
26
|
+
- You can clone the repo for the demo app at Github: [github.com/abtsoftware/scichart.js.examples](https://github.com/abtsoftware/scichart.js.examples)
|
|
27
|
+
- Or, checkout our boilerplates for various popular Js frameworks:
|
|
28
|
+
- [React](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-react-scichart) + SciChart boilerplate
|
|
29
|
+
- [Vue.js](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-vue-scichart)
|
|
30
|
+
- [Angular](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-angular-scichart)
|
|
31
|
+
- [NextJs](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-nextjs)
|
|
32
|
+
- [Nuxt.js](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-nuxtjs)
|
|
33
|
+
- [Electron](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-electron)
|
|
24
34
|
|
|
25
35
|
# Getting Started
|
|
26
36
|
|
|
27
|
-
> We've prepared a short [Getting Started guide here](https://
|
|
37
|
+
> We've prepared a short [Getting Started guide here](https://scichart.com/getting-started/scichart-javascript).
|
|
28
38
|
>
|
|
29
39
|
> This will walk you through the entire process of starting a trial and show you where tutorials and documentation are and examples.
|
|
30
40
|
|
|
31
|
-
##
|
|
41
|
+
## Useful Links
|
|
32
42
|
|
|
33
|
-
|
|
43
|
+
### Features & benefits
|
|
34
44
|
|
|
35
|
-
|
|
45
|
+
- Learn about [features of SciChart.js](https://scichart.com/javascript-chart-features) here
|
|
36
46
|
|
|
37
|
-
|
|
47
|
+
### Onboarding
|
|
38
48
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
// call useWasmFromCDN once before SciChart.js is initialised to load Wasm files from our CDN
|
|
43
|
-
SciChart.SciChartSurface.useWasmFromCDN();
|
|
44
|
-
|
|
45
|
-
// Create a chart using the json builder api
|
|
46
|
-
await SciChart.chartBuilder.buildChart("scichart-root", {
|
|
47
|
-
series: {
|
|
48
|
-
type: "LineSeries",
|
|
49
|
-
options: { stroke: "steelblue" },
|
|
50
|
-
xyData: {
|
|
51
|
-
xValues: [1, 2, 5, 8, 10],
|
|
52
|
-
yValues: [3, 1, 7, 5, 8]
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
}
|
|
49
|
+
- [Tutorials](https://www.scichart.com/documentation/js/current/webframe.html#Tutorial%2001%20-%20Setting%20up%20a%20Project%20with%20SciChart.js.html)
|
|
50
|
+
- [Getting Started Guide](https://scichart.com/getting-started/scichart-javascript/)
|
|
51
|
+
- [Documentation](https://www.scichart.com/documentation/js/current/webframe.html)
|
|
57
52
|
|
|
58
|
-
|
|
59
|
-
```
|
|
53
|
+
### Support
|
|
60
54
|
|
|
61
|
-
|
|
55
|
+
- [Community forums](https://scichart.com/questions)
|
|
56
|
+
- [Stackoverflow tag](https://stackoverflow.com/tags/scichart)
|
|
57
|
+
- [Contact Us (Technical support or sales)](https://scichart.com/contact-us)
|
|
62
58
|
|
|
63
|
-
|
|
59
|
+
### Purchasing
|
|
64
60
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
```html
|
|
68
|
-
<!DOCTYPE html>
|
|
69
|
-
<html lang="en">
|
|
70
|
-
<head>
|
|
71
|
-
<meta charset="utf-8" />
|
|
72
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
73
|
-
<!-- Include SciChart.js -->
|
|
74
|
-
<script
|
|
75
|
-
src="https://cdn.jsdelivr.net/npm/scichart@2.2.2401/_wasm/scichart.browser.js"
|
|
76
|
-
crossorigin="anonymous"
|
|
77
|
-
></script>
|
|
78
|
-
<script src="scichart-example.js" defer></script>
|
|
79
|
-
<title>Hello, SciChart.js world!</title>
|
|
80
|
-
</head>
|
|
81
|
-
<body>
|
|
82
|
-
<div id="scichart-root" style="width: 800px; height: 600px;"></div>
|
|
83
|
-
</body>
|
|
84
|
-
</html>
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
4. **Host both files** on any web server. As a result you will see a simple line chart. Please note because we are using WebAssembly just opening the HTML file without a server will not work.
|
|
88
|
-
|
|
89
|
-
Follow [the link](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-browser-global-module) to find source code for this example.
|
|
61
|
+
- [Pricing](https://store.scichart.com)
|
|
90
62
|
|
|
91
63
|
## Quick Start with NPM and Webpack
|
|
92
64
|
|
|
93
65
|
SciChart.js can be loaded as an ES6 module with Babel or TypeScript transpiler.
|
|
94
66
|
|
|
95
|
-
1. **
|
|
96
|
-
|
|
97
|
-
Leave the Licensing Wizard running, it is used to validate licenses.
|
|
98
|
-
|
|
99
|
-
2. **Create a new Webpack project** or use an existing one.
|
|
100
|
-
|
|
101
|
-
```shell
|
|
102
|
-
npm init -y
|
|
103
|
-
npm install webpack webpack-cli webpack-dev-server copy-webpack-plugin --save-dev
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
add start script to package.json
|
|
107
|
-
|
|
108
|
-
```
|
|
109
|
-
"scripts": {
|
|
110
|
-
"start": "webpack serve"
|
|
111
|
-
},
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
3. **Install SciChart.js**
|
|
67
|
+
1. **Install SciChart.js**
|
|
115
68
|
|
|
116
69
|
```shell
|
|
117
70
|
npm i scichart
|
|
118
71
|
```
|
|
119
72
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
Use CopyPlugin to copy wasm and data files and serve them by webpack-dev-server. SciChart.js uses WebAssembly and those files must be loaded. You can avoid this by using SciChart.SciChartSurface.useWasmFromCDN() as noted below,
|
|
123
|
-
but in many scenarios it will be important to be able to serve the webassembly files directly.
|
|
124
|
-
|
|
125
|
-
```
|
|
126
|
-
const path = require('path');
|
|
127
|
-
const CopyPlugin = require("copy-webpack-plugin");
|
|
128
|
-
|
|
129
|
-
module.exports = {
|
|
130
|
-
mode: 'development',
|
|
131
|
-
entry: "./src/index.js",
|
|
132
|
-
performance: {
|
|
133
|
-
hints: false
|
|
134
|
-
},
|
|
135
|
-
output: {
|
|
136
|
-
path: path.resolve(__dirname, 'build'),
|
|
137
|
-
filename: 'bundle.js',
|
|
138
|
-
},
|
|
139
|
-
plugins: [
|
|
140
|
-
new CopyPlugin({
|
|
141
|
-
patterns: [
|
|
142
|
-
{ from: "src/index.html", to: "" },
|
|
143
|
-
{ from: "node_modules/scichart/_wasm/scichart2d.data", to: "" },
|
|
144
|
-
{ from: "node_modules/scichart/_wasm/scichart2d.wasm", to: "" }
|
|
145
|
-
]
|
|
146
|
-
})
|
|
147
|
-
]
|
|
148
|
-
};
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
5. **Create a simple chart** by putting this into `src/index.js` file
|
|
73
|
+
2 **Create a simple chart** by putting this into `src/index.js` file
|
|
152
74
|
|
|
153
75
|
```javascript
|
|
154
76
|
import { SciChartSurface } from "scichart/Charting/Visuals/SciChartSurface";
|
|
@@ -156,23 +78,22 @@ SciChart.js can be loaded as an ES6 module with Babel or TypeScript transpiler.
|
|
|
156
78
|
import { XyDataSeries } from "scichart/Charting/Model/XyDataSeries";
|
|
157
79
|
import { FastLineRenderableSeries } from "scichart/Charting/Visuals/RenderableSeries/FastLineRenderableSeries";
|
|
158
80
|
|
|
159
|
-
//
|
|
160
|
-
//
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
//
|
|
81
|
+
// Call useWasmFromCDN once before SciChart.js is initialised to load Wasm files from our CDN
|
|
82
|
+
// Alternative methods for serving wasm from webpack or offline are available on our website
|
|
83
|
+
SciChartSurface.useWasmFromCDN();
|
|
84
|
+
|
|
85
|
+
// Apply your licese key once before startup
|
|
86
|
+
SciChartSurface.setRuntimeLicenseKey("--YOUR_KEY_HERE--");
|
|
164
87
|
|
|
165
88
|
async function initSciChart() {
|
|
166
89
|
// Create the SciChartSurface in the div 'scichart-root'
|
|
167
|
-
// The SciChartSurface, and webassembly context 'wasmContext' are paired. This wasmContext
|
|
168
|
-
// instance must be passed to other types that exist on the same surface.
|
|
169
90
|
const { sciChartSurface, wasmContext } = await SciChartSurface.create("scichart-root");
|
|
170
91
|
|
|
171
92
|
// Create an X,Y Axis and add to the chart
|
|
172
|
-
|
|
173
|
-
sciChartSurface.
|
|
174
|
-
sciChartSurface.yAxes.add(yAxis);
|
|
93
|
+
sciChartSurface.xAxes.add(new NumericAxis(wasmContext));
|
|
94
|
+
sciChartSurface.yAxes.add(new NumericAxis(wasmContext));
|
|
175
95
|
|
|
96
|
+
// Create a line series with some data
|
|
176
97
|
const dataSeries = new XyDataSeries(wasmContext, {
|
|
177
98
|
xValues: [1, 2, 5, 8, 10],
|
|
178
99
|
yValues: [3, 1, 7, 5, 8]
|
|
@@ -187,7 +108,7 @@ SciChart.js can be loaded as an ES6 module with Babel or TypeScript transpiler.
|
|
|
187
108
|
initSciChart();
|
|
188
109
|
```
|
|
189
110
|
|
|
190
|
-
|
|
111
|
+
3 **Create src/index.html file**
|
|
191
112
|
|
|
192
113
|
```html
|
|
193
114
|
<html lang="en-us">
|
|
@@ -204,285 +125,52 @@ SciChart.js can be loaded as an ES6 module with Babel or TypeScript transpiler.
|
|
|
204
125
|
</html>
|
|
205
126
|
```
|
|
206
127
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
Follow [the link](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-simple-chart) to find source code for this example.
|
|
210
|
-
|
|
211
|
-
## Documentation & Tutorials
|
|
212
|
-
|
|
213
|
-
We've taken the time to create hundreds of documentation pages and video tutorials for our JavaScript Charts, which you can find over at https://www.scichart.com/javascript-chart-documentation. Take a look here for tutorials, getting-started guides, API Docs (TypeDoc) and more.
|
|
214
|
-
|
|
215
|
-
[](https://www.scichart.com/javascript-chart-documentation)
|
|
216
|
-
|
|
217
|
-
## Online Demo
|
|
218
|
-
|
|
219
|
-
An online demo version of scichart.js.examples can be seen at https://demo.scichart.com. Get the source for the demos and examples at https://github.com/abtsoftware/scichart.js.examples
|
|
220
|
-
|
|
221
|
-
# Release Notes
|
|
222
|
-
|
|
223
|
-
## Version 2.2 with new Chart Types
|
|
224
|
-
|
|
225
|
-
See [What's New in SciChart.js v2.2](https://www.scichart.com/documentation/js/current/What's%20New%20in%20SciChart.js%20SDK%20v2.2.html)
|
|
226
|
-
|
|
227
|
-
**New Features**
|
|
228
|
-
|
|
229
|
-
- Added an Oil & gas Showcase demo
|
|
230
|
-
- Added a Lollipop (Impulse / Stem) Chart Type
|
|
231
|
-
- Added Error Bars (horizontal & vertical error bars) chart types
|
|
232
|
-
- Added multiple new enhancements to Pie / Donut Chart, including
|
|
233
|
-
- Animated Updates on Pie chart segments
|
|
234
|
-
- Ability to format, hide or change the HTML content of pie chart labels
|
|
235
|
-
- Added multiple styling & configuration improvements to pie charts
|
|
236
|
-
- Added Axis configuration options
|
|
237
|
-
- Ability to draw series behind axis (axis inside chart)
|
|
238
|
-
- You can now set the Axis Background and Border
|
|
239
|
-
-
|
|
240
|
-
|
|
241
|
-
## Version 2.1 with Major Performance Improvements
|
|
242
|
-
|
|
243
|
-
See [What's New in SciChart.js v2.1](https://www.scichart.com/documentation/js/current/WhatsNewInSciChart2_1.html)
|
|
244
|
-
|
|
245
|
-
We’ve used our expertise high performance computing in other platforms of SciChart to make massive improvements to chart rendering, updating and startup speed in SciChart.js v2.1.
|
|
246
|
-
|
|
247
|
-
**Performance improvements**:
|
|
248
|
-
|
|
249
|
-
- Smart Data-point Resampling was implemented. Datapoint resampling ensures the minimum viable data-set is displayed on the screen. Resampling is intended to be visually lossless, and automatic.
|
|
250
|
-
- Improved raw drawing speed of our underlying graphics engine by over 100%
|
|
251
|
-
- Added Async Label Creation option with global application or per-chart caching
|
|
252
|
-
- Optimised data transfers from JavaScript to WebAssembly
|
|
253
|
-
- Improved chart performance when using RolloverModifier and CursorModifier
|
|
254
|
-
- Implementation of Auto-detecting data distribution flags in DataSeries (flags dataSeries.isSorted, dataSeries.containsNaN). Specifying these flags gives better performance in big-data scenarios.
|
|
255
|
-
- Optimizations for Annotation notifyPropertyChange method not to be called if the property has not changed
|
|
256
|
-
- Display performance warnings in dev environment
|
|
257
|
-
- Optimisation getXRange() algorithm for unsorted data
|
|
258
|
-
|
|
259
|
-
**Documentation**:
|
|
260
|
-
|
|
261
|
-
- Added Documentation of how to use SciChart.js in vannilla HTML/Js (without npm) using our Browser Bundle served by CDN
|
|
262
|
-
- Added Documentation for Performance Tips & Tricks
|
|
263
|
-
- Added Documentation for new Data-point Resampling features
|
|
264
|
-
- Added Documentation & Examples for new Generic Animations API
|
|
265
|
-
|
|
266
|
-
**Live demo demo.scichart.com**:
|
|
267
|
-
|
|
268
|
-
- Added Generic Animations example to the Demo app
|
|
269
|
-
|
|
270
|
-
**Other improvements**:
|
|
271
|
-
|
|
272
|
-
- Added labels support outside of a Pie Chart
|
|
273
|
-
- Better error message if wasm cannot be loaded, or the wrong version loaded
|
|
274
|
-
- Add a property to configure stacked axis length
|
|
275
|
-
- Allow passing div element reference into SciChartSurface.create to make SciChart.js possible to use in shadow DOM
|
|
276
|
-
- Improve guard checks for data series creation
|
|
277
|
-
- Snap RolloverModifier vertical line to data points
|
|
278
|
-
- Add explanation error message for trial expired on old version
|
|
279
|
-
- Add AxisRenderer.axisSize property which allows setting axis label width
|
|
280
|
-
- Add includeAxis property to MouseWheelZoomModifier
|
|
281
|
-
- Add AxisRenderer.axisThickness
|
|
282
|
-
- Prevent CursorModifier axis labels to be cut out of the chart
|
|
283
|
-
|
|
284
|
-
See all the details at [SciChart.js v2.1 release](https://www.scichart.com/scichart-js-v2-1-released/).
|
|
285
|
-
|
|
286
|
-
## Version 2.0
|
|
287
|
-
|
|
288
|
-
See [What's New in SciChart.js v2.0](https://www.scichart.com/documentation/js/current/What's%20New%20in%20SciChart.js%20SDK%20v2.x.html)
|
|
289
|
-
|
|
290
|
-
SciChart.js v2 is a huge release with many new features, improvements and fixes including:
|
|
291
|
-
|
|
292
|
-
- New pure-json builder api
|
|
293
|
-
- Data and Style Animations
|
|
294
|
-
- Logarithmic Axis, Inner Axis, Stacked Axis
|
|
295
|
-
- Datapoint and Series Selection
|
|
296
|
-
- Data filters and transformations
|
|
297
|
-
- Retina / High DPI Display / Browser Zoom Support
|
|
298
|
-
- Axis label customization, rotated and multiline text and images
|
|
299
|
-
- Transparent/image backgrounds
|
|
300
|
-
- Loader customization
|
|
301
|
-
- And many more!
|
|
302
|
-
|
|
303
|
-
See all the details at [SciChart.js v2 release](https://www.scichart.com/scichart-js-v2-beta-released/).
|
|
304
|
-
|
|
305
|
-
# Our Chart Features
|
|
128
|
+
4 **Run it `npm start`**. As a result you will see a simple line chart.
|
|
306
129
|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
Supports many 2D & 3D Chart types including:
|
|
312
|
-
|
|
313
|
-
- [Line Chart](https://demo.scichart.com/javascript-line-chart)
|
|
314
|
-
- [Digital (Step) Line Chart](https://demo.scichart.com/javascript-digital-line-chart)
|
|
315
|
-
- [Area / Mountain Chart](https://demo.scichart.com/javascript-mountain-chart)
|
|
316
|
-
- [Digital (Step) Area / Mountain Chart](https://demo.scichart.com/javascript-mountain-chart)
|
|
317
|
-
- [Column Chart](https://demo.scichart.com/javascript-column-chart)
|
|
318
|
-
- [Stacked Column Chart](https://demo.scichart.com/javascript-stacked-column-chart)
|
|
319
|
-
- [100% Stacked Column Chart](https://demo.scichart.com/javascript-stacked-column-chart)
|
|
320
|
-
- [Scatter Chart](https://demo.scichart.com/javascript-scatter-chart)
|
|
321
|
-
- [Bubble Chart](https://demo.scichart.com/javascript-bubble-chart)
|
|
322
|
-
- [Pie Chart](https://demo.scichart.com/javascript-pie-chart)
|
|
323
|
-
- [Donut Chart](https://demo.scichart.com/javascript-donut-chart)
|
|
324
|
-
- [Candlestick Chart](https://demo.scichart.com/javascript-candlestick-chart)
|
|
325
|
-
- [Ohlc Chart](https://demo.scichart.com/javascript-ohlc-chart)
|
|
326
|
-
- [Band (High low Fill) Chart](https://demo.scichart.com/javascript-band-chart)
|
|
327
|
-
- [Digital (Step) Band Chart](https://demo.scichart.com/javascript-digital-band-chart)
|
|
328
|
-
- [Heatmap or Spectrogram Chart](https://demo.scichart.com/javascript-heatmap-chart)
|
|
329
|
-
- [Fan Chart](https://demo.scichart.com/javascript-fan-chart)
|
|
330
|
-
- [Contours Chart](https://demo.scichart.com/javascript-heatmap-chart-with-contours)
|
|
331
|
-
- [Stacked Mountain Chart](https://demo.scichart.com/javascript-stacked-mountain-chart)
|
|
332
|
-
- [3D Surface Mesh or 3D Area Chart](https://demo.scichart.com/javascript-3d-surface-mesh-chart)
|
|
333
|
-
- [3D Bubble Chart](https://demo.scichart.com/javascript-3d-bubble-chart)
|
|
334
|
-
- [3D Point Cloud Chart](https://demo.scichart.com/javascript-fan-chart)
|
|
335
|
-
|
|
336
|
-
## Insane Realtime performance
|
|
337
|
-
|
|
338
|
-
[SciChart's](https://www.scichart.com) Ultra High performance [JavaScript Charts](https://www.scichart.com/javascript-chart-features/) can draw many millions of data-points, allowing you to zoom, pan, or browse big-data sets with ease. [SciChart](https://www.scichart.com) enables next-generation JavaScript & TypeScript chart applications by allowing previously impossible datarates and update-rates. After all, we make 'Impossible projects possible'!
|
|
339
|
-
|
|
340
|
-

|
|
341
|
-
|
|
342
|
-
## Rich Interactive Charts
|
|
343
|
-
|
|
344
|
-
Drag to zoom, pan, mousewheel zoom, drag axis to zoom, zoom extents or touch behaviour is all supported out of the box.
|
|
345
|
-
|
|
346
|
-

|
|
347
|
-
|
|
348
|
-
## Chart Animations
|
|
349
|
-
|
|
350
|
-
SciChart.js supports multiple types of animations to make impressive dashboards and browser applications which will delight your users.
|
|
351
|
-
|
|
352
|
-
Add series animations which execute when a chart type is shown. Data animations morph or animate from one dataset to another. Style Animations - allow you to animate style (line/fill colour, line thickness) from one set of properties to another.
|
|
353
|
-
|
|
354
|
-
## Cursors & Tooltips
|
|
355
|
-
|
|
356
|
-
Our JavaScript Chart library features rich cursors & tooltips out of the box, which are built on our powerful ChartModifier API
|
|
357
|
-
|
|
358
|
-
Choose from built-in Cursors, Crosshairs, Tooltips on mouse/touch or Rollover (showing vertical lines) as well as Legends. Decide what information is presented in a tooltip. Style tooltips to fit your application.
|
|
359
|
-
|
|
360
|
-

|
|
361
|
-
|
|
362
|
-
## Annotations & Markers
|
|
363
|
-
|
|
364
|
-
Our JavaScript Chart library features a powerful Annotations API which allows you to overlay Line, Text, Boxes, Shapes or Watermarks over the chart, at specific X/Y data locations. Annotations update position as you zoom or pan the chart.
|
|
365
|
-
|
|
366
|
-

|
|
367
|
-
|
|
368
|
-
## Styling & Theming
|
|
369
|
-
|
|
370
|
-
SciChart.js features several themes out of the box, including Light Theme and Dark Theme. SciChart supports building Custom Themes either inheriting our own or completely bespoke.
|
|
371
|
-
|
|
372
|
-
Our charts support transparent background, image background, blurred or glass effect background. Style SciChart to fit your application and delight your users!
|
|
373
|
-
|
|
374
|
-

|
|
375
|
-
|
|
376
|
-
## Many Axis Types and Options
|
|
377
|
-
|
|
378
|
-
SciChart.js features multiple axis types out of the box, including Numeric Axis, Category Axis (Stock Chart axis) and Logarithmic Axis.
|
|
379
|
-
|
|
380
|
-
Format labels as Dates, numbers, strings (text) or images. Multi-line text labels and rotated axis labels are supported. Full control over axis label format, label style and label / gridline interval is possible with SciChart.js. The flexibility of our JavaScript charts are second to none.
|
|
381
|
-
|
|
382
|
-
Unlike other JavaScript Charts that only support a single X and Y axis, SciChart.js supports unlimited, multiple X & Y Axis.
|
|
383
|
-
|
|
384
|
-
You can scale series independently, have left, right, top or bottom axis. You can scale axis independently.
|
|
385
|
-
|
|
386
|
-

|
|
387
|
-
|
|
388
|
-
## Vertical Charts
|
|
389
|
-
|
|
390
|
-
SciChart.js supports vertical or rotated charts. Set a YAxis alignment to the left, and XAxis alignment to the top, and this will rotate a chart 90 degrees.
|
|
391
|
-
|
|
392
|
-

|
|
393
|
-
|
|
394
|
-
## Chart Series Selection
|
|
395
|
-
|
|
396
|
-
SciChart.js features serles selection and hover events on click. We've also packaged a Chart Modifier which will apply selected or hovered series styling to the chart.
|
|
397
|
-
|
|
398
|
-
Get notified when a user clicks on a chart series. Use this to perform visual-feedback of selection or chart drill-down, making for compelling interactive browser apps.
|
|
399
|
-
|
|
400
|
-

|
|
401
|
-
|
|
402
|
-
## Chart Data point selection
|
|
403
|
-
|
|
404
|
-
SciChart.js also supports data-point selection by clicking or dragging a rectangle on the chart.
|
|
405
|
-
|
|
406
|
-
Get notified when a user clicks a data-point by events and callbacks. Use this to update the selection visual and create an extra layer of interaction to data-driven apps.
|
|
407
|
-
|
|
408
|
-

|
|
409
|
-
|
|
410
|
-
## Per-Point Colouring
|
|
411
|
-
|
|
412
|
-
With SciChart.js you can colour data-points based on a rule e.g. would you like all data-points with value > 10 to be coloured red? With our PaletteProvider API you can do this.
|
|
413
|
-
|
|
414
|
-
Colour volume bars in a stock chart red or green based on up or down, dynamically style data-points or sections of the chart based on thresholds, custom objects and more.
|
|
415
|
-
|
|
416
|
-

|
|
417
|
-
|
|
418
|
-
## Financial Stock Charts
|
|
419
|
-
|
|
420
|
-
SciChart.js supports dynamic, real-time Candlestick and Ohlc charts. Connect our charts to real-time exchange data and they can tick & update in real-time. Our performance is second-to-none making SciChart.js perfect for financial stock chart apps.
|
|
421
|
-
|
|
422
|
-

|
|
423
|
-
|
|
424
|
-
## Scrolling Overview
|
|
425
|
-
|
|
426
|
-
Another stock-chart related feature, we've added a Scrolling Overview control to the SciChart.js library. This allows you to see a history of the entire chart data and scroll back & forth instantly. Perfect for financial & stock chart apps!
|
|
427
|
-
|
|
428
|
-

|
|
429
|
-
|
|
430
|
-
## Link Multiple Charts
|
|
431
|
-
|
|
432
|
-
With SciChart.js you can link multiple charts. Synchronize Zooming and Panning across charts. Have a single tooltip shared across chart surfaces. Create multi-pane stock charts with technical indicators.
|
|
433
|
-
|
|
434
|
-
Plus, with support for hundreds of WebGL powered charts on a single webpage, you won't get caught short running out of WebGL contexts or experience slow performance with SciChart.
|
|
435
|
-
|
|
436
|
-

|
|
437
|
-
|
|
438
|
-
## Filters and Data Transforms
|
|
439
|
-
|
|
440
|
-
SciChart.js features a filters and data-transforms API. Add moving averages, linear trendlines to a chart. Scale and Offset a series. Calculate the ratio between two series.
|
|
441
|
-
|
|
442
|
-
All SciChart's filters update dynamically as the underlying data updates. What's more, you can create custom filters to transform your data dynamically and on the fly.
|
|
443
|
-
|
|
444
|
-

|
|
445
|
-
|
|
446
|
-
## Builder API & JSON Serialization
|
|
447
|
-
|
|
448
|
-
The Builder API - allows you to create chart definitions with JSON or JavaScript objects. It's never before been easier to create JavaScript charts with SciChart.js. Define your charts on the server, or in a re-usable React component and share them throughout your app.
|
|
449
|
-
|
|
450
|
-
With SciChart.js every type is JSON Serializable, so you can now create entire chart definitions server-side out of JSON objects and rehydrate them on the client. Save/load chart settings to JSON, allowing rich, dynamic apps with our powerful JavaScript Chart library.
|
|
451
|
-
|
|
452
|
-

|
|
453
|
-
|
|
454
|
-
## Accessibility
|
|
455
|
-
|
|
456
|
-
We've build Accessibility hooks into SciChart.js making it suitable for enterprise-grade applications.
|
|
457
|
-
|
|
458
|
-
Accessibility features include Voiceover (text to speech for chart parts), Theming, Scaling of fonts with Browser zoom / DPI. color and contrast, and keyboard interaction on the chart.
|
|
459
|
-
|
|
460
|
-
## Plot 3D Scientific Charts
|
|
461
|
-
|
|
462
|
-
With SciChart.js you can plot 3D Scientific Charts such as this 3D Surface Mesh (3D Mountain or Area chart), 3D Bubble, Scatter or point-cloud.
|
|
463
|
-
|
|
464
|
-
With the help of our cross-platform Visual Xccelerator 3D engine you can plot scientific surface mesh charts in real-time with tens of thousands of cells JavaScript and TypeScript applications.
|
|
465
|
-
|
|
466
|
-

|
|
130
|
+
> Further reading:
|
|
131
|
+
>
|
|
132
|
+
> - See the [Getting Started Page](https://scichart.com/getting-started/scichart-javascript/) as well as our [Tutorials](https://www.scichart.com/documentation/js/current/webframe.html#Tutorial%2001%20-%20Setting%20up%20a%20Project%20with%20SciChart.js.html) for more information on creating your first chart
|
|
467
133
|
|
|
468
|
-
##
|
|
134
|
+
## Quick Start with vanilla JS
|
|
469
135
|
|
|
470
|
-
|
|
136
|
+
If your environment does not include a bundler like Parcel or Webpack, you can still load SciChart.js using the browser bundle module.
|
|
471
137
|
|
|
472
|
-
|
|
138
|
+
1.**Create scichart-example.js file with a simple chart**
|
|
473
139
|
|
|
474
|
-
|
|
140
|
+
```javascript
|
|
141
|
+
async function initSciChart() {
|
|
142
|
+
// See deployment options for WebAssembly at https://www.scichart.com/documentation/js/current/Deploying%20Wasm%20or%20WebAssembly%20and%20Data%20Files%20with%20your%20app.html
|
|
143
|
+
// call useWasmFromCDN once before SciChart.js is initialised to load Wasm files from our CDN
|
|
144
|
+
SciChart.SciChartSurface.useWasmFromCDN();
|
|
475
145
|
|
|
476
|
-
|
|
146
|
+
// Apply your licese key once before startup
|
|
147
|
+
SciChart, SciChartSurface.setRuntimeLicenseKey("--YOUR_KEY_HERE--");
|
|
148
|
+
|
|
149
|
+
// Create a chart using the json builder api
|
|
150
|
+
await SciChart.chartBuilder.buildChart("scichart-root", {
|
|
151
|
+
series: {
|
|
152
|
+
type: "LineSeries",
|
|
153
|
+
options: { stroke: "steelblue" },
|
|
154
|
+
xyData: {
|
|
155
|
+
xValues: [1, 2, 5, 8, 10],
|
|
156
|
+
yValues: [3, 1, 7, 5, 8]
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
}
|
|
477
161
|
|
|
478
|
-
|
|
162
|
+
initSciChart();
|
|
163
|
+
```
|
|
479
164
|
|
|
480
|
-
|
|
165
|
+
> See the full [browser bundle tutorial here](https://www.scichart.com/documentation/js/current/webframe.html#Tutorial%2001%20-%20Including%20SciChart.js%20in%20an%20HTML%20Page.html)
|
|
481
166
|
|
|
482
|
-
|
|
167
|
+
# Release notes. What's New!
|
|
483
168
|
|
|
484
|
-
|
|
169
|
+
Check out what's new in SciChart.js at the below pages:
|
|
485
170
|
|
|
486
|
-
|
|
171
|
+
- [What's New in SciChart.js v2.0](https://www.scichart.com/documentation/js/current/What's%20New%20in%20SciChart.js%20SDK%20v2.x.html)
|
|
172
|
+
- [What's New in SciChart.js v2.1](https://www.scichart.com/documentation/js/current/WhatsNewInSciChart2_1.html)
|
|
173
|
+
- [What's New in SciChart.js v2.2](https://www.scichart.com/documentation/js/current/What's%20New%20in%20SciChart.js%20SDK%20v2.2.html)
|
|
174
|
+
- SciChart.js v3.0 Alpha What's New - Coming Soon!
|
|
487
175
|
|
|
488
|
-
|
|
176
|
+
We release often and if you want to report a bug, request a feature or give general feedback [contact us](https://scichart.com/contact-us)!
|