scichart 3.1.348 → 3.2.434
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/buildSurface.d.ts +2 -2
- package/Builder/chartBuilder.d.ts +4 -4
- package/Charting/ChartModifiers/ChartModifierBase.d.ts +19 -5
- package/Charting/ChartModifiers/ChartModifierBase.js +64 -7
- package/Charting/ChartModifiers/CursorModifier.d.ts +9 -9
- package/Charting/ChartModifiers/CursorModifier.js +13 -1
- package/Charting/ChartModifiers/DataPointSelectionModifier.d.ts +1 -0
- package/Charting/ChartModifiers/DataPointSelectionModifier.js +6 -1
- package/Charting/ChartModifiers/LegendModifier.d.ts +10 -25
- package/Charting/ChartModifiers/LegendModifier.js +10 -20
- package/Charting/ChartModifiers/MouseWheelZoomModifier.js +20 -11
- package/Charting/ChartModifiers/OverviewRangeSelectionModifier.d.ts +5 -5
- package/Charting/ChartModifiers/PinchZoomModifier.d.ts +38 -8
- package/Charting/ChartModifiers/PinchZoomModifier.js +103 -40
- package/Charting/ChartModifiers/RolloverModifier.js +10 -3
- package/Charting/ChartModifiers/RubberBandXyZoomModifier.d.ts +4 -7
- package/Charting/ChartModifiers/RubberBandXyZoomModifier.js +6 -8
- package/Charting/ChartModifiers/SeriesSelectionModifier.js +39 -29
- package/Charting/ChartModifiers/XAxisDragModifier.d.ts +1 -1
- package/Charting/ChartModifiers/XAxisDragModifier.js +3 -3
- package/Charting/ChartModifiers/YAxisDragModifier.d.ts +2 -4
- package/Charting/ChartModifiers/YAxisDragModifier.js +7 -8
- package/Charting/ChartModifiers/ZoomPanModifier.d.ts +13 -38
- package/Charting/ChartModifiers/ZoomPanModifier.js +54 -99
- package/Charting/Drawing/BaseCache.d.ts +2 -1
- package/Charting/Drawing/BaseCache.js +45 -7
- package/Charting/Drawing/RenderSurface.d.ts +1 -0
- package/Charting/Drawing/RenderSurface.js +5 -1
- package/Charting/Drawing/SolidBrushCache.d.ts +2 -1
- package/Charting/Drawing/SolidBrushCache.js +23 -3
- package/Charting/Drawing/WebGlBrush.d.ts +2 -1
- package/Charting/Drawing/WebGlBrush.js +22 -3
- package/Charting/Drawing/WebGlPen.d.ts +2 -1
- package/Charting/Drawing/WebGlPen.js +23 -4
- package/Charting/Drawing/WebGlRenderContext2D.d.ts +4 -3
- package/Charting/Drawing/WebGlRenderContext2D.js +26 -7
- package/Charting/Model/BaseDataSeries.d.ts +67 -2
- package/Charting/Model/BaseDataSeries.js +193 -42
- package/Charting/Model/BaseHeatmapDataSeries.js +1 -1
- package/Charting/Model/ChartData/SeriesInfo.d.ts +16 -0
- package/Charting/Model/ChartData/SeriesInfo.js +7 -0
- package/Charting/Model/ChartData/XyzSeriesInfo.d.ts +8 -0
- package/Charting/Model/ChartData/XyzSeriesInfo.js +36 -0
- package/Charting/Model/DoubleVectorProvider.d.ts +19 -0
- package/Charting/Model/DoubleVectorProvider.js +95 -0
- package/Charting/Model/Filters/HlcFilterBase.d.ts +6 -2
- package/Charting/Model/Filters/HlcFilterBase.js +17 -1
- package/Charting/Model/Filters/IFilterBase.d.ts +24 -0
- package/Charting/Model/Filters/IFilterBase.js +2 -0
- package/Charting/Model/Filters/OhlcFilterBase.d.ts +6 -2
- package/Charting/Model/Filters/OhlcFilterBase.js +17 -1
- package/Charting/Model/Filters/XyFilterBase.d.ts +6 -5
- package/Charting/Model/Filters/XyFilterBase.js +17 -1
- package/Charting/Model/Filters/XyyFilterBase.d.ts +6 -2
- package/Charting/Model/Filters/XyyFilterBase.js +17 -1
- package/Charting/Model/Filters/XyzFilterBase.d.ts +6 -2
- package/Charting/Model/Filters/XyzFilterBase.js +17 -1
- package/Charting/Model/HlcDataSeries.d.ts +3 -0
- package/Charting/Model/HlcDataSeries.js +44 -15
- package/Charting/Model/IDataSeries.d.ts +23 -0
- package/Charting/Model/NonUniformHeatmapDataSeries.js +2 -0
- package/Charting/Model/OhlcDataSeries.d.ts +3 -0
- package/Charting/Model/OhlcDataSeries.js +56 -24
- package/Charting/Model/PointSeries/BasePointSeriesResampled.d.ts +4 -5
- package/Charting/Model/PointSeries/BasePointSeriesResampled.js +29 -21
- package/Charting/Model/PointSeries/BasePointSeriesWrapped.d.ts +2 -0
- package/Charting/Model/PointSeries/BasePointSeriesWrapped.js +2 -0
- package/Charting/Model/PointSeries/IPointSeries.d.ts +2 -1
- package/Charting/Model/PointSeries/OhlcPointSeriesResampled.js +1 -1
- package/Charting/Model/PointSeries/XyPointSeriesWrapped.d.ts +2 -1
- package/Charting/Model/PointSeries/XyPointSeriesWrapped.js +2 -2
- package/Charting/Model/PointSeries/XyyPointSeriesResampled.js +1 -1
- package/Charting/Model/UniformHeatmapDataSeries.d.ts +31 -11
- package/Charting/Model/UniformHeatmapDataSeries.js +72 -4
- package/Charting/Model/XyDataSeries.d.ts +0 -8
- package/Charting/Model/XyDataSeries.js +21 -5
- package/Charting/Model/XyTextDataSeries.d.ts +2 -0
- package/Charting/Model/XyTextDataSeries.js +35 -4
- package/Charting/Model/XyyDataSeries.d.ts +2 -0
- package/Charting/Model/XyyDataSeries.js +50 -26
- package/Charting/Model/XyzDataSeries.d.ts +3 -0
- package/Charting/Model/XyzDataSeries.js +36 -10
- package/Charting/Numerics/CoordinateCalculators/CategoryCoordinateCalculator.d.ts +3 -5
- package/Charting/Numerics/CoordinateCalculators/CategoryCoordinateCalculator.js +5 -7
- package/Charting/Numerics/CoordinateCalculators/CoordinateCalculatorBase.d.ts +2 -1
- package/Charting/Numerics/CoordinateCalculators/CoordinateCalculatorBase.js +29 -9
- package/Charting/Numerics/CoordinateCalculators/FlippedCategoryCoordinateCalculator.d.ts +3 -5
- package/Charting/Numerics/CoordinateCalculators/FlippedCategoryCoordinateCalculator.js +5 -7
- package/Charting/Numerics/Resamplers/ExtremeResamplerHelper.d.ts +14 -10
- package/Charting/Numerics/Resamplers/ExtremeResamplerHelper.js +105 -69
- package/Charting/Numerics/Resamplers/ResamplingParams.d.ts +4 -2
- package/Charting/Numerics/Resamplers/ResamplingParams.js +12 -7
- package/Charting/Numerics/TickCoordinateProviders/TickCoordinatesProvider.d.ts +5 -0
- package/Charting/Numerics/TickCoordinateProviders/TickCoordinatesProvider.js +7 -0
- package/Charting/Numerics/TickProviders/NumericTickProvider.js +3 -4
- package/Charting/Numerics/TickProviders/TickProvider.d.ts +5 -0
- package/Charting/Numerics/TickProviders/TickProvider.js +7 -0
- package/Charting/Services/SciChartRenderer.js +15 -5
- package/Charting/Services/TitleRenderer.d.ts +2 -1
- package/Charting/Services/TitleRenderer.js +35 -14
- package/Charting/Visuals/Annotations/AdornerLayer.d.ts +1 -1
- package/Charting/Visuals/Annotations/AnnotationBase.d.ts +6 -6
- package/Charting/Visuals/Annotations/AnnotationBase.js +81 -61
- package/Charting/Visuals/Annotations/CursorTooltipSvgAnnotation.js +4 -0
- package/Charting/Visuals/Annotations/IAnnotation.d.ts +9 -4
- package/Charting/Visuals/Annotations/IAnnotation.js +6 -0
- package/Charting/Visuals/Annotations/LineAnnotation.js +3 -1
- package/Charting/Visuals/Annotations/NativeTextAnnotation.js +4 -0
- package/Charting/Visuals/Annotations/RenderContextAnnotationBase.d.ts +5 -0
- package/Charting/Visuals/Annotations/RenderContextAnnotationBase.js +16 -0
- package/Charting/Visuals/Annotations/RolloverTooltipSvgAnnotation.js +6 -0
- package/Charting/Visuals/Annotations/constants.d.ts +1 -0
- package/Charting/Visuals/Annotations/constants.js +1 -0
- package/Charting/Visuals/Axis/AxisBase2D.d.ts +23 -8
- package/Charting/Visuals/Axis/AxisBase2D.js +46 -10
- package/Charting/Visuals/Axis/AxisCore.d.ts +6 -3
- package/Charting/Visuals/Axis/AxisCore.js +100 -54
- package/Charting/Visuals/Axis/AxisRenderer.d.ts +2 -1
- package/Charting/Visuals/Axis/AxisRenderer.js +40 -16
- package/Charting/Visuals/Axis/AxisTitleRenderer.d.ts +1 -0
- package/Charting/Visuals/Axis/AxisTitleRenderer.js +4 -0
- package/Charting/Visuals/Axis/CategoryAxisBase.js +4 -4
- package/Charting/Visuals/Axis/DeltaCalculator/DateTimeDeltaCalculator.js +14 -9
- package/Charting/Visuals/Axis/DeltaCalculator/DeltaCalculator.d.ts +5 -0
- package/Charting/Visuals/Axis/DeltaCalculator/DeltaCalculator.js +7 -0
- package/Charting/Visuals/Axis/LabelProvider/LabelCache.d.ts +2 -2
- package/Charting/Visuals/Axis/LabelProvider/LabelCache.js +8 -1
- package/Charting/Visuals/Axis/LabelProvider/LabelProvider.d.ts +7 -1
- package/Charting/Visuals/Axis/LabelProvider/LabelProvider.js +34 -8
- package/Charting/Visuals/Axis/LabelProvider/LabelProviderBase2D.d.ts +4 -2
- package/Charting/Visuals/Axis/LabelProvider/LabelProviderBase2D.js +8 -2
- package/Charting/Visuals/Axis/LabelProvider/PieLabelProvider.d.ts +1 -0
- package/Charting/Visuals/Axis/LabelProvider/PieLabelProvider.js +1 -0
- package/Charting/Visuals/HeatmapLegend.d.ts +3 -2
- package/Charting/Visuals/HeatmapLegend.js +33 -12
- package/Charting/Visuals/Helpers/NativeObject.d.ts +8 -5
- package/Charting/Visuals/Helpers/NativeObject.js +42 -21
- package/Charting/Visuals/Helpers/drawLabel.js +3 -1
- package/Charting/Visuals/I2DSurfaceOptions.d.ts +0 -15
- package/Charting/Visuals/Legend/ManualLegend.d.ts +56 -0
- package/Charting/Visuals/Legend/ManualLegend.js +138 -0
- package/Charting/Visuals/Legend/SciChartLegend.js +4 -3
- package/Charting/Visuals/Legend/SciChartLegendBase.d.ts +65 -4
- package/Charting/Visuals/Legend/SciChartLegendBase.js +111 -23
- package/Charting/Visuals/Legend/SciChartPieLegend.js +1 -1
- package/Charting/Visuals/PointMarkers/BasePointMarker.d.ts +13 -1
- package/Charting/Visuals/PointMarkers/BasePointMarker.js +77 -19
- package/Charting/Visuals/PointMarkers/Constants.d.ts +2 -1
- package/Charting/Visuals/PointMarkers/Constants.js +1 -0
- package/Charting/Visuals/PointMarkers/IPointMarker.d.ts +2 -0
- package/Charting/Visuals/RenderableSeries/Animations/SeriesAnimation.js +4 -1
- package/Charting/Visuals/RenderableSeries/Animations/animationHelpers.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/BaseBandRenderableSeries.js +8 -7
- package/Charting/Visuals/RenderableSeries/BaseHeatmapRenderableSeries.d.ts +1 -0
- package/Charting/Visuals/RenderableSeries/BaseHeatmapRenderableSeries.js +5 -0
- package/Charting/Visuals/RenderableSeries/BaseOhlcRenderableSeries.js +10 -9
- package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.d.ts +3 -2
- package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.js +101 -69
- package/Charting/Visuals/RenderableSeries/BaseStackedCollection.js +18 -4
- package/Charting/Visuals/RenderableSeries/BaseStackedRenderableSeries.js +12 -3
- package/Charting/Visuals/RenderableSeries/DataLabels/BaseDataLabelProvider.d.ts +2 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/BaseDataLabelProvider.js +5 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelProvider.js +6 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelState.d.ts +1 -0
- package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelState.js +18 -5
- package/Charting/Visuals/RenderableSeries/DataLabels/NonUniformHeatmapDataLabelProvider.js +0 -1
- package/Charting/Visuals/RenderableSeries/DataLabels/TextDataLabelProvider.js +8 -2
- package/Charting/Visuals/RenderableSeries/DrawingProviders/BandSeriesDrawingProvider.d.ts +1 -0
- package/Charting/Visuals/RenderableSeries/DrawingProviders/BandSeriesDrawingProvider.js +35 -16
- package/Charting/Visuals/RenderableSeries/DrawingProviders/BaseSeriesDrawingProvider.d.ts +5 -4
- package/Charting/Visuals/RenderableSeries/DrawingProviders/BaseSeriesDrawingProvider.js +70 -33
- package/Charting/Visuals/RenderableSeries/DrawingProviders/BubbleSeriesDrawingProvider.d.ts +1 -0
- package/Charting/Visuals/RenderableSeries/DrawingProviders/BubbleSeriesDrawingProvider.js +30 -9
- package/Charting/Visuals/RenderableSeries/DrawingProviders/ColumnSeriesDrawingProvider.d.ts +1 -0
- package/Charting/Visuals/RenderableSeries/DrawingProviders/ColumnSeriesDrawingProvider.js +37 -16
- package/Charting/Visuals/RenderableSeries/DrawingProviders/HeatmapHelpers.d.ts +47 -0
- package/Charting/Visuals/RenderableSeries/DrawingProviders/HeatmapHelpers.js +258 -0
- package/Charting/Visuals/RenderableSeries/DrawingProviders/LineSeriesDrawingProvider.js +26 -2
- package/Charting/Visuals/RenderableSeries/DrawingProviders/MountainSeriesDrawingProvider.d.ts +1 -0
- package/Charting/Visuals/RenderableSeries/DrawingProviders/MountainSeriesDrawingProvider.js +34 -15
- package/Charting/Visuals/RenderableSeries/DrawingProviders/NonUniformHeatmapDrawingProvider.js +5 -230
- package/Charting/Visuals/RenderableSeries/DrawingProviders/OhlcSeriesDrawingProvider.d.ts +1 -0
- package/Charting/Visuals/RenderableSeries/DrawingProviders/OhlcSeriesDrawingProvider.js +62 -37
- package/Charting/Visuals/RenderableSeries/DrawingProviders/PointMarkerDrawingProvider.js +30 -3
- package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformHeatmapDrawingProvider.d.ts +1 -0
- package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformHeatmapDrawingProvider.js +4 -1
- package/Charting/Visuals/RenderableSeries/FastBubbleRenderableSeries.d.ts +0 -2
- package/Charting/Visuals/RenderableSeries/FastBubbleRenderableSeries.js +0 -4
- package/Charting/Visuals/RenderableSeries/FastTextRenderableSeries.d.ts +3 -0
- package/Charting/Visuals/RenderableSeries/FastTextRenderableSeries.js +10 -0
- package/Charting/Visuals/RenderableSeries/HitTest/BubbleSeriesHitTestProvider.d.ts +4 -0
- package/Charting/Visuals/RenderableSeries/HitTest/BubbleSeriesHitTestProvider.js +7 -0
- package/Charting/Visuals/RenderableSeries/HitTest/HitTestInfo.d.ts +4 -0
- package/Charting/Visuals/RenderableSeries/HitTest/HitTestInfo.js +9 -0
- package/Charting/Visuals/RenderableSeries/HoveredChangedArgs.d.ts +6 -1
- package/Charting/Visuals/RenderableSeries/HoveredChangedArgs.js +2 -1
- package/Charting/Visuals/RenderableSeries/IRenderableSeries.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/SelectionChangedArgs.d.ts +6 -1
- package/Charting/Visuals/RenderableSeries/SelectionChangedArgs.js +2 -1
- package/Charting/Visuals/RenderableSeries/ShaderEffect.d.ts +3 -2
- package/Charting/Visuals/RenderableSeries/ShaderEffect.js +29 -9
- package/Charting/Visuals/RenderableSeries/SplineBandRenderableSeries.js +50 -1
- package/Charting/Visuals/RenderableSeries/SplineLineRenderableSeries.js +13 -1
- package/Charting/Visuals/RenderableSeries/SplineMountainRenderableSeries.js +13 -1
- package/Charting/Visuals/RenderableSeries/StackedColumnCollection.js +3 -0
- package/Charting/Visuals/RenderableSeries/StackedMountainCollection.d.ts +0 -2
- package/Charting/Visuals/RenderableSeries/StackedMountainCollection.js +4 -4
- package/Charting/Visuals/RenderableSeries/StackedMountainRenderableSeries.d.ts +1 -0
- package/Charting/Visuals/RenderableSeries/StackedMountainRenderableSeries.js +8 -0
- package/Charting/Visuals/RenderableSeries/XyScatterRenderableSeries.d.ts +1 -2
- package/Charting/Visuals/RenderableSeries/XyScatterRenderableSeries.js +8 -3
- package/Charting/Visuals/RubberBandSvgRect/RubberBandSvgRect.d.ts +7 -1
- package/Charting/Visuals/RubberBandSvgRect/RubberBandSvgRect.js +38 -12
- package/Charting/Visuals/SciChartDefaults.d.ts +10 -0
- package/Charting/Visuals/SciChartDefaults.js +10 -0
- package/Charting/Visuals/SciChartOverview.d.ts +2 -1
- package/Charting/Visuals/SciChartOverview.js +28 -8
- package/Charting/Visuals/SciChartPieSurface/SciChartPieSurface.d.ts +16 -3
- package/Charting/Visuals/SciChartPieSurface/SciChartPieSurface.js +125 -60
- package/Charting/Visuals/SciChartSurface.d.ts +4 -41
- package/Charting/Visuals/SciChartSurface.js +52 -66
- package/Charting/Visuals/SciChartSurfaceBase.d.ts +117 -13
- package/Charting/Visuals/SciChartSurfaceBase.js +177 -32
- package/Charting/Visuals/TextureManager/CanvasTexture.d.ts +2 -1
- package/Charting/Visuals/TextureManager/CanvasTexture.js +37 -17
- package/Charting/Visuals/TextureManager/TextureManager.d.ts +2 -1
- package/Charting/Visuals/TextureManager/TextureManager.js +27 -7
- package/Charting/Visuals/createMaster.d.ts +7 -2
- package/Charting/Visuals/createMaster.js +140 -45
- package/Charting/Visuals/createSingle.d.ts +0 -2
- package/Charting/Visuals/createSingle.js +46 -11
- package/Charting/Visuals/licenseManager2D.d.ts +7 -5
- package/Charting/Visuals/licenseManager2D.js +105 -53
- package/Charting/Visuals/loader.js +3 -1
- package/Charting/Visuals/sciChartInitCommon.d.ts +1 -1
- package/Charting/Visuals/sciChartInitCommon.js +5 -1
- package/Charting3D/CameraController.d.ts +1 -1
- package/Charting3D/CameraController.js +21 -7
- package/Charting3D/ChartModifiers/ChartModifierBase3D.d.ts +1 -0
- package/Charting3D/ChartModifiers/ChartModifierBase3D.js +4 -1
- package/Charting3D/ChartModifiers/OrbitModifier3D.d.ts +17 -5
- package/Charting3D/ChartModifiers/OrbitModifier3D.js +62 -26
- package/Charting3D/ChartModifiers/PinchZoomModifier3D.d.ts +81 -0
- package/Charting3D/ChartModifiers/PinchZoomModifier3D.js +164 -0
- package/Charting3D/ChartModifiers/ResetCamera3DModifier.d.ts +1 -1
- package/Charting3D/ChartModifiers/ResetCamera3DModifier.js +1 -2
- package/Charting3D/ChartModifiers/TooltipModifier3D.d.ts +122 -0
- package/Charting3D/ChartModifiers/TooltipModifier3D.js +427 -0
- package/Charting3D/I3DSurfaceOptions.d.ts +10 -0
- package/Charting3D/I3DSurfaceOptions.js +2 -0
- package/Charting3D/Model/DataSeries/BaseDataSeries3D.d.ts +2 -1
- package/Charting3D/Model/DataSeries/BaseDataSeries3D.js +27 -6
- package/Charting3D/Model/DataSeries/BaseGridDataSeries3D.d.ts +1 -1
- package/Charting3D/Model/DataSeries/BaseGridDataSeries3D.js +2 -2
- package/Charting3D/Model/DataSeries/IPointMetadata3D.d.ts +7 -2
- package/Charting3D/Model/DataSeries/UniformGridDataSeries3D.d.ts +8 -0
- package/Charting3D/Model/DataSeries/UniformGridDataSeries3D.js +12 -0
- package/Charting3D/Model/DataSeries/XyzDataSeries3D.d.ts +2 -2
- package/Charting3D/Model/DataSeries/XyzDataSeries3D.js +1 -1
- package/Charting3D/Vector3.d.ts +5 -0
- package/Charting3D/Vector3.js +7 -0
- package/Charting3D/Visuals/Annotations/TooltipSvgAnnotation3D.d.ts +88 -0
- package/Charting3D/Visuals/Annotations/TooltipSvgAnnotation3D.js +291 -0
- package/Charting3D/Visuals/Axis/AxisBase3D.d.ts +29 -3
- package/Charting3D/Visuals/Axis/AxisBase3D.js +46 -18
- package/Charting3D/Visuals/Axis/AxisBase3DLabelStyle.js +2 -1
- package/Charting3D/Visuals/Axis/AxisCubeEntity.d.ts +0 -4
- package/Charting3D/Visuals/Axis/AxisCubeEntity.js +3 -6
- package/Charting3D/Visuals/Axis/IAxisDescriptor.d.ts +2 -2
- package/Charting3D/Visuals/Axis/IAxisDescriptor.js +2 -2
- package/Charting3D/Visuals/Axis/NumericAxis3D.d.ts +3 -2
- package/Charting3D/Visuals/Axis/NumericAxis3D.js +7 -3
- package/Charting3D/Visuals/Primitives/BaseSceneEntity3D.d.ts +41 -30
- package/Charting3D/Visuals/Primitives/BaseSceneEntity3D.js +78 -26
- package/Charting3D/Visuals/Primitives/CrosshairLinesSceneEntity.d.ts +47 -0
- package/Charting3D/Visuals/Primitives/CrosshairLinesSceneEntity.js +106 -0
- package/Charting3D/Visuals/Primitives/EntityIdProvider.d.ts +29 -0
- package/Charting3D/Visuals/Primitives/EntityIdProvider.js +28 -0
- package/Charting3D/Visuals/Primitives/PointLine3DSceneEntity.d.ts +51 -0
- package/Charting3D/Visuals/Primitives/PointLine3DSceneEntity.js +190 -0
- package/Charting3D/Visuals/Primitives/RenderableSeriesSceneEntity.d.ts +12 -0
- package/Charting3D/Visuals/Primitives/RenderableSeriesSceneEntity.js +14 -0
- package/Charting3D/Visuals/Primitives/ScatterPointsSceneEntity.d.ts +11 -0
- package/Charting3D/Visuals/Primitives/ScatterPointsSceneEntity.js +23 -2
- package/Charting3D/Visuals/Primitives/SurfaceMeshSceneEntity.d.ts +3 -0
- package/Charting3D/Visuals/Primitives/SurfaceMeshSceneEntity.js +17 -1
- package/Charting3D/Visuals/RenderableSeries/BaseRenderableSeries3D.d.ts +21 -1
- package/Charting3D/Visuals/RenderableSeries/BaseRenderableSeries3D.js +78 -12
- package/Charting3D/Visuals/RenderableSeries/Constants.d.ts +2 -0
- package/Charting3D/Visuals/RenderableSeries/Constants.js +2 -0
- package/Charting3D/Visuals/RenderableSeries/ESeriesType.d.ts +2 -1
- package/Charting3D/Visuals/RenderableSeries/ESeriesType.js +1 -0
- package/Charting3D/Visuals/RenderableSeries/HitTestInfo3D.d.ts +37 -0
- package/Charting3D/Visuals/RenderableSeries/HitTestInfo3D.js +22 -0
- package/Charting3D/Visuals/RenderableSeries/PointLineRenderableSeries3D.d.ts +64 -0
- package/Charting3D/Visuals/RenderableSeries/PointLineRenderableSeries3D.js +105 -0
- package/Charting3D/Visuals/RenderableSeries/SeriesInfo3D.d.ts +51 -0
- package/Charting3D/Visuals/RenderableSeries/SeriesInfo3D.js +32 -0
- package/Charting3D/Visuals/RenderableSeries/SurfaceMeshSeriesInfo3D.d.ts +15 -0
- package/Charting3D/Visuals/RenderableSeries/SurfaceMeshSeriesInfo3D.js +112 -0
- package/Charting3D/Visuals/RenderableSeries/XyzSeriesInfo3D.d.ts +20 -0
- package/Charting3D/Visuals/RenderableSeries/XyzSeriesInfo3D.js +60 -0
- package/Charting3D/Visuals/RootSceneEntity.d.ts +0 -4
- package/Charting3D/Visuals/RootSceneEntity.js +3 -8
- package/Charting3D/Visuals/SciChart3DRenderer.d.ts +1 -0
- package/Charting3D/Visuals/SciChart3DRenderer.js +26 -0
- package/Charting3D/Visuals/SciChart3DSurface.d.ts +55 -7
- package/Charting3D/Visuals/SciChart3DSurface.js +136 -13
- package/Charting3D/Visuals/ViewportManager3DBase.d.ts +4 -0
- package/Charting3D/Visuals/ViewportManager3DBase.js +7 -1
- package/Charting3D/Visuals/createMaster3d.d.ts +1 -2
- package/Charting3D/Visuals/createMaster3d.js +81 -14
- package/Charting3D/Visuals/createSingle3d.js +34 -4
- package/Charting3D/Visuals/licenseManager3D.js +29 -25
- package/Core/BuildStamp.d.ts +1 -1
- package/Core/BuildStamp.js +2 -2
- package/Core/DeletableEntity.d.ts +34 -0
- package/Core/DeletableEntity.js +138 -0
- package/Core/Globals.d.ts +11 -0
- package/Core/Globals.js +13 -0
- package/Core/Guard.d.ts +6 -0
- package/Core/Guard.js +10 -0
- package/Core/Mouse/MouseManager.d.ts +23 -0
- package/Core/Mouse/MouseManager.js +53 -0
- package/Core/Telemetry.js +4 -6
- package/_wasm/scichart.browser.js +1 -1
- package/_wasm/scichart2d.data +0 -0
- package/_wasm/scichart2d.js +4 -294
- package/_wasm/scichart2d.wasm +0 -0
- package/_wasm/scichart3d.data +0 -0
- package/_wasm/scichart3d.js +4 -294
- package/_wasm/scichart3d.wasm +0 -0
- package/index.d.ts +42 -2
- package/index.dev.js +68876 -0
- package/index.js +81 -27
- package/index.min.js +1 -1
- package/package.json +3 -4
- package/types/ChartModifierType.d.ts +2 -0
- package/types/ChartModifierType.js +2 -0
- package/types/DefaultRenderLayer.d.ts +9 -8
- package/types/DefaultRenderLayer.js +9 -8
- package/types/NumberArray.d.ts +1 -0
- package/types/NumberArray.js +12 -1
- package/types/SceneEntityType.d.ts +13 -5
- package/types/SceneEntityType.js +13 -5
- package/types/TSciChart.d.ts +37 -8
- package/types/TSciChart3D.d.ts +126 -7
- package/types/licensingClasses.d.ts +2 -1
- package/types/licensingClasses.js +1 -0
- package/utils/MemoryUsageHelper.d.ts +92 -0
- package/utils/MemoryUsageHelper.js +221 -0
- package/utils/array.d.ts +8 -0
- package/utils/array.js +58 -1
- package/utils/colorUtil.d.ts +7 -0
- package/utils/colorUtil.js +13 -1
- package/utils/logger.d.ts +2 -0
- package/utils/logger.js +11 -0
- package/utils/parseColor.js +19 -4
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { CoordinateCalculatorBase } from "../../../Charting/Numerics/CoordinateCalculators/CoordinateCalculatorBase";
|
|
2
|
+
import { EAnnotationType } from "../../../Charting/Visuals/Annotations/IAnnotation";
|
|
3
|
+
import { ISvgAnnotationBaseOptions, SvgAnnotationBase } from "../../../Charting/Visuals/Annotations/SvgAnnotationBase";
|
|
4
|
+
import { SeriesInfo3D } from "../RenderableSeries/SeriesInfo3D";
|
|
5
|
+
export declare type TTooltip3DSvgTemplate = (seriesInfo: SeriesInfo3D, svgAnnotation: TooltipSvgAnnotation3D) => string;
|
|
6
|
+
export declare type TTooltip3DDataTemplate = (seriesInfo: SeriesInfo3D, svgAnnotation: TooltipSvgAnnotation3D) => string[];
|
|
7
|
+
export interface ITooltipSvgAnnotation3DOptions extends ISvgAnnotationBaseOptions {
|
|
8
|
+
title?: string;
|
|
9
|
+
tooltipSvgTemplate?: TTooltip3DSvgTemplate;
|
|
10
|
+
containerBackground?: string;
|
|
11
|
+
textStroke?: string;
|
|
12
|
+
tooltipLegendTemplate?: TTooltip3DSvgTemplate;
|
|
13
|
+
tooltipLegendOffsetX?: number;
|
|
14
|
+
tooltipLegendOffsetY?: number;
|
|
15
|
+
placementDivId?: string;
|
|
16
|
+
tooltipDataTemplate?: TTooltip3DDataTemplate;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* A Tooltip Annotation which provides an SVG tooltip over the chart. Used by the {@link TooltipModifier3D}
|
|
20
|
+
*/
|
|
21
|
+
export declare class TooltipSvgAnnotation3D extends SvgAnnotationBase {
|
|
22
|
+
/** @inheritDoc */
|
|
23
|
+
readonly type = EAnnotationType.SVG;
|
|
24
|
+
private titleProperty;
|
|
25
|
+
private tooltipSvgTemplateProperty;
|
|
26
|
+
private seriesInfoProperty;
|
|
27
|
+
private containerBackgroundProperty;
|
|
28
|
+
private textStrokeProperty;
|
|
29
|
+
private tooltipLegendTemplateProperty;
|
|
30
|
+
private tooltipLegendOffsetXProperty;
|
|
31
|
+
private tooltipLegendOffsetYProperty;
|
|
32
|
+
private tooltipDataTemplateProperty;
|
|
33
|
+
private svgLegend;
|
|
34
|
+
private isDirty;
|
|
35
|
+
private placementDivIdProperty?;
|
|
36
|
+
private svgDivRoot?;
|
|
37
|
+
/**
|
|
38
|
+
* Creates an instance of the {@link CursorTooltipSvgAnnotation}
|
|
39
|
+
* @param options
|
|
40
|
+
*/
|
|
41
|
+
constructor(options: ITooltipSvgAnnotation3DOptions);
|
|
42
|
+
/**
|
|
43
|
+
* Gets or sets seriesInfos {@link SeriesInfo} value on the tooltip
|
|
44
|
+
*/
|
|
45
|
+
get seriesInfo(): SeriesInfo3D;
|
|
46
|
+
/**
|
|
47
|
+
* Gets or sets seriesInfos {@link SeriesInfo} value on the tooltip
|
|
48
|
+
*/
|
|
49
|
+
set seriesInfo(newSeriesInfo: SeriesInfo3D);
|
|
50
|
+
get title(): string;
|
|
51
|
+
set title(value: string);
|
|
52
|
+
get tooltipSvgTemplate(): TTooltip3DSvgTemplate;
|
|
53
|
+
set tooltipSvgTemplate(value: TTooltip3DSvgTemplate);
|
|
54
|
+
get tooltipLegendTemplate(): TTooltip3DSvgTemplate;
|
|
55
|
+
set tooltipLegendTemplate(value: TTooltip3DSvgTemplate);
|
|
56
|
+
get tooltipDataTemplate(): TTooltip3DDataTemplate;
|
|
57
|
+
set tooltipDataTemplate(value: TTooltip3DDataTemplate);
|
|
58
|
+
get containerBackground(): string;
|
|
59
|
+
set containerBackground(value: string);
|
|
60
|
+
get tooltipLegendOffsetX(): number;
|
|
61
|
+
set tooltipLegendOffsetX(value: number);
|
|
62
|
+
get tooltipLegendOffsetY(): number;
|
|
63
|
+
set tooltipLegendOffsetY(value: number);
|
|
64
|
+
get textStroke(): string;
|
|
65
|
+
set textStroke(value: string);
|
|
66
|
+
/**
|
|
67
|
+
* Gets or sets the parent div element reference or id for the Tooltip
|
|
68
|
+
*/
|
|
69
|
+
get placementDivId(): string;
|
|
70
|
+
/**
|
|
71
|
+
* Gets or sets the parent div element reference or id for the Tooltip
|
|
72
|
+
*/
|
|
73
|
+
set placementDivId(value: string);
|
|
74
|
+
/**
|
|
75
|
+
* @inheritDoc
|
|
76
|
+
*/
|
|
77
|
+
update(xCalc: CoordinateCalculatorBase, yCalc: CoordinateCalculatorBase, xCoordSvgTrans: number, yCoordSvgTrans: number): void;
|
|
78
|
+
/** @inheritDoc */
|
|
79
|
+
delete(): void;
|
|
80
|
+
protected notifyPropertyChanged(propertyName: string): void;
|
|
81
|
+
/**
|
|
82
|
+
* @inheritDoc
|
|
83
|
+
*/
|
|
84
|
+
protected create(xCalc: CoordinateCalculatorBase, yCalc: CoordinateCalculatorBase, xCoordSvgTrans: number, yCoordSvgTrans: number): void;
|
|
85
|
+
private updateTooltip;
|
|
86
|
+
private updateLegendTooltip;
|
|
87
|
+
private updateExternalLegendTooltip;
|
|
88
|
+
}
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.TooltipSvgAnnotation3D = void 0;
|
|
19
|
+
var annotationHelpers_1 = require("../../../Charting/Visuals/Annotations/annotationHelpers");
|
|
20
|
+
var IAnnotation_1 = require("../../../Charting/Visuals/Annotations/IAnnotation");
|
|
21
|
+
var SvgAnnotationBase_1 = require("../../../Charting/Visuals/Annotations/SvgAnnotationBase");
|
|
22
|
+
var constants_1 = require("../../../Charting/Visuals/Annotations/constants");
|
|
23
|
+
/**
|
|
24
|
+
* A Tooltip Annotation which provides an SVG tooltip over the chart. Used by the {@link TooltipModifier3D}
|
|
25
|
+
*/
|
|
26
|
+
var TooltipSvgAnnotation3D = /** @class */ (function (_super) {
|
|
27
|
+
__extends(TooltipSvgAnnotation3D, _super);
|
|
28
|
+
/**
|
|
29
|
+
* Creates an instance of the {@link CursorTooltipSvgAnnotation}
|
|
30
|
+
* @param options
|
|
31
|
+
*/
|
|
32
|
+
function TooltipSvgAnnotation3D(options) {
|
|
33
|
+
var _this = this;
|
|
34
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
35
|
+
_this = _super.call(this, options) || this;
|
|
36
|
+
/** @inheritDoc */
|
|
37
|
+
_this.type = IAnnotation_1.EAnnotationType.SVG;
|
|
38
|
+
_this.tooltipLegendOffsetXProperty = 10;
|
|
39
|
+
_this.tooltipLegendOffsetYProperty = 10;
|
|
40
|
+
_this.isDirty = true;
|
|
41
|
+
_this.isHidden = true;
|
|
42
|
+
_this.titleProperty = (_a = options === null || options === void 0 ? void 0 : options.title) !== null && _a !== void 0 ? _a : _this.titleProperty;
|
|
43
|
+
_this.tooltipSvgTemplateProperty = (_b = options === null || options === void 0 ? void 0 : options.tooltipSvgTemplate) !== null && _b !== void 0 ? _b : _this.tooltipSvgTemplateProperty;
|
|
44
|
+
_this.containerBackgroundProperty = (_c = options === null || options === void 0 ? void 0 : options.containerBackground) !== null && _c !== void 0 ? _c : _this.containerBackgroundProperty;
|
|
45
|
+
_this.textStrokeProperty = (_d = options === null || options === void 0 ? void 0 : options.textStroke) !== null && _d !== void 0 ? _d : _this.textStrokeProperty;
|
|
46
|
+
_this.tooltipLegendTemplateProperty = (_e = options === null || options === void 0 ? void 0 : options.tooltipLegendTemplate) !== null && _e !== void 0 ? _e : _this.tooltipLegendTemplateProperty;
|
|
47
|
+
_this.tooltipLegendOffsetXProperty = (_f = options === null || options === void 0 ? void 0 : options.tooltipLegendOffsetX) !== null && _f !== void 0 ? _f : _this.tooltipLegendOffsetXProperty;
|
|
48
|
+
_this.tooltipLegendOffsetYProperty = (_g = options === null || options === void 0 ? void 0 : options.tooltipLegendOffsetY) !== null && _g !== void 0 ? _g : _this.tooltipLegendOffsetYProperty;
|
|
49
|
+
_this.placementDivIdProperty = (_h = options === null || options === void 0 ? void 0 : options.placementDivId) !== null && _h !== void 0 ? _h : _this.placementDivId;
|
|
50
|
+
_this.tooltipDataTemplateProperty = options === null || options === void 0 ? void 0 : options.tooltipDataTemplate;
|
|
51
|
+
if (_this.placementDivId) {
|
|
52
|
+
var svgRoot = document.getElementById(_this.placementDivId);
|
|
53
|
+
_this.svgDivRoot = svgRoot;
|
|
54
|
+
}
|
|
55
|
+
return _this;
|
|
56
|
+
}
|
|
57
|
+
Object.defineProperty(TooltipSvgAnnotation3D.prototype, "seriesInfo", {
|
|
58
|
+
/**
|
|
59
|
+
* Gets or sets seriesInfos {@link SeriesInfo} value on the tooltip
|
|
60
|
+
*/
|
|
61
|
+
get: function () {
|
|
62
|
+
return this.seriesInfoProperty;
|
|
63
|
+
},
|
|
64
|
+
/**
|
|
65
|
+
* Gets or sets seriesInfos {@link SeriesInfo} value on the tooltip
|
|
66
|
+
*/
|
|
67
|
+
set: function (newSeriesInfo) {
|
|
68
|
+
if (this.seriesInfoProperty !== newSeriesInfo) {
|
|
69
|
+
this.seriesInfoProperty = newSeriesInfo;
|
|
70
|
+
this.notifyPropertyChanged(constants_1.PROPERTY.SERIES_INFOS);
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
enumerable: false,
|
|
74
|
+
configurable: true
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(TooltipSvgAnnotation3D.prototype, "title", {
|
|
77
|
+
get: function () {
|
|
78
|
+
return this.titleProperty;
|
|
79
|
+
},
|
|
80
|
+
set: function (value) {
|
|
81
|
+
if (this.titleProperty !== value) {
|
|
82
|
+
this.titleProperty = value;
|
|
83
|
+
this.notifyPropertyChanged(constants_1.PROPERTY.TITLE);
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
enumerable: false,
|
|
87
|
+
configurable: true
|
|
88
|
+
});
|
|
89
|
+
Object.defineProperty(TooltipSvgAnnotation3D.prototype, "tooltipSvgTemplate", {
|
|
90
|
+
get: function () {
|
|
91
|
+
return this.tooltipSvgTemplateProperty;
|
|
92
|
+
},
|
|
93
|
+
set: function (value) {
|
|
94
|
+
this.tooltipSvgTemplateProperty = value;
|
|
95
|
+
this.notifyPropertyChanged(constants_1.PROPERTY.TOOLTIP_SVG_TEMPLATE);
|
|
96
|
+
},
|
|
97
|
+
enumerable: false,
|
|
98
|
+
configurable: true
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(TooltipSvgAnnotation3D.prototype, "tooltipLegendTemplate", {
|
|
101
|
+
get: function () {
|
|
102
|
+
return this.tooltipLegendTemplateProperty;
|
|
103
|
+
},
|
|
104
|
+
set: function (value) {
|
|
105
|
+
this.tooltipLegendTemplateProperty = value;
|
|
106
|
+
this.notifyPropertyChanged(constants_1.PROPERTY.TOOLTIP_LEGEND_TEMPLATE);
|
|
107
|
+
},
|
|
108
|
+
enumerable: false,
|
|
109
|
+
configurable: true
|
|
110
|
+
});
|
|
111
|
+
Object.defineProperty(TooltipSvgAnnotation3D.prototype, "tooltipDataTemplate", {
|
|
112
|
+
get: function () {
|
|
113
|
+
return this.tooltipDataTemplateProperty;
|
|
114
|
+
},
|
|
115
|
+
set: function (value) {
|
|
116
|
+
this.tooltipDataTemplateProperty = value;
|
|
117
|
+
this.notifyPropertyChanged(constants_1.PROPERTY.TOOLTIP_DATA_TEMPLATE);
|
|
118
|
+
},
|
|
119
|
+
enumerable: false,
|
|
120
|
+
configurable: true
|
|
121
|
+
});
|
|
122
|
+
Object.defineProperty(TooltipSvgAnnotation3D.prototype, "containerBackground", {
|
|
123
|
+
get: function () {
|
|
124
|
+
return this.containerBackgroundProperty;
|
|
125
|
+
},
|
|
126
|
+
set: function (value) {
|
|
127
|
+
if (this.containerBackgroundProperty !== value) {
|
|
128
|
+
this.containerBackgroundProperty = value;
|
|
129
|
+
this.notifyPropertyChanged(constants_1.PROPERTY.CONTAINER_BACKGROUND);
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
enumerable: false,
|
|
133
|
+
configurable: true
|
|
134
|
+
});
|
|
135
|
+
Object.defineProperty(TooltipSvgAnnotation3D.prototype, "tooltipLegendOffsetX", {
|
|
136
|
+
get: function () {
|
|
137
|
+
return this.tooltipLegendOffsetXProperty;
|
|
138
|
+
},
|
|
139
|
+
set: function (value) {
|
|
140
|
+
if (this.tooltipLegendOffsetXProperty !== value) {
|
|
141
|
+
this.tooltipLegendOffsetXProperty = value;
|
|
142
|
+
this.notifyPropertyChanged(constants_1.PROPERTY.TOOLTIP_LEGEND_OFFSET_X);
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
enumerable: false,
|
|
146
|
+
configurable: true
|
|
147
|
+
});
|
|
148
|
+
Object.defineProperty(TooltipSvgAnnotation3D.prototype, "tooltipLegendOffsetY", {
|
|
149
|
+
get: function () {
|
|
150
|
+
return this.tooltipLegendOffsetYProperty;
|
|
151
|
+
},
|
|
152
|
+
set: function (value) {
|
|
153
|
+
if (this.tooltipLegendOffsetYProperty !== value) {
|
|
154
|
+
this.tooltipLegendOffsetYProperty = value;
|
|
155
|
+
this.notifyPropertyChanged(constants_1.PROPERTY.TOOLTIP_LEGEND_OFFSET_Y);
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
enumerable: false,
|
|
159
|
+
configurable: true
|
|
160
|
+
});
|
|
161
|
+
Object.defineProperty(TooltipSvgAnnotation3D.prototype, "textStroke", {
|
|
162
|
+
get: function () {
|
|
163
|
+
return this.textStrokeProperty;
|
|
164
|
+
},
|
|
165
|
+
set: function (value) {
|
|
166
|
+
if (this.textStrokeProperty !== value) {
|
|
167
|
+
this.textStrokeProperty = value;
|
|
168
|
+
this.notifyPropertyChanged(constants_1.PROPERTY.TEXT_STROKE);
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
enumerable: false,
|
|
172
|
+
configurable: true
|
|
173
|
+
});
|
|
174
|
+
Object.defineProperty(TooltipSvgAnnotation3D.prototype, "placementDivId", {
|
|
175
|
+
/**
|
|
176
|
+
* Gets or sets the parent div element reference or id for the Tooltip
|
|
177
|
+
*/
|
|
178
|
+
get: function () {
|
|
179
|
+
return this.placementDivIdProperty;
|
|
180
|
+
},
|
|
181
|
+
/**
|
|
182
|
+
* Gets or sets the parent div element reference or id for the Tooltip
|
|
183
|
+
*/
|
|
184
|
+
set: function (value) {
|
|
185
|
+
if (this.placementDivIdProperty !== value) {
|
|
186
|
+
this.placementDivIdProperty = value;
|
|
187
|
+
this.notifyPropertyChanged("PLACEMENT_DIV_ID");
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
enumerable: false,
|
|
191
|
+
configurable: true
|
|
192
|
+
});
|
|
193
|
+
/**
|
|
194
|
+
* @inheritDoc
|
|
195
|
+
*/
|
|
196
|
+
TooltipSvgAnnotation3D.prototype.update = function (xCalc, yCalc, xCoordSvgTrans, yCoordSvgTrans) {
|
|
197
|
+
if (!this.isDirty)
|
|
198
|
+
return;
|
|
199
|
+
this.isDirty = false;
|
|
200
|
+
if (this.svg) {
|
|
201
|
+
this.delete();
|
|
202
|
+
}
|
|
203
|
+
this.create(xCalc, yCalc, xCoordSvgTrans, yCoordSvgTrans);
|
|
204
|
+
if (this.placementDivId) {
|
|
205
|
+
this.updateExternalLegendTooltip();
|
|
206
|
+
}
|
|
207
|
+
else {
|
|
208
|
+
this.updateTooltip(xCoordSvgTrans, yCoordSvgTrans);
|
|
209
|
+
this.updateLegendTooltip();
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
/** @inheritDoc */
|
|
213
|
+
TooltipSvgAnnotation3D.prototype.delete = function () {
|
|
214
|
+
if (!this.parentSurface || this.parentSurface.isDeleted || !this.svg)
|
|
215
|
+
return;
|
|
216
|
+
if (this.placementDivId) {
|
|
217
|
+
this.svgDivRoot.removeChild(this.svg);
|
|
218
|
+
}
|
|
219
|
+
else {
|
|
220
|
+
this.svgRoot.removeChild(this.svg);
|
|
221
|
+
}
|
|
222
|
+
this.setSvg(undefined);
|
|
223
|
+
if (this.svgLegend) {
|
|
224
|
+
this.svgRoot.removeChild(this.svgLegend);
|
|
225
|
+
this.svgLegend = undefined;
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
TooltipSvgAnnotation3D.prototype.notifyPropertyChanged = function (propertyName) {
|
|
229
|
+
_super.prototype.notifyPropertyChanged.call(this, propertyName);
|
|
230
|
+
this.isDirty = true;
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* @inheritDoc
|
|
234
|
+
*/
|
|
235
|
+
TooltipSvgAnnotation3D.prototype.create = function (xCalc, yCalc, xCoordSvgTrans, yCoordSvgTrans) {
|
|
236
|
+
if (!this.tooltipSvgTemplate)
|
|
237
|
+
throw Error("Please provide a tooltipSvgTemplate for CursorTooltipSvgAnnotation");
|
|
238
|
+
var svgString = this.tooltipSvgTemplate(this.seriesInfo, this);
|
|
239
|
+
if (this.placementDivId) {
|
|
240
|
+
var svgNode = annotationHelpers_1.annotationHelpers.createSvg(svgString, this.svgDivRoot);
|
|
241
|
+
this.setSvg(svgNode);
|
|
242
|
+
}
|
|
243
|
+
else {
|
|
244
|
+
var svgNode = annotationHelpers_1.annotationHelpers.createSvg(svgString, this.svgRoot);
|
|
245
|
+
this.setSvg(svgNode);
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
TooltipSvgAnnotation3D.prototype.updateTooltip = function (xCoordSvgTrans, yCoordSvgTrans) {
|
|
249
|
+
var _a, _b, _c, _d;
|
|
250
|
+
var shiftX = (_a = this.xCoordShift) !== null && _a !== void 0 ? _a : 0;
|
|
251
|
+
var shiftY = (_b = this.yCoordShift) !== null && _b !== void 0 ? _b : 0;
|
|
252
|
+
this.svg.style.display = this.isHidden ? "none" : "block";
|
|
253
|
+
var mousePointX = (_c = this.x1) !== null && _c !== void 0 ? _c : 0;
|
|
254
|
+
var mousePointY = (_d = this.y1) !== null && _d !== void 0 ? _d : 0;
|
|
255
|
+
var x1Coord = shiftX + mousePointX + xCoordSvgTrans;
|
|
256
|
+
var y1Coord = shiftY + mousePointY + yCoordSvgTrans;
|
|
257
|
+
if (isNaN(x1Coord) || isNaN(y1Coord)) {
|
|
258
|
+
this.svg.style.display = "none";
|
|
259
|
+
}
|
|
260
|
+
else {
|
|
261
|
+
this.setSvgAttribute("x", x1Coord);
|
|
262
|
+
this.setSvgAttribute("y", y1Coord);
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
TooltipSvgAnnotation3D.prototype.updateLegendTooltip = function () {
|
|
266
|
+
if (this.tooltipLegendTemplate) {
|
|
267
|
+
var svgString = this.seriesInfo ? this.tooltipLegendTemplate(this.seriesInfo, this) : "<svg></svg>";
|
|
268
|
+
if (this.svgLegend) {
|
|
269
|
+
this.svgRoot.removeChild(this.svgLegend);
|
|
270
|
+
}
|
|
271
|
+
var svgNode = annotationHelpers_1.annotationHelpers.createSvg(svgString, this.svgRoot);
|
|
272
|
+
this.svgLegend = svgNode;
|
|
273
|
+
this.svgLegend.setAttribute("x", this.tooltipLegendOffsetX.toString());
|
|
274
|
+
this.svgLegend.setAttribute("y", this.tooltipLegendOffsetY.toString());
|
|
275
|
+
}
|
|
276
|
+
};
|
|
277
|
+
TooltipSvgAnnotation3D.prototype.updateExternalLegendTooltip = function () {
|
|
278
|
+
if (this.tooltipLegendTemplate) {
|
|
279
|
+
var svgString = this.seriesInfo
|
|
280
|
+
? this.tooltipLegendTemplate(this.seriesInfo, this)
|
|
281
|
+
: "<svg style='display: none'></svg>";
|
|
282
|
+
if (this.svgLegend) {
|
|
283
|
+
this.svgLegend.removeChild(this.svgLegend);
|
|
284
|
+
}
|
|
285
|
+
var svgNode = annotationHelpers_1.annotationHelpers.createSvg(svgString, this.svgRoot);
|
|
286
|
+
this.svgLegend = svgNode;
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
return TooltipSvgAnnotation3D;
|
|
290
|
+
}(SvgAnnotationBase_1.SvgAnnotationBase));
|
|
291
|
+
exports.TooltipSvgAnnotation3D = TooltipSvgAnnotation3D;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import { TLabelProviderDefinition } from "../../../Builder/buildAxis";
|
|
1
2
|
import { IThemeable } from "../../../Charting/Themes/IThemeable";
|
|
2
3
|
import { IThemeProvider } from "../../../Charting/Themes/IThemeProvider";
|
|
3
4
|
import { AxisCore } from "../../../Charting/Visuals/Axis/AxisCore";
|
|
5
|
+
import { IAxisCoreOptions } from "../../../Charting/Visuals/Axis/IAxisCoreOptions";
|
|
6
|
+
import { ILabelOptions } from "../../../Charting/Visuals/Axis/LabelProvider/LabelProvider";
|
|
7
|
+
import { LabelProviderBase2D } from "../../../Charting/Visuals/Axis/LabelProvider/LabelProviderBase2D";
|
|
4
8
|
import { NumberRange } from "../../../Core/NumberRange";
|
|
5
9
|
import { ObservableArray } from "../../../Core/ObservableArray";
|
|
6
10
|
import { TSciChart3D } from "../../../types/TSciChart3D";
|
|
@@ -10,11 +14,34 @@ import { AxisBase3DLabelStyle } from "./AxisBase3DLabelStyle";
|
|
|
10
14
|
import { EAxisSideClipping } from "./EAxisSideClipping";
|
|
11
15
|
import { ETextAlignment3D } from "./ETextAlignment3D";
|
|
12
16
|
import { IAxisDescriptor } from "./IAxisDescriptor";
|
|
13
|
-
import { IAxisCoreOptions } from "../../../Charting/Visuals/Axis/IAxisCoreOptions";
|
|
14
17
|
/**
|
|
15
18
|
* Optional parameters passed to {@link AxisBase3D} constructor to set defaults at construction time
|
|
16
19
|
*/
|
|
17
|
-
export interface IAxisBase3dOptions extends IAxisCoreOptions {
|
|
20
|
+
export interface IAxisBase3dOptions extends IAxisCoreOptions, ILabelOptions {
|
|
21
|
+
/**
|
|
22
|
+
* Gets or sets tick labels offset from the axis plane
|
|
23
|
+
*/
|
|
24
|
+
tickLabelsOffset?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Gets or sets title text offset from the axis plane
|
|
27
|
+
*/
|
|
28
|
+
titleOffset?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Sets the Plane border color as an HTML Color string
|
|
31
|
+
*/
|
|
32
|
+
planeBorderColor?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Sets the plane border thickness in world units
|
|
35
|
+
*/
|
|
36
|
+
planeBorderThickness?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Sets the plane background color as an HTML Color string
|
|
39
|
+
*/
|
|
40
|
+
planeBackgroundFill?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Sets a {@link LabelProvider} - a class which is responsible for formatting axis labels and cursor labels from numeric values
|
|
43
|
+
*/
|
|
44
|
+
labelProvider?: LabelProviderBase2D | TLabelProviderDefinition;
|
|
18
45
|
}
|
|
19
46
|
/**
|
|
20
47
|
* Which axis - used for calculations
|
|
@@ -55,7 +82,6 @@ export declare abstract class AxisBase3D extends AxisCore implements IThemeable
|
|
|
55
82
|
private isYAxisProperty;
|
|
56
83
|
private isZAxisProperty;
|
|
57
84
|
private titleOffsetProperty;
|
|
58
|
-
private backgroundColorProperty;
|
|
59
85
|
private tickLabelsOffsetProperty;
|
|
60
86
|
/**
|
|
61
87
|
* Creates an instance of the {@link AxisBase3D}
|
|
@@ -17,11 +17,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.AxisBase3D = exports.EWhichAxis = void 0;
|
|
19
19
|
var AxisCore_1 = require("../../../Charting/Visuals/Axis/AxisCore");
|
|
20
|
+
var SciChartSurfaceBase_1 = require("../../../Charting/Visuals/SciChartSurfaceBase");
|
|
21
|
+
var DpiHelper_1 = require("../../../Charting/Visuals/TextureManager/DpiHelper");
|
|
20
22
|
var NumberRange_1 = require("../../../Core/NumberRange");
|
|
21
23
|
var parseColor_1 = require("../../../utils/parseColor");
|
|
22
24
|
var AxisBase3DLabelStyle_1 = require("./AxisBase3DLabelStyle");
|
|
23
25
|
var constants_1 = require("./constants");
|
|
24
|
-
var DpiHelper_1 = require("../../../Charting/Visuals/TextureManager/DpiHelper");
|
|
25
26
|
/**
|
|
26
27
|
* Which axis - used for calculations
|
|
27
28
|
*/
|
|
@@ -51,30 +52,57 @@ var AxisBase3D = /** @class */ (function (_super) {
|
|
|
51
52
|
* @protected
|
|
52
53
|
*/
|
|
53
54
|
function AxisBase3D(webAssemblyContext, options) {
|
|
54
|
-
var _this =
|
|
55
|
+
var _this = this;
|
|
56
|
+
var _a, _b, _c, _d, _e;
|
|
57
|
+
_this = _super.call(this, options) || this;
|
|
55
58
|
_this.labelDepthTestEnabledProperty = false;
|
|
56
|
-
_this.
|
|
59
|
+
_this.planeBorderColorProperty = SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME.planeBorderColor;
|
|
60
|
+
_this.axisPlaneBackgroundFillProperty = SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME.axisPlaneBackgroundFill;
|
|
57
61
|
_this.isYAxisProperty = false;
|
|
58
62
|
_this.isZAxisProperty = false;
|
|
59
|
-
_this.titleOffsetProperty = 50;
|
|
60
|
-
_this.backgroundColorProperty = "black";
|
|
61
|
-
_this.tickLabelsOffsetProperty = 10;
|
|
62
63
|
_this.labelStyle = new AxisBase3DLabelStyle_1.AxisBase3DLabelStyle(_this);
|
|
63
64
|
_this.webAssemblyContext3D = webAssemblyContext;
|
|
64
65
|
_this.isXAxisProperty = false;
|
|
66
|
+
_this.tickLabelsOffsetProperty = (_a = options === null || options === void 0 ? void 0 : options.tickLabelsOffset) !== null && _a !== void 0 ? _a : 10;
|
|
67
|
+
_this.titleOffsetProperty = (_b = options === null || options === void 0 ? void 0 : options.titleOffset) !== null && _b !== void 0 ? _b : 50;
|
|
68
|
+
_this.planeBorderColorProperty = (_c = options === null || options === void 0 ? void 0 : options.planeBorderColor) !== null && _c !== void 0 ? _c : _this.planeBorderColorProperty;
|
|
69
|
+
_this.planeBorderThicknessProperty = (_d = options === null || options === void 0 ? void 0 : options.planeBorderThickness) !== null && _d !== void 0 ? _d : 2;
|
|
70
|
+
_this.axisPlaneBackgroundFillProperty = (_e = options === null || options === void 0 ? void 0 : options.planeBackgroundFill) !== null && _e !== void 0 ? _e : _this.axisPlaneBackgroundFillProperty;
|
|
65
71
|
return _this;
|
|
66
72
|
}
|
|
67
73
|
/**
|
|
68
74
|
* @inheritDoc
|
|
69
75
|
*/
|
|
70
76
|
AxisBase3D.prototype.applyTheme = function (themeProvider) {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
this.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
this.
|
|
77
|
-
|
|
77
|
+
var _a, _b, _c, _d, _e, _f;
|
|
78
|
+
var previousThemeProvider = this.parentSurface.previousThemeProvider;
|
|
79
|
+
if (((_a = this.labelStyle) === null || _a === void 0 ? void 0 : _a.foreground) === previousThemeProvider.labelForegroundBrush) {
|
|
80
|
+
this.labelStyle.foreground = themeProvider.labelForegroundBrush;
|
|
81
|
+
}
|
|
82
|
+
if (this.axisBandsFill === previousThemeProvider.axisBandsFill) {
|
|
83
|
+
this.axisBandsFill = themeProvider.axisBandsFill;
|
|
84
|
+
}
|
|
85
|
+
if (((_b = this.majorGridLineStyle) === null || _b === void 0 ? void 0 : _b.color) === previousThemeProvider.majorGridLineBrush) {
|
|
86
|
+
this.majorGridLineStyle = { color: themeProvider.majorGridLineBrush };
|
|
87
|
+
}
|
|
88
|
+
if (((_c = this.majorTickLineStyle) === null || _c === void 0 ? void 0 : _c.color) === previousThemeProvider.majorGridLineBrush) {
|
|
89
|
+
this.majorTickLineStyle = { color: themeProvider.majorGridLineBrush };
|
|
90
|
+
}
|
|
91
|
+
if (((_d = this.minorGridLineStyle) === null || _d === void 0 ? void 0 : _d.color) === previousThemeProvider.minorGridLineBrush) {
|
|
92
|
+
this.minorGridLineStyle = { color: themeProvider.minorGridLineBrush };
|
|
93
|
+
}
|
|
94
|
+
if (((_e = this.minorTickLineStyle) === null || _e === void 0 ? void 0 : _e.color) === previousThemeProvider.minorGridLineBrush) {
|
|
95
|
+
this.minorTickLineStyle = { color: themeProvider.minorGridLineBrush };
|
|
96
|
+
}
|
|
97
|
+
if (((_f = this.axisTitleStyle) === null || _f === void 0 ? void 0 : _f.color) === previousThemeProvider.axisTitleColor) {
|
|
98
|
+
this.axisTitleStyle = { color: themeProvider.axisTitleColor };
|
|
99
|
+
}
|
|
100
|
+
if (this.planeBorderColor === previousThemeProvider.planeBorderColor) {
|
|
101
|
+
this.planeBorderColor = themeProvider.planeBorderColor;
|
|
102
|
+
}
|
|
103
|
+
if (this.axisPlaneBackgroundFill === previousThemeProvider.axisPlaneBackgroundFill) {
|
|
104
|
+
this.axisPlaneBackgroundFill = themeProvider.axisPlaneBackgroundFill;
|
|
105
|
+
}
|
|
78
106
|
};
|
|
79
107
|
Object.defineProperty(AxisBase3D.prototype, "isYAxis", {
|
|
80
108
|
/**
|
|
@@ -259,13 +287,13 @@ var AxisBase3D = /** @class */ (function (_super) {
|
|
|
259
287
|
* Gets or sets the color of the background of the axis plane as an HTML Color code
|
|
260
288
|
*/
|
|
261
289
|
get: function () {
|
|
262
|
-
return this.
|
|
290
|
+
return this.axisPlaneBackgroundFill;
|
|
263
291
|
},
|
|
264
292
|
/**
|
|
265
293
|
* Gets or sets the color of the background of the axis plane as an HTML Color code
|
|
266
294
|
*/
|
|
267
295
|
set: function (value) {
|
|
268
|
-
this.
|
|
296
|
+
this.axisPlaneBackgroundFill = value;
|
|
269
297
|
this.notifyPropertyChanged(constants_1.PROPERTY.BACKGROUND_COLOR);
|
|
270
298
|
},
|
|
271
299
|
enumerable: false,
|
|
@@ -299,7 +327,7 @@ var AxisBase3D = /** @class */ (function (_super) {
|
|
|
299
327
|
* to pass to the WebAssembly 3D Engine for drawing this axis
|
|
300
328
|
*/
|
|
301
329
|
AxisBase3D.prototype.toAxisDescriptor = function () {
|
|
302
|
-
var defaultColor = "
|
|
330
|
+
var defaultColor = "transparent";
|
|
303
331
|
var defaultBandsColor = "#202123";
|
|
304
332
|
var _a = this.getTickCoordsAndLabels(), majorTickCoords = _a.majorTickCoords, minorTickCoords = _a.minorTickCoords, majorTickLabels = _a.majorTickLabels;
|
|
305
333
|
// @ts-ignore
|
|
@@ -307,9 +335,9 @@ var AxisBase3D = /** @class */ (function (_super) {
|
|
|
307
335
|
var descriptor = {
|
|
308
336
|
axisTitle: Array.isArray(this.axisTitle) ? this.axisTitle.join(" ") : this.axisTitle,
|
|
309
337
|
axisSize: this.getAxisSize(),
|
|
310
|
-
backgroundColor: (0, parseColor_1.
|
|
338
|
+
backgroundColor: (0, parseColor_1.parseColorToTArgb)(this.axisPlaneBackgroundFill || defaultColor),
|
|
311
339
|
bandColor: (0, parseColor_1.parseColorToTArgb)(this.axisBandsFill || defaultBandsColor),
|
|
312
|
-
borderColor: (0, parseColor_1.
|
|
340
|
+
borderColor: (0, parseColor_1.parseColorToTArgb)(this.planeBorderColor || defaultColor),
|
|
313
341
|
borderThickness: this.planeBorderThickness,
|
|
314
342
|
drawBands: this.drawMajorBands,
|
|
315
343
|
drawMajorGridlines: this.drawMajorGridLines,
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AxisBase3DLabelStyle = void 0;
|
|
4
|
+
var SciChartSurfaceBase_1 = require("../../../Charting/Visuals/SciChartSurfaceBase");
|
|
4
5
|
var constants_1 = require("./constants");
|
|
5
6
|
var AxisBase3DLabelStyle = /** @class */ (function () {
|
|
6
7
|
function AxisBase3DLabelStyle(parentAxis) {
|
|
7
8
|
this.dpiScalingProperty = 96;
|
|
8
9
|
this.fontFamilyProperty = "Arial";
|
|
9
10
|
this.fontSizeProperty = 14;
|
|
10
|
-
this.foregroundProperty =
|
|
11
|
+
this.foregroundProperty = SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME.labelForegroundBrush;
|
|
11
12
|
this.parentAxis = parentAxis;
|
|
12
13
|
}
|
|
13
14
|
Object.defineProperty(AxisBase3DLabelStyle.prototype, "alignment", {
|
|
@@ -24,10 +24,6 @@ export declare class AxisCubeEntity extends BaseSceneEntity3D<SCRTAxisCubeEntity
|
|
|
24
24
|
* @param sciChart3DSurface The {@link SciChart3DSurface} associated with the axis cube
|
|
25
25
|
*/
|
|
26
26
|
constructor(webAssemblyContext: TSciChart3D, sciChart3DSurface: SciChart3DSurface);
|
|
27
|
-
/**
|
|
28
|
-
* @inheritDoc
|
|
29
|
-
*/
|
|
30
|
-
delete(): void;
|
|
31
27
|
/**
|
|
32
28
|
* @inheritDoc
|
|
33
29
|
*/
|
|
@@ -42,12 +42,6 @@ var AxisCubeEntity = /** @class */ (function (_super) {
|
|
|
42
42
|
_this.setNativeEntity(webAssemblyContext.SCRTAxisCubeEntity.implement(_this));
|
|
43
43
|
return _this;
|
|
44
44
|
}
|
|
45
|
-
/**
|
|
46
|
-
* @inheritDoc
|
|
47
|
-
*/
|
|
48
|
-
AxisCubeEntity.prototype.delete = function () {
|
|
49
|
-
_super.prototype.delete.call(this);
|
|
50
|
-
};
|
|
51
45
|
/**
|
|
52
46
|
* @inheritDoc
|
|
53
47
|
*/
|
|
@@ -109,6 +103,9 @@ var updateScrtAxisDescriptor = function (wasmContext, scrtAxisDesc, axisDesc) {
|
|
|
109
103
|
scrtAxisDesc.m_bMajorTicksEnabled = axisDesc.drawMajorTicks;
|
|
110
104
|
scrtAxisDesc.m_bMinorLinesEnabled = axisDesc.drawMinorGridlines;
|
|
111
105
|
scrtAxisDesc.m_bMinorTicksEnabled = axisDesc.drawMinorTicks;
|
|
106
|
+
scrtAxisDesc.m_fBorderThickness = axisDesc.borderThickness;
|
|
107
|
+
(0, tsrExtensions_1.updateTsrVector4)(axisDesc.borderColor, scrtAxisDesc.GetBorderColorPtr());
|
|
108
|
+
(0, tsrExtensions_1.updateTsrVector4)(axisDesc.backgroundColor, scrtAxisDesc.GetBackgroundColorPtr());
|
|
112
109
|
(0, tsrExtensions_1.updateTsrVector4)(axisDesc.bandColor, scrtAxisDesc.GetBandColorPtr());
|
|
113
110
|
(0, exports.updateScrtLineStyle)(axisDesc.majorLineStyle, scrtAxisDesc.GetMajorLineStylePtr());
|
|
114
111
|
(0, exports.updateScrtLineStyle)(axisDesc.minorLineStyle, scrtAxisDesc.GetMinorLineStylePtr());
|
|
@@ -17,7 +17,7 @@ export interface IAxisDescriptor {
|
|
|
17
17
|
/**
|
|
18
18
|
* The background color as an ARGB color represented as UInt32
|
|
19
19
|
*/
|
|
20
|
-
backgroundColor:
|
|
20
|
+
backgroundColor: TArgb;
|
|
21
21
|
/**
|
|
22
22
|
* The Axis Band color as ARGB represented as UInt32
|
|
23
23
|
*/
|
|
@@ -25,7 +25,7 @@ export interface IAxisDescriptor {
|
|
|
25
25
|
/**
|
|
26
26
|
* The Axis Border color as ARGB represented as UInt32
|
|
27
27
|
*/
|
|
28
|
-
borderColor:
|
|
28
|
+
borderColor: TArgb;
|
|
29
29
|
/**
|
|
30
30
|
* Major tick / gridline and label coordinates in world-coordinates
|
|
31
31
|
*/
|
|
@@ -15,9 +15,9 @@ function getDescriptorsEqual(a, b) {
|
|
|
15
15
|
}
|
|
16
16
|
return (a.axisTitle === b.axisTitle &&
|
|
17
17
|
a.axisSize === b.axisSize &&
|
|
18
|
-
a.backgroundColor
|
|
18
|
+
getTArgbEqual(a.backgroundColor, b.backgroundColor) &&
|
|
19
19
|
getTArgbEqual(a.bandColor, b.bandColor) &&
|
|
20
|
-
a.borderColor
|
|
20
|
+
getTArgbEqual(a.borderColor, b.borderColor) &&
|
|
21
21
|
getArraysEqual(a.majorCoordinates, b.majorCoordinates) &&
|
|
22
22
|
getArraysEqual(a.minorCoordinates, b.minorCoordinates) &&
|
|
23
23
|
getArraysEqual(a.tickLabels, b.tickLabels) &&
|
|
@@ -2,11 +2,12 @@ import { CoordinateCalculatorBase } from "../../../Charting/Numerics/CoordinateC
|
|
|
2
2
|
import { TEasingFn } from "../../../Core/Animations/EasingFunctions";
|
|
3
3
|
import { NumberRange } from "../../../Core/NumberRange";
|
|
4
4
|
import { EAxisType } from "../../../types/AxisType";
|
|
5
|
-
import { ENumericFormat } from "../../../types/NumericFormat";
|
|
6
5
|
import { TSciChart3D } from "../../../types/TSciChart3D";
|
|
7
6
|
import { AxisBase3D, IAxisBase3dOptions } from "./AxisBase3D";
|
|
8
7
|
interface INumericAxis3dOptions extends IAxisBase3dOptions {
|
|
9
|
-
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated use labelPrecision instead
|
|
10
|
+
*/
|
|
10
11
|
precision?: number;
|
|
11
12
|
}
|
|
12
13
|
/**
|