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
|
@@ -128,6 +128,7 @@ var AxisBase2D = /** @class */ (function (_super) {
|
|
|
128
128
|
border: 0
|
|
129
129
|
};
|
|
130
130
|
_this.offsetProperty = 0;
|
|
131
|
+
_this.offsetOverrideProperty = undefined;
|
|
131
132
|
_this.tickCache = undefined;
|
|
132
133
|
_this.webAssemblyContext2D = webAssemblyContext;
|
|
133
134
|
_this.penCacheForMajorGridLines = new Pen2DCache_1.Pen2DCache(webAssemblyContext);
|
|
@@ -161,19 +162,24 @@ var AxisBase2D = /** @class */ (function (_super) {
|
|
|
161
162
|
}
|
|
162
163
|
_this.autoRangeAnimationProperty = options === null || options === void 0 ? void 0 : options.autoRangeAnimation;
|
|
163
164
|
_this.backgroundColor = (_k = options === null || options === void 0 ? void 0 : options.backgroundColor) !== null && _k !== void 0 ? _k : _this.backgroundColor;
|
|
165
|
+
_this.offsetOverrideProperty = options === null || options === void 0 ? void 0 : options.overrideOffset; // undefined if not set
|
|
164
166
|
return _this;
|
|
165
167
|
}
|
|
166
168
|
Object.defineProperty(AxisBase2D.prototype, "labelProvider", {
|
|
167
169
|
/**
|
|
168
|
-
* Gets or sets a {@link
|
|
170
|
+
* Gets or sets a {@link LabelProviderBase2D} - a class which is responsible for formatting axis labels and cursor labels from numeric values
|
|
169
171
|
*/
|
|
170
172
|
get: function () {
|
|
171
173
|
return this.labelProviderProperty;
|
|
172
174
|
},
|
|
173
175
|
/**
|
|
174
|
-
* Gets or sets a {@link
|
|
176
|
+
* Gets or sets a {@link LabelProviderBase2D} - a class which is responsible for formatting axis labels and cursor labels from numeric values
|
|
175
177
|
*/
|
|
176
178
|
set: function (labelProvider) {
|
|
179
|
+
var _a;
|
|
180
|
+
// TODO This duplicates logic in AxisCore.
|
|
181
|
+
// Probably we could consider proper generics used for the inheritance to omit the duplication
|
|
182
|
+
(_a = this.labelProviderProperty) === null || _a === void 0 ? void 0 : _a.detachedFromAxis();
|
|
177
183
|
this.labelProviderProperty = labelProvider;
|
|
178
184
|
this.notifyPropertyChanged(constants_1.PROPERTY.LABEL_PROVIDER);
|
|
179
185
|
},
|
|
@@ -437,21 +443,35 @@ var AxisBase2D = /** @class */ (function (_super) {
|
|
|
437
443
|
* Defines a position of the axis along the layout flow.
|
|
438
444
|
*/
|
|
439
445
|
get: function () {
|
|
440
|
-
|
|
446
|
+
var _a;
|
|
447
|
+
return (_a = this.offsetOverrideProperty) !== null && _a !== void 0 ? _a : this.offsetProperty;
|
|
441
448
|
},
|
|
442
449
|
/**
|
|
443
|
-
*
|
|
450
|
+
* Called internally by layout strategies when switching between stacked and non-stacked axes.
|
|
451
|
+
* If you want to set a manual offset, call {@link overrideOffset}
|
|
444
452
|
*/
|
|
445
453
|
set: function (value) {
|
|
446
454
|
if (this.offsetProperty !== value) {
|
|
447
|
-
this.clearCoordCalcCache();
|
|
448
455
|
this.offsetProperty = value;
|
|
449
|
-
this.
|
|
456
|
+
if (this.offsetOverrideProperty === undefined) {
|
|
457
|
+
this.clearCoordCalcCache();
|
|
458
|
+
this.notifyPropertyChanged(constants_1.PROPERTY.OFFSET);
|
|
459
|
+
}
|
|
450
460
|
}
|
|
451
461
|
},
|
|
452
462
|
enumerable: false,
|
|
453
463
|
configurable: true
|
|
454
464
|
});
|
|
465
|
+
/**
|
|
466
|
+
* set an offset value that overrides the one used by layout calculation
|
|
467
|
+
*/
|
|
468
|
+
AxisBase2D.prototype.overrideOffset = function (value) {
|
|
469
|
+
if (this.offsetOverrideProperty !== value) {
|
|
470
|
+
this.offsetOverrideProperty = value;
|
|
471
|
+
this.clearCoordCalcCache();
|
|
472
|
+
this.notifyPropertyChanged(constants_1.PROPERTY.OFFSET);
|
|
473
|
+
}
|
|
474
|
+
};
|
|
455
475
|
Object.defineProperty(AxisBase2D.prototype, "isVerticalChart", {
|
|
456
476
|
/**
|
|
457
477
|
* Gets whether the parent {@link SciChartSurface} is a vertical chart, when the XAxis is on the Left or Right,
|
|
@@ -573,6 +593,14 @@ var AxisBase2D = /** @class */ (function (_super) {
|
|
|
573
593
|
this.setIsXAxis(isXAxis);
|
|
574
594
|
this.isPrimaryAxisProperty = isPrimaryAxis;
|
|
575
595
|
};
|
|
596
|
+
/**
|
|
597
|
+
* Called when the {@link AxisBase2D} is detached from an {@link SciChartSurface}
|
|
598
|
+
*/
|
|
599
|
+
AxisBase2D.prototype.onDetach = function () {
|
|
600
|
+
this.parentSurface = undefined;
|
|
601
|
+
this.isPrimaryAxisProperty = false;
|
|
602
|
+
this.invalidateParentCallback = undefined;
|
|
603
|
+
};
|
|
576
604
|
/**
|
|
577
605
|
* Called internally - measures the axis as part of the layout phase
|
|
578
606
|
*/
|
|
@@ -899,7 +927,6 @@ var AxisBase2D = /** @class */ (function (_super) {
|
|
|
899
927
|
* @inheritDoc
|
|
900
928
|
*/
|
|
901
929
|
AxisBase2D.prototype.delete = function () {
|
|
902
|
-
_super.prototype.delete.call(this);
|
|
903
930
|
this.penCacheForMajorGridLines = (0, Deleter_1.deleteSafe)(this.penCacheForMajorGridLines);
|
|
904
931
|
this.penCacheForMinorGridLines = (0, Deleter_1.deleteSafe)(this.penCacheForMinorGridLines);
|
|
905
932
|
this.penCacheForMajorTickLines = (0, Deleter_1.deleteSafe)(this.penCacheForMajorTickLines);
|
|
@@ -907,8 +934,11 @@ var AxisBase2D = /** @class */ (function (_super) {
|
|
|
907
934
|
this.solidBrushCacheBorder = (0, Deleter_1.deleteSafe)(this.solidBrushCacheBorder);
|
|
908
935
|
this.solidBrushCacheAxisBands = (0, Deleter_1.deleteSafe)(this.solidBrushCacheAxisBands);
|
|
909
936
|
this.solidBrushCacheAxisBackground = (0, Deleter_1.deleteSafe)(this.solidBrushCacheAxisBackground);
|
|
910
|
-
this.labelProviderProperty = (0, Deleter_1.deleteSafe)(this.labelProvider);
|
|
911
937
|
this.axisRendererProperty = (0, Deleter_1.deleteSafe)(this.axisRenderer);
|
|
938
|
+
this.axisTitleRenderer = (0, Deleter_1.deleteSafe)(this.axisTitleRenderer);
|
|
939
|
+
this.webAssemblyContext2D = undefined;
|
|
940
|
+
this.parentSurface = undefined;
|
|
941
|
+
_super.prototype.delete.call(this);
|
|
912
942
|
};
|
|
913
943
|
AxisBase2D.prototype.toJSON = function () {
|
|
914
944
|
var options = {
|
|
@@ -1192,11 +1222,17 @@ var AxisBase2D = /** @class */ (function (_super) {
|
|
|
1192
1222
|
AxisBase2D.prototype.applyVisibleRangeSizeLimit = function (visibleRange) {
|
|
1193
1223
|
if (!visibleRange)
|
|
1194
1224
|
return undefined;
|
|
1225
|
+
var minDiff = Math.abs(visibleRange.min) / Math.pow(10, 14);
|
|
1226
|
+
// Prevent axis becoming invalid due to loss of precision
|
|
1227
|
+
var currentSize = visibleRange.diff;
|
|
1228
|
+
if (currentSize < minDiff) {
|
|
1229
|
+
var middleValue = visibleRange.min + currentSize / 2;
|
|
1230
|
+
return new NumberRange_1.NumberRange(middleValue - minDiff / 2, middleValue + minDiff / 2);
|
|
1231
|
+
}
|
|
1195
1232
|
if (!this.visibleRangeSizeLimit)
|
|
1196
1233
|
return visibleRange;
|
|
1197
|
-
var currentSize = visibleRange.max - visibleRange.min;
|
|
1198
1234
|
if (currentSize < 0) {
|
|
1199
|
-
console.warn("Can not apply
|
|
1235
|
+
console.warn("Can not apply visibleRangeSizeLimit for the ".concat(this.isXAxis ? "xAxis" : "yAxis", " with ID ").concat(this.id));
|
|
1200
1236
|
return visibleRange;
|
|
1201
1237
|
}
|
|
1202
1238
|
else {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TEasingFn } from "../../../Core/Animations/EasingFunctions";
|
|
2
2
|
import { IGenericAnimation } from "../../../Core/Animations/GenericAnimation";
|
|
3
|
+
import { DeletableEntity } from "../../../Core/DeletableEntity";
|
|
3
4
|
import { EventHandler } from "../../../Core/EventHandler";
|
|
4
5
|
import { IDeletable } from "../../../Core/IDeletable";
|
|
5
6
|
import { NumberRange } from "../../../Core/NumberRange";
|
|
@@ -123,7 +124,7 @@ export interface IAxisParams {
|
|
|
123
124
|
* Set axis on the {@link SciChartSurface.xAxes} or {@link SciChartSurface.yAxes} collections in 2D Charts.
|
|
124
125
|
* Set axis on the {@link SciChart3DSurface.xAxis}, {@link SciChart3DSurface.yAxis} or {@link SciChart3DSurface.zAxis} collections in 3D Charts.
|
|
125
126
|
*/
|
|
126
|
-
export declare abstract class AxisCore implements IAxisParams, IDeletable {
|
|
127
|
+
export declare abstract class AxisCore extends DeletableEntity implements IAxisParams, IDeletable {
|
|
127
128
|
/**
|
|
128
129
|
* The Default {@link AxisCore.id}
|
|
129
130
|
* @description
|
|
@@ -164,7 +165,7 @@ export declare abstract class AxisCore implements IAxisParams, IDeletable {
|
|
|
164
165
|
/**
|
|
165
166
|
* Internal backing property for {@link AxisCore.growBy}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
166
167
|
*/
|
|
167
|
-
protected growByProperty: NumberRange;
|
|
168
|
+
protected growByProperty: NumberRange | undefined;
|
|
168
169
|
/**
|
|
169
170
|
* Internal backing property for {@link AxisCore.visibleRange}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
170
171
|
*/
|
|
@@ -397,7 +398,7 @@ export declare abstract class AxisCore implements IAxisParams, IDeletable {
|
|
|
397
398
|
* axis.growBy = new NumberRange(0.1, 0.2);
|
|
398
399
|
* ```
|
|
399
400
|
*/
|
|
400
|
-
set growBy(growBy: NumberRange);
|
|
401
|
+
set growBy(growBy: NumberRange | undefined);
|
|
401
402
|
/**
|
|
402
403
|
* The VisibleRange is the range of the Axis (min to max).
|
|
403
404
|
* @description
|
|
@@ -773,6 +774,8 @@ export declare abstract class AxisCore implements IAxisParams, IDeletable {
|
|
|
773
774
|
* @param range The range
|
|
774
775
|
*/
|
|
775
776
|
isValidRange(range: NumberRange): boolean;
|
|
777
|
+
get isVerticalChart(): boolean;
|
|
778
|
+
get isHorizontalAxis(): boolean;
|
|
776
779
|
/**
|
|
777
780
|
* Creates new {@link CoordinateCalculatorBase} instance. Valid for this render-pass only, the coordinate-calculator
|
|
778
781
|
* allows you to transform between pixel and data coordinates (and vice versa)
|
|
@@ -1,4 +1,19 @@
|
|
|
1
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
|
+
})();
|
|
2
17
|
var __assign = (this && this.__assign) || function () {
|
|
3
18
|
__assign = Object.assign || function(t) {
|
|
4
19
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -12,6 +27,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
27
|
};
|
|
13
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
29
|
exports.AxisCore = void 0;
|
|
30
|
+
var DeletableEntity_1 = require("../../../Core/DeletableEntity");
|
|
15
31
|
var Deleter_1 = require("../../../Core/Deleter");
|
|
16
32
|
var EventHandler_1 = require("../../../Core/EventHandler");
|
|
17
33
|
var Guard_1 = require("../../../Core/Guard");
|
|
@@ -36,78 +52,81 @@ var VisibleRangeChangedArgs_1 = require("./VisibleRangeChangedArgs");
|
|
|
36
52
|
* Set axis on the {@link SciChartSurface.xAxes} or {@link SciChartSurface.yAxes} collections in 2D Charts.
|
|
37
53
|
* Set axis on the {@link SciChart3DSurface.xAxis}, {@link SciChart3DSurface.yAxis} or {@link SciChart3DSurface.zAxis} collections in 3D Charts.
|
|
38
54
|
*/
|
|
39
|
-
var AxisCore = /** @class */ (function () {
|
|
55
|
+
var AxisCore = /** @class */ (function (_super) {
|
|
56
|
+
__extends(AxisCore, _super);
|
|
40
57
|
/**
|
|
41
58
|
* Creates an instance of an {@link AxisCore}
|
|
42
59
|
* @param options Optional parameters of type {@link IAxisCoreOptions} used to define properties at instantiation time
|
|
43
60
|
*/
|
|
44
61
|
function AxisCore(options) {
|
|
62
|
+
var _this = this;
|
|
45
63
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
|
64
|
+
_this = _super.call(this) || this;
|
|
46
65
|
/**
|
|
47
66
|
* An {@link EventHandler} which fires a callback when the {@link AxisCore.visibleRange} property changes.
|
|
48
67
|
* @desc
|
|
49
68
|
*/
|
|
50
|
-
|
|
69
|
+
_this.visibleRangeChanged = new EventHandler_1.EventHandler();
|
|
51
70
|
/** A flag to indicate if measure has been called this frame. Properties updated after measure must trigger a redraw */
|
|
52
|
-
|
|
71
|
+
_this.isMeasured = false;
|
|
53
72
|
/** If the diff of the visibleRange is 0, this growby fraction will be applied */
|
|
54
|
-
|
|
73
|
+
_this.ZeroRangeGrowBy = 0.01;
|
|
55
74
|
/**
|
|
56
75
|
* Internal backing property for {@link AxisCore.id}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
57
76
|
*/
|
|
58
|
-
|
|
77
|
+
_this.idProperty = AxisCore.DEFAULT_AXIS_ID;
|
|
59
78
|
/**
|
|
60
79
|
* Internal backing property for {@link AxisCore.isAxis}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
61
80
|
*/
|
|
62
|
-
|
|
81
|
+
_this.isXAxisProperty = true;
|
|
63
82
|
/**
|
|
64
83
|
* Internal backing property for {@link AxisCore.minorsPerMajor}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
65
84
|
*/
|
|
66
|
-
|
|
85
|
+
_this.minorsPerMajorProperty = 5;
|
|
67
86
|
/**
|
|
68
87
|
* Internal backing property for {@link AxisCore.drawMajorGridLines}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
69
88
|
*/
|
|
70
|
-
|
|
89
|
+
_this.drawMajorGridLinesProperty = true;
|
|
71
90
|
/**
|
|
72
91
|
* Internal backing property for {@link AxisCore.drawMinorGridLines}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
73
92
|
*/
|
|
74
|
-
|
|
93
|
+
_this.drawMinorGridLinesProperty = true;
|
|
75
94
|
/**
|
|
76
95
|
* Internal backing property for {@link AxisCore.drawMajorTickLines}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
77
96
|
*/
|
|
78
|
-
|
|
97
|
+
_this.drawMajorTickLinesProperty = true;
|
|
79
98
|
/**
|
|
80
99
|
* Internal backing property for {@link AxisCore.drawMinorTickLines}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
81
100
|
*/
|
|
82
|
-
|
|
101
|
+
_this.drawMinorTickLinesProperty = true;
|
|
83
102
|
/**
|
|
84
103
|
* Internal backing property for {@link AxisCore.drawMajorBands}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
85
104
|
*/
|
|
86
|
-
|
|
105
|
+
_this.drawMajorBandsProperty = true;
|
|
87
106
|
/**
|
|
88
107
|
* Internal backing property for {@link AxisCore.drawLabels}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
89
108
|
*/
|
|
90
|
-
|
|
109
|
+
_this.drawLabelsProperty = true;
|
|
91
110
|
/**
|
|
92
111
|
* Internal backing property for {@link AxisCore.flippedCoordinates}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
93
112
|
*/
|
|
94
|
-
|
|
113
|
+
_this.flippedCoordinatesProperty = false;
|
|
95
114
|
/**
|
|
96
115
|
* Internal backing property for {@link AxisCore.tickTextBrush}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
97
116
|
*/
|
|
98
|
-
|
|
117
|
+
_this.tickTextBrushProperty = SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME.tickTextBrush;
|
|
99
118
|
/**
|
|
100
119
|
* Internal backing property for {@link AxisCore.axisBandsFill}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
101
120
|
*/
|
|
102
|
-
|
|
121
|
+
_this.axisBandsFillProperty = SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME.axisBandsFill;
|
|
103
122
|
/**
|
|
104
123
|
* Internal backing property for {@link AxisCore.autoRange}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
105
124
|
*/
|
|
106
|
-
|
|
125
|
+
_this.autoRangeProperty = AutoRange_1.EAutoRange.Once;
|
|
107
126
|
/**
|
|
108
127
|
* Internal backing property for {@link AxisCore.majorTickLineStyle}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
109
128
|
*/
|
|
110
|
-
|
|
129
|
+
_this.majorTickLineStyleProperty = {
|
|
111
130
|
tickSize: 5,
|
|
112
131
|
strokeThickness: 1,
|
|
113
132
|
color: SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME.majorGridLineBrush
|
|
@@ -115,7 +134,7 @@ var AxisCore = /** @class */ (function () {
|
|
|
115
134
|
/**
|
|
116
135
|
* Internal backing property for {@link AxisCore.minorTickLineStyle}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
117
136
|
*/
|
|
118
|
-
|
|
137
|
+
_this.minorTickLineStyleProperty = {
|
|
119
138
|
tickSize: 3,
|
|
120
139
|
strokeThickness: 1,
|
|
121
140
|
color: SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME.minorGridLineBrush
|
|
@@ -123,7 +142,7 @@ var AxisCore = /** @class */ (function () {
|
|
|
123
142
|
/**
|
|
124
143
|
* Internal backing property for {@link AxisCore.majorGridLineStyle}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
125
144
|
*/
|
|
126
|
-
|
|
145
|
+
_this.majorGridLineStyleProperty = {
|
|
127
146
|
strokeThickness: 1,
|
|
128
147
|
color: SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME.majorGridLineBrush,
|
|
129
148
|
strokeDashArray: undefined
|
|
@@ -131,7 +150,7 @@ var AxisCore = /** @class */ (function () {
|
|
|
131
150
|
/**
|
|
132
151
|
* Internal backing property for {@link AxisCore.minorGridLineStyle}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
133
152
|
*/
|
|
134
|
-
|
|
153
|
+
_this.minorGridLineStyleProperty = {
|
|
135
154
|
strokeThickness: 1,
|
|
136
155
|
color: SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME.minorGridLineBrush,
|
|
137
156
|
strokeDashArray: undefined
|
|
@@ -139,7 +158,7 @@ var AxisCore = /** @class */ (function () {
|
|
|
139
158
|
/**
|
|
140
159
|
* Internal backing property for {@link AxisCore.axisTitleStyle}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
141
160
|
*/
|
|
142
|
-
|
|
161
|
+
_this.axisTitleStyleProperty = {
|
|
143
162
|
fontSize: 24,
|
|
144
163
|
fontFamily: "Arial",
|
|
145
164
|
color: SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME.axisTitleColor,
|
|
@@ -151,43 +170,44 @@ var AxisCore = /** @class */ (function () {
|
|
|
151
170
|
/**
|
|
152
171
|
* Internal backing property for {@link AxisCore.isVisible}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
153
172
|
*/
|
|
154
|
-
|
|
173
|
+
_this.isVisibleProperty = true;
|
|
155
174
|
/**
|
|
156
175
|
* Internal backing property for {@link AxisCore.autoTicks}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
157
176
|
*/
|
|
158
|
-
|
|
177
|
+
_this.autoTicksProperty = true;
|
|
159
178
|
/**
|
|
160
179
|
* Internal backing property for {@link AxisCore.maxAutoTicks}. To fire {@link AxisCore.invalidateParentCallback}, set the public property
|
|
161
180
|
*/
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
181
|
+
_this.maxAutoTicksProperty = 10;
|
|
182
|
+
_this.defaultVisibleRange = new NumberRange_1.NumberRange(0, 10);
|
|
183
|
+
_this.allowFastMathProperty = false;
|
|
184
|
+
_this.visibleRange = (options === null || options === void 0 ? void 0 : options.visibleRange) || _this.defaultVisibleRange;
|
|
185
|
+
_this.id = (_a = options === null || options === void 0 ? void 0 : options.id) !== null && _a !== void 0 ? _a : _this.id;
|
|
186
|
+
_this.growBy = (_b = options === null || options === void 0 ? void 0 : options.growBy) !== null && _b !== void 0 ? _b : _this.growBy;
|
|
187
|
+
_this.autoRange = (_c = options === null || options === void 0 ? void 0 : options.autoRange) !== null && _c !== void 0 ? _c : _this.autoRange;
|
|
188
|
+
_this.isVisible = (_d = options === null || options === void 0 ? void 0 : options.isVisible) !== null && _d !== void 0 ? _d : _this.isVisible;
|
|
189
|
+
_this.axisTitle = (_e = options === null || options === void 0 ? void 0 : options.axisTitle) !== null && _e !== void 0 ? _e : _this.axisTitle;
|
|
190
|
+
_this.axisTitleStyle = (_f = options === null || options === void 0 ? void 0 : options.axisTitleStyle) !== null && _f !== void 0 ? _f : _this.axisTitleStyle;
|
|
191
|
+
_this.allowFastMath = (_g = options === null || options === void 0 ? void 0 : options.allowFastMath) !== null && _g !== void 0 ? _g : _this.allowFastMathProperty;
|
|
192
|
+
_this.autoTicksProperty = (_h = options === null || options === void 0 ? void 0 : options.autoTicks) !== null && _h !== void 0 ? _h : _this.autoTicksProperty;
|
|
193
|
+
_this.maxAutoTicksProperty = (_j = options === null || options === void 0 ? void 0 : options.maxAutoTicks) !== null && _j !== void 0 ? _j : _this.maxAutoTicksProperty;
|
|
194
|
+
_this.minorsPerMajorProperty = (_k = options === null || options === void 0 ? void 0 : options.minorsPerMajor) !== null && _k !== void 0 ? _k : _this.minorsPerMajorProperty;
|
|
195
|
+
_this.majorDeltaProperty = (_l = options === null || options === void 0 ? void 0 : options.majorDelta) !== null && _l !== void 0 ? _l : _this.majorDeltaProperty;
|
|
196
|
+
_this.minorDeltaProperty = (_m = options === null || options === void 0 ? void 0 : options.minorDelta) !== null && _m !== void 0 ? _m : _this.minorDeltaProperty;
|
|
197
|
+
_this.drawLabelsProperty = (_o = options === null || options === void 0 ? void 0 : options.drawLabels) !== null && _o !== void 0 ? _o : _this.drawLabelsProperty;
|
|
198
|
+
_this.drawMajorTickLinesProperty = (_p = options === null || options === void 0 ? void 0 : options.drawMajorTickLines) !== null && _p !== void 0 ? _p : _this.drawMajorTickLinesProperty;
|
|
199
|
+
_this.drawMinorTickLinesProperty = (_q = options === null || options === void 0 ? void 0 : options.drawMinorTickLines) !== null && _q !== void 0 ? _q : _this.drawMinorTickLinesProperty;
|
|
200
|
+
_this.drawMinorGridLinesProperty = (_r = options === null || options === void 0 ? void 0 : options.drawMinorGridLines) !== null && _r !== void 0 ? _r : _this.drawMinorGridLinesProperty;
|
|
201
|
+
_this.drawMajorGridLinesProperty = (_s = options === null || options === void 0 ? void 0 : options.drawMajorGridLines) !== null && _s !== void 0 ? _s : _this.drawMajorGridLinesProperty;
|
|
202
|
+
_this.majorGridLineStyleProperty = (_t = options === null || options === void 0 ? void 0 : options.majorGridLineStyle) !== null && _t !== void 0 ? _t : _this.majorGridLineStyleProperty;
|
|
203
|
+
_this.minorGridLineStyleProperty = (_u = options === null || options === void 0 ? void 0 : options.minorGridLineStyle) !== null && _u !== void 0 ? _u : _this.minorGridLineStyleProperty;
|
|
204
|
+
_this.majorTickLineStyleProperty = (_v = options === null || options === void 0 ? void 0 : options.majorTickLineStyle) !== null && _v !== void 0 ? _v : _this.majorTickLineStyleProperty;
|
|
205
|
+
_this.minorTickLineStyleProperty = (_w = options === null || options === void 0 ? void 0 : options.minorTickLineStyle) !== null && _w !== void 0 ? _w : _this.minorTickLineStyleProperty;
|
|
206
|
+
_this.drawMajorBandsProperty = (_x = options === null || options === void 0 ? void 0 : options.drawMajorBands) !== null && _x !== void 0 ? _x : _this.drawMajorBandsProperty;
|
|
207
|
+
_this.axisBandsFillProperty = (_y = options === null || options === void 0 ? void 0 : options.axisBandsFill) !== null && _y !== void 0 ? _y : _this.axisBandsFillProperty;
|
|
208
|
+
_this.flippedCoordinatesProperty = (_z = options === null || options === void 0 ? void 0 : options.flippedCoordinates) !== null && _z !== void 0 ? _z : _this.flippedCoordinatesProperty;
|
|
209
|
+
_this.getCurrentCoordinateCalculator = _this.getCurrentCoordinateCalculator.bind(_this);
|
|
210
|
+
return _this;
|
|
191
211
|
}
|
|
192
212
|
Object.defineProperty(AxisCore.prototype, "isCategoryAxis", {
|
|
193
213
|
/**
|
|
@@ -864,6 +884,8 @@ var AxisCore = /** @class */ (function () {
|
|
|
864
884
|
* @param tickProvider
|
|
865
885
|
*/
|
|
866
886
|
set: function (tickProvider) {
|
|
887
|
+
var _a;
|
|
888
|
+
(_a = this.tickProviderProperty) === null || _a === void 0 ? void 0 : _a.detachedFromAxis();
|
|
867
889
|
this.tickProviderProperty = tickProvider;
|
|
868
890
|
this.notifyPropertyChanged(constants_1.PROPERTY.TICK_PROVIDER);
|
|
869
891
|
},
|
|
@@ -881,6 +903,8 @@ var AxisCore = /** @class */ (function () {
|
|
|
881
903
|
* Gets or sets a {@link LabelProvider} - a class which is responsible for formatting axis labels and cursor labels from numeric values
|
|
882
904
|
*/
|
|
883
905
|
set: function (labelProvider) {
|
|
906
|
+
var _a;
|
|
907
|
+
(_a = this.labelProviderProperty) === null || _a === void 0 ? void 0 : _a.detachedFromAxis();
|
|
884
908
|
this.labelProviderProperty = labelProvider;
|
|
885
909
|
this.notifyPropertyChanged(constants_1.PROPERTY.LABEL_PROVIDER);
|
|
886
910
|
},
|
|
@@ -900,6 +924,8 @@ var AxisCore = /** @class */ (function () {
|
|
|
900
924
|
* which are used for gridline spacing
|
|
901
925
|
*/
|
|
902
926
|
set: function (deltaCalculator) {
|
|
927
|
+
var _a;
|
|
928
|
+
(_a = this.deltaCalculator) === null || _a === void 0 ? void 0 : _a.detachedFromAxis();
|
|
903
929
|
this.deltaCalculatorProperty = deltaCalculator;
|
|
904
930
|
this.notifyPropertyChanged(constants_1.PROPERTY.DELTA_CALCULATOR);
|
|
905
931
|
},
|
|
@@ -917,6 +943,8 @@ var AxisCore = /** @class */ (function () {
|
|
|
917
943
|
* Gets or sets a {@link TickCoordinatesProvider} - a class which is responsible for converting tick values to pixel coordinates
|
|
918
944
|
*/
|
|
919
945
|
set: function (tickCoordinatesProvider) {
|
|
946
|
+
var _a;
|
|
947
|
+
(_a = this.tickCoordinatesProviderProperty) === null || _a === void 0 ? void 0 : _a.detachedFromAxis();
|
|
920
948
|
this.tickCoordinatesProviderProperty = tickCoordinatesProvider;
|
|
921
949
|
this.notifyPropertyChanged(constants_1.PROPERTY.TICK_COORDINATES_CALCULATOR);
|
|
922
950
|
},
|
|
@@ -984,6 +1012,10 @@ var AxisCore = /** @class */ (function () {
|
|
|
984
1012
|
* @inheritDoc
|
|
985
1013
|
*/
|
|
986
1014
|
AxisCore.prototype.delete = function () {
|
|
1015
|
+
this.deltaCalculator = undefined;
|
|
1016
|
+
this.tickProvider = undefined;
|
|
1017
|
+
this.tickCoordinatesProvider = undefined;
|
|
1018
|
+
this.labelProviderProperty = (0, Deleter_1.deleteSafe)(this.labelProvider);
|
|
987
1019
|
this.coordCalcCache = (0, Deleter_1.deleteSafe)(this.coordCalcCache);
|
|
988
1020
|
};
|
|
989
1021
|
/**
|
|
@@ -994,6 +1026,20 @@ var AxisCore = /** @class */ (function () {
|
|
|
994
1026
|
var isInvalid = !range || !range.isDefined() || range.min > range.max;
|
|
995
1027
|
return !isInvalid;
|
|
996
1028
|
};
|
|
1029
|
+
Object.defineProperty(AxisCore.prototype, "isVerticalChart", {
|
|
1030
|
+
get: function () {
|
|
1031
|
+
return false;
|
|
1032
|
+
},
|
|
1033
|
+
enumerable: false,
|
|
1034
|
+
configurable: true
|
|
1035
|
+
});
|
|
1036
|
+
Object.defineProperty(AxisCore.prototype, "isHorizontalAxis", {
|
|
1037
|
+
get: function () {
|
|
1038
|
+
return this.isXAxis;
|
|
1039
|
+
},
|
|
1040
|
+
enumerable: false,
|
|
1041
|
+
configurable: true
|
|
1042
|
+
});
|
|
997
1043
|
/**
|
|
998
1044
|
* SET INTERNALLY. Sets whether this axis is an XAxis or not
|
|
999
1045
|
* @remarks
|
|
@@ -1054,5 +1100,5 @@ var AxisCore = /** @class */ (function () {
|
|
|
1054
1100
|
*/
|
|
1055
1101
|
AxisCore.DEFAULT_AXIS_ID = "DefaultAxisId";
|
|
1056
1102
|
return AxisCore;
|
|
1057
|
-
}());
|
|
1103
|
+
}(DeletableEntity_1.DeletableEntity));
|
|
1058
1104
|
exports.AxisCore = AxisCore;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DeletableEntity } from "../../../Core/DeletableEntity";
|
|
1
2
|
import { IDeletable } from "../../../Core/IDeletable";
|
|
2
3
|
import { Rect } from "../../../Core/Rect";
|
|
3
4
|
import { EAxisAlignment } from "../../../types/AxisAlignment";
|
|
@@ -11,7 +12,7 @@ import { LabelProviderBase2D } from "./LabelProvider/LabelProviderBase2D";
|
|
|
11
12
|
/**
|
|
12
13
|
* Draws an axis using our WebGL Rendering engine
|
|
13
14
|
*/
|
|
14
|
-
export declare class AxisRenderer implements IDeletable {
|
|
15
|
+
export declare class AxisRenderer extends DeletableEntity implements IDeletable {
|
|
15
16
|
viewRect: Rect;
|
|
16
17
|
drawDebug: boolean;
|
|
17
18
|
textureManager: TextureManager;
|
|
@@ -1,4 +1,19 @@
|
|
|
1
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
|
+
})();
|
|
2
17
|
var __assign = (this && this.__assign) || function () {
|
|
3
18
|
__assign = Object.assign || function(t) {
|
|
4
19
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -13,11 +28,13 @@ var __assign = (this && this.__assign) || function () {
|
|
|
13
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
29
|
exports.layoutLabelsHelper = exports.AxisRenderer = void 0;
|
|
15
30
|
var app_1 = require("../../../constants/app");
|
|
31
|
+
var DeletableEntity_1 = require("../../../Core/DeletableEntity");
|
|
16
32
|
var Deleter_1 = require("../../../Core/Deleter");
|
|
17
33
|
var Rect_1 = require("../../../Core/Rect");
|
|
18
34
|
var Thickness_1 = require("../../../Core/Thickness");
|
|
19
35
|
var AxisAlignment_1 = require("../../../types/AxisAlignment");
|
|
20
36
|
var LabelAlignment_1 = require("../../../types/LabelAlignment");
|
|
37
|
+
var logger_1 = require("../../../utils/logger");
|
|
21
38
|
var parseColor_1 = require("../../../utils/parseColor");
|
|
22
39
|
var WebGlRenderContext2D_1 = require("../../Drawing/WebGlRenderContext2D");
|
|
23
40
|
var createNativeRect_1 = require("../Helpers/createNativeRect");
|
|
@@ -28,33 +45,38 @@ var TextureManager_1 = require("../TextureManager/TextureManager");
|
|
|
28
45
|
/**
|
|
29
46
|
* Draws an axis using our WebGL Rendering engine
|
|
30
47
|
*/
|
|
31
|
-
var AxisRenderer = /** @class */ (function () {
|
|
48
|
+
var AxisRenderer = /** @class */ (function (_super) {
|
|
49
|
+
__extends(AxisRenderer, _super);
|
|
32
50
|
/**
|
|
33
51
|
* Creates an instance of a {@link AxisRenderer}
|
|
34
52
|
* @param webAssemblyContext The {@link TSciChart | SciChart 2D WebAssembly Context} containing native methods and
|
|
35
53
|
* access to our WebGL2 Engine and WebAssembly numerical methods
|
|
36
54
|
*/
|
|
37
55
|
function AxisRenderer(webAssemblyContext) {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
56
|
+
var _this = _super.call(this) || this;
|
|
57
|
+
_this.viewRect = Rect_1.Rect.createZero();
|
|
58
|
+
_this.drawDebug = false;
|
|
59
|
+
_this.desiredLabelsSize = 0;
|
|
60
|
+
_this.desiredTicksSize = 0;
|
|
61
|
+
_this.desiredHeightProperty = 0;
|
|
62
|
+
_this.desiredWidthProperty = 0;
|
|
63
|
+
_this.axisThicknessProperty = 0;
|
|
64
|
+
_this.keepLabelsWithinAxisProperty = true;
|
|
65
|
+
_this.hideOverlappingLabelsProperty = true;
|
|
66
|
+
_this.webAssemblyContext = webAssemblyContext;
|
|
67
|
+
_this.textureManager = new TextureManager_1.TextureManager(webAssemblyContext);
|
|
49
68
|
if (!app_1.IS_TEST_ENV) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
69
|
+
_this.measureTextCanvas = document.createElement("canvas");
|
|
70
|
+
_this.measureTextCanvas.width = 1;
|
|
71
|
+
_this.measureTextCanvas.height = 1;
|
|
53
72
|
}
|
|
73
|
+
return _this;
|
|
54
74
|
}
|
|
55
75
|
/** @inheritDoc */
|
|
56
76
|
AxisRenderer.prototype.delete = function () {
|
|
77
|
+
this.webAssemblyContext = undefined;
|
|
57
78
|
this.measureTextCanvas = undefined;
|
|
79
|
+
this.parentAxis = undefined;
|
|
58
80
|
this.textureManager = (0, Deleter_1.deleteSafe)(this.textureManager);
|
|
59
81
|
};
|
|
60
82
|
/**
|
|
@@ -290,6 +312,7 @@ var AxisRenderer = /** @class */ (function () {
|
|
|
290
312
|
}
|
|
291
313
|
}
|
|
292
314
|
catch (err) {
|
|
315
|
+
logger_1.Logger.debug(err);
|
|
293
316
|
// webgl context probably lost. Clear the label cache
|
|
294
317
|
labelProvider.delete();
|
|
295
318
|
}
|
|
@@ -337,6 +360,7 @@ var AxisRenderer = /** @class */ (function () {
|
|
|
337
360
|
}
|
|
338
361
|
}
|
|
339
362
|
catch (err) {
|
|
363
|
+
logger_1.Logger.debug(err);
|
|
340
364
|
// webgl context probably lost. Clear the label cache
|
|
341
365
|
labelProvider.delete();
|
|
342
366
|
}
|
|
@@ -525,7 +549,7 @@ var AxisRenderer = /** @class */ (function () {
|
|
|
525
549
|
brush.delete();
|
|
526
550
|
};
|
|
527
551
|
return AxisRenderer;
|
|
528
|
-
}());
|
|
552
|
+
}(DeletableEntity_1.DeletableEntity));
|
|
529
553
|
exports.AxisRenderer = AxisRenderer;
|
|
530
554
|
/** @ignore */
|
|
531
555
|
var layoutLabelsHelper = function (keepLabelsWithinAxis, hideOverlappingLabels, size, tickCoords, labelSizes, isFlippedCoordinates) {
|
|
@@ -25,4 +25,5 @@ export declare class AxisTitleRenderer extends TitleRendererBase<TAxisTitleStyle
|
|
|
25
25
|
layout(rect: Rect): void;
|
|
26
26
|
protected getTitleTexture(): import("../TextureManager/TextureManager").TTextureObject;
|
|
27
27
|
draw(renderContext: WebGlRenderContext2D): void;
|
|
28
|
+
delete(): void;
|
|
28
29
|
}
|
|
@@ -107,6 +107,10 @@ var AxisTitleRenderer = /** @class */ (function (_super) {
|
|
|
107
107
|
AxisTitleRenderer.prototype.draw = function (renderContext) {
|
|
108
108
|
return this.drawInternal(renderContext, this.useNativeText, this.titlePosition);
|
|
109
109
|
};
|
|
110
|
+
AxisTitleRenderer.prototype.delete = function () {
|
|
111
|
+
this.parentSurface = undefined;
|
|
112
|
+
_super.prototype.delete.call(this);
|
|
113
|
+
};
|
|
110
114
|
return AxisTitleRenderer;
|
|
111
115
|
}(TitleRenderer_1.TitleRendererBase));
|
|
112
116
|
exports.AxisTitleRenderer = AxisTitleRenderer;
|