@nativescript-community/ui-chart 2.0.5 → 2.0.7
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/package.json +3 -3
- package/animation/ChartAnimator.d.ts +0 -61
- package/animation/ChartAnimator.js +0 -95
- package/animation/ChartAnimator.js.map +0 -1
- package/animation/Tween.d.ts +0 -4
- package/animation/Tween.js +0 -25
- package/animation/Tween.js.map +0 -1
- package/buffer/AbstractBuffer.d.ts +0 -40
- package/buffer/AbstractBuffer.js +0 -49
- package/buffer/AbstractBuffer.js.map +0 -1
- package/buffer/BarBuffer.d.ts +0 -15
- package/buffer/BarBuffer.js +0 -109
- package/buffer/BarBuffer.js.map +0 -1
- package/buffer/HorizontalBarBuffer.d.ts +0 -6
- package/buffer/HorizontalBarBuffer.js +0 -81
- package/buffer/HorizontalBarBuffer.js.map +0 -1
- package/charts/BarChart.d.ts +0 -94
- package/charts/BarChart.js +0 -141
- package/charts/BarChart.js.map +0 -1
- package/charts/BarLineChartBase.d.ts +0 -592
- package/charts/BarLineChartBase.js +0 -1253
- package/charts/BarLineChartBase.js.map +0 -1
- package/charts/BubbleChart.d.ts +0 -27
- package/charts/BubbleChart.js +0 -20
- package/charts/BubbleChart.js.map +0 -1
- package/charts/CandleStickChart.d.ts +0 -29
- package/charts/CandleStickChart.js +0 -19
- package/charts/CandleStickChart.js.map +0 -1
- package/charts/Chart.d.ts +0 -491
- package/charts/Chart.js +0 -778
- package/charts/Chart.js.map +0 -1
- package/charts/CombinedChart.d.ts +0 -78
- package/charts/CombinedChart.js +0 -119
- package/charts/CombinedChart.js.map +0 -1
- package/charts/HorizontalBarChart.d.ts +0 -54
- package/charts/HorizontalBarChart.js +0 -180
- package/charts/HorizontalBarChart.js.map +0 -1
- package/charts/LineChart.d.ts +0 -20
- package/charts/LineChart.js +0 -19
- package/charts/LineChart.js.map +0 -1
- package/charts/PieChart.d.ts +0 -249
- package/charts/PieChart.js +0 -468
- package/charts/PieChart.js.map +0 -1
- package/charts/PieRadarChartBase.d.ts +0 -130
- package/charts/PieRadarChartBase.js +0 -360
- package/charts/PieRadarChartBase.js.map +0 -1
- package/charts/RadarChart.d.ts +0 -101
- package/charts/RadarChart.js +0 -181
- package/charts/RadarChart.js.map +0 -1
- package/charts/ScatterChart.d.ts +0 -36
- package/charts/ScatterChart.js +0 -31
- package/charts/ScatterChart.js.map +0 -1
- package/charts/index.d.ts +0 -9
- package/charts/index.js +0 -10
- package/charts/index.js.map +0 -1
- package/components/AxisBase.d.ts +0 -299
- package/components/AxisBase.js +0 -351
- package/components/AxisBase.js.map +0 -1
- package/components/ComponentBase.d.ts +0 -60
- package/components/ComponentBase.js +0 -77
- package/components/ComponentBase.js.map +0 -1
- package/components/Description.d.ts +0 -22
- package/components/Description.js +0 -21
- package/components/Description.js.map +0 -1
- package/components/IMarker.d.ts +0 -39
- package/components/IMarker.js +0 -2
- package/components/IMarker.js.map +0 -1
- package/components/Legend.d.ts +0 -198
- package/components/Legend.js +0 -386
- package/components/Legend.js.map +0 -1
- package/components/LegendEntry.d.ts +0 -50
- package/components/LegendEntry.js +0 -51
- package/components/LegendEntry.js.map +0 -1
- package/components/LimitLine.d.ts +0 -55
- package/components/LimitLine.js +0 -62
- package/components/LimitLine.js.map +0 -1
- package/components/MarkerImage.d.ts +0 -1
- package/components/MarkerImage.js +0 -97
- package/components/MarkerImage.js.map +0 -1
- package/components/XAxis.d.ts +0 -55
- package/components/XAxis.js +0 -59
- package/components/XAxis.js.map +0 -1
- package/components/YAxis.d.ts +0 -135
- package/components/YAxis.js +0 -205
- package/components/YAxis.js.map +0 -1
- package/data/BarData.d.ts +0 -38
- package/data/BarData.js +0 -122
- package/data/BarData.js.map +0 -1
- package/data/BarDataSet.d.ts +0 -47
- package/data/BarDataSet.js +0 -109
- package/data/BarDataSet.js.map +0 -1
- package/data/BarEntry.d.ts +0 -11
- package/data/BarEntry.js +0 -2
- package/data/BarEntry.js.map +0 -1
- package/data/BarLineScatterCandleBubbleData.d.ts +0 -10
- package/data/BarLineScatterCandleBubbleData.js +0 -9
- package/data/BarLineScatterCandleBubbleData.js.map +0 -1
- package/data/BarLineScatterCandleBubbleDataSet.d.ts +0 -17
- package/data/BarLineScatterCandleBubbleDataSet.js +0 -18
- package/data/BarLineScatterCandleBubbleDataSet.js.map +0 -1
- package/data/BaseDataSet.d.ts +0 -180
- package/data/BaseDataSet.js +0 -220
- package/data/BaseDataSet.js.map +0 -1
- package/data/BaseEntry.d.ts +0 -10
- package/data/BaseEntry.js +0 -2
- package/data/BaseEntry.js.map +0 -1
- package/data/BubbleData.d.ts +0 -12
- package/data/BubbleData.js +0 -15
- package/data/BubbleData.js.map +0 -1
- package/data/BubbleDataSet.d.ts +0 -18
- package/data/BubbleDataSet.js +0 -36
- package/data/BubbleDataSet.js.map +0 -1
- package/data/BubbleEntry.d.ts +0 -5
- package/data/BubbleEntry.js +0 -2
- package/data/BubbleEntry.js.map +0 -1
- package/data/CandleData.d.ts +0 -5
- package/data/CandleData.js +0 -4
- package/data/CandleData.js.map +0 -1
- package/data/CandleDataSet.d.ts +0 -76
- package/data/CandleDataSet.js +0 -116
- package/data/CandleDataSet.js.map +0 -1
- package/data/CandleEntry.d.ts +0 -11
- package/data/CandleEntry.js +0 -2
- package/data/CandleEntry.js.map +0 -1
- package/data/ChartData.d.ts +0 -320
- package/data/ChartData.js +0 -702
- package/data/ChartData.js.map +0 -1
- package/data/CombinedData.d.ts +0 -61
- package/data/CombinedData.js +0 -153
- package/data/CombinedData.js.map +0 -1
- package/data/DataSet.d.ts +0 -98
- package/data/DataSet.js +0 -424
- package/data/DataSet.js.map +0 -1
- package/data/Entry.d.ts +0 -3
- package/data/Entry.js +0 -2
- package/data/Entry.js.map +0 -1
- package/data/LineData.d.ts +0 -10
- package/data/LineData.js +0 -9
- package/data/LineData.js.map +0 -1
- package/data/LineDataSet.d.ts +0 -106
- package/data/LineDataSet.js +0 -153
- package/data/LineDataSet.js.map +0 -1
- package/data/LineRadarDataSet.d.ts +0 -32
- package/data/LineRadarDataSet.js +0 -29
- package/data/LineRadarDataSet.js.map +0 -1
- package/data/LineScatterCandleRadarDataSet.d.ts +0 -36
- package/data/LineScatterCandleRadarDataSet.js +0 -44
- package/data/LineScatterCandleRadarDataSet.js.map +0 -1
- package/data/PieData.d.ts +0 -39
- package/data/PieData.js +0 -55
- package/data/PieData.js.map +0 -1
- package/data/PieDataSet.d.ts +0 -52
- package/data/PieDataSet.js +0 -54
- package/data/PieDataSet.js.map +0 -1
- package/data/PieEntry.d.ts +0 -7
- package/data/PieEntry.js +0 -2
- package/data/PieEntry.js.map +0 -1
- package/data/RadarData.d.ts +0 -17
- package/data/RadarData.js +0 -15
- package/data/RadarData.js.map +0 -1
- package/data/RadarDataSet.d.ts +0 -14
- package/data/RadarDataSet.js +0 -20
- package/data/RadarDataSet.js.map +0 -1
- package/data/RadarEntry.d.ts +0 -3
- package/data/RadarEntry.js +0 -2
- package/data/RadarEntry.js.map +0 -1
- package/data/ScatterData.d.ts +0 -9
- package/data/ScatterData.js +0 -17
- package/data/ScatterData.js.map +0 -1
- package/data/ScatterDataSet.d.ts +0 -40
- package/data/ScatterDataSet.js +0 -61
- package/data/ScatterDataSet.js.map +0 -1
- package/formatter/DefaultAxisValueFormatter.d.ts +0 -23
- package/formatter/DefaultAxisValueFormatter.js +0 -30
- package/formatter/DefaultAxisValueFormatter.js.map +0 -1
- package/formatter/DefaultFillFormatter.d.ts +0 -6
- package/formatter/DefaultFillFormatter.js +0 -29
- package/formatter/DefaultFillFormatter.js.map +0 -1
- package/formatter/DefaultValueFormatter.d.ts +0 -3
- package/formatter/DefaultValueFormatter.js +0 -4
- package/formatter/DefaultValueFormatter.js.map +0 -1
- package/formatter/IAxisValueFormatter.d.ts +0 -23
- package/formatter/IAxisValueFormatter.js +0 -2
- package/formatter/IAxisValueFormatter.js.map +0 -1
- package/formatter/IFillFormatter.d.ts +0 -30
- package/formatter/IFillFormatter.js +0 -2
- package/formatter/IFillFormatter.js.map +0 -1
- package/formatter/IValueFormatter.d.ts +0 -25
- package/formatter/IValueFormatter.js +0 -2
- package/formatter/IValueFormatter.js.map +0 -1
- package/formatter/ValueFormatter.d.ts +0 -81
- package/formatter/ValueFormatter.js +0 -90
- package/formatter/ValueFormatter.js.map +0 -1
- package/highlight/BarHighlighter.d.ts +0 -33
- package/highlight/BarHighlighter.js +0 -89
- package/highlight/BarHighlighter.js.map +0 -1
- package/highlight/ChartHighlighter.d.ts +0 -102
- package/highlight/ChartHighlighter.js +0 -220
- package/highlight/ChartHighlighter.js.map +0 -1
- package/highlight/CombinedHighlighter.d.ts +0 -17
- package/highlight/CombinedHighlighter.js +0 -59
- package/highlight/CombinedHighlighter.js.map +0 -1
- package/highlight/Highlight.d.ts +0 -69
- package/highlight/Highlight.js +0 -8
- package/highlight/Highlight.js.map +0 -1
- package/highlight/HorizontalBarHighlighter.d.ts +0 -10
- package/highlight/HorizontalBarHighlighter.js +0 -54
- package/highlight/HorizontalBarHighlighter.js.map +0 -1
- package/highlight/IHighlighter.d.ts +0 -15
- package/highlight/IHighlighter.js +0 -2
- package/highlight/IHighlighter.js.map +0 -1
- package/highlight/PieHighlighter.d.ts +0 -9
- package/highlight/PieHighlighter.js +0 -21
- package/highlight/PieHighlighter.js.map +0 -1
- package/highlight/PieRadarHighlighter.d.ts +0 -25
- package/highlight/PieRadarHighlighter.js +0 -33
- package/highlight/PieRadarHighlighter.js.map +0 -1
- package/highlight/RadarHighlighter.d.ts +0 -20
- package/highlight/RadarHighlighter.js +0 -59
- package/highlight/RadarHighlighter.js.map +0 -1
- package/index.d.ts +0 -11
- package/index.js +0 -15
- package/index.js.map +0 -1
- package/interfaces/dataprovider/BarDataProvider.d.ts +0 -9
- package/interfaces/dataprovider/BarLineScatterCandleBubbleDataProvider.d.ts +0 -19
- package/interfaces/dataprovider/BubbleDataProvider.d.ts +0 -6
- package/interfaces/dataprovider/CandleDataProvider.d.ts +0 -6
- package/interfaces/dataprovider/ChartInterface.d.ts +0 -60
- package/interfaces/dataprovider/CombinedDataProvider.d.ts +0 -13
- package/interfaces/dataprovider/LineDataProvider.d.ts +0 -9
- package/interfaces/dataprovider/ScatterDataProvider.d.ts +0 -6
- package/interfaces/datasets/IBarDataSet.d.ts +0 -47
- package/interfaces/datasets/IBarLineScatterCandleBubbleDataSet.d.ts +0 -12
- package/interfaces/datasets/IBubbleDataSet.d.ts +0 -19
- package/interfaces/datasets/ICandleDataSet.d.ts +0 -81
- package/interfaces/datasets/IDataSet.d.ts +0 -385
- package/interfaces/datasets/ILineDataSet.d.ts +0 -67
- package/interfaces/datasets/ILineRadarDataSet.d.ts +0 -35
- package/interfaces/datasets/ILineScatterCandleRadarDataSet.d.ts +0 -32
- package/interfaces/datasets/IPieDataSet.d.ts +0 -49
- package/interfaces/datasets/IRadarDataSet.d.ts +0 -21
- package/interfaces/datasets/IScatterDataSet.d.ts +0 -37
- package/jobs/AnimatedMoveViewJob.d.ts +0 -15
- package/jobs/AnimatedMoveViewJob.js +0 -42
- package/jobs/AnimatedMoveViewJob.js.map +0 -1
- package/jobs/AnimatedViewPortJob.d.ts +0 -31
- package/jobs/AnimatedViewPortJob.js +0 -52
- package/jobs/AnimatedViewPortJob.js.map +0 -1
- package/jobs/AnimatedZoomJob.d.ts +0 -23
- package/jobs/AnimatedZoomJob.js +0 -63
- package/jobs/AnimatedZoomJob.js.map +0 -1
- package/jobs/MoveViewJob.d.ts +0 -14
- package/jobs/MoveViewJob.js +0 -36
- package/jobs/MoveViewJob.js.map +0 -1
- package/jobs/ViewPortJob.d.ts +0 -13
- package/jobs/ViewPortJob.js +0 -14
- package/jobs/ViewPortJob.js.map +0 -1
- package/jobs/ZoomJob.d.ts +0 -15
- package/jobs/ZoomJob.js +0 -48
- package/jobs/ZoomJob.js.map +0 -1
- package/listener/BarLineChartTouchListener.d.ts +0 -187
- package/listener/BarLineChartTouchListener.js +0 -544
- package/listener/BarLineChartTouchListener.js.map +0 -1
- package/listener/ChartTouchListener.d.ts +0 -69
- package/listener/ChartTouchListener.js +0 -81
- package/listener/ChartTouchListener.js.map +0 -1
- package/listener/PieRadarChartTouchListener.d.ts +0 -100
- package/listener/PieRadarChartTouchListener.js +0 -282
- package/listener/PieRadarChartTouchListener.js.map +0 -1
- package/model/GradientColor.d.ts +0 -9
- package/model/GradientColor.js +0 -19
- package/model/GradientColor.js.map +0 -1
- package/renderer/AxisRenderer.d.ts +0 -101
- package/renderer/AxisRenderer.js +0 -219
- package/renderer/AxisRenderer.js.map +0 -1
- package/renderer/BarChartRenderer.d.ts +0 -40
- package/renderer/BarChartRenderer.js +0 -366
- package/renderer/BarChartRenderer.js.map +0 -1
- package/renderer/BarLineScatterCandleBubbleRenderer.d.ts +0 -57
- package/renderer/BarLineScatterCandleBubbleRenderer.js +0 -63
- package/renderer/BarLineScatterCandleBubbleRenderer.js.map +0 -1
- package/renderer/BubbleChartRenderer.d.ts +0 -22
- package/renderer/BubbleChartRenderer.js +0 -204
- package/renderer/BubbleChartRenderer.js.map +0 -1
- package/renderer/CandleStickChartRenderer.d.ts +0 -18
- package/renderer/CandleStickChartRenderer.js +0 -268
- package/renderer/CandleStickChartRenderer.js.map +0 -1
- package/renderer/CombinedChartRenderer.d.ts +0 -40
- package/renderer/CombinedChartRenderer.js +0 -133
- package/renderer/CombinedChartRenderer.js.map +0 -1
- package/renderer/DataRenderer.d.ts +0 -103
- package/renderer/DataRenderer.js +0 -110
- package/renderer/DataRenderer.js.map +0 -1
- package/renderer/HorizontalBarChartRenderer.d.ts +0 -20
- package/renderer/HorizontalBarChartRenderer.js +0 -303
- package/renderer/HorizontalBarChartRenderer.js.map +0 -1
- package/renderer/LegendRenderer.d.ts +0 -54
- package/renderer/LegendRenderer.js +0 -340
- package/renderer/LegendRenderer.js.map +0 -1
- package/renderer/LineChartRenderer.d.ts +0 -100
- package/renderer/LineChartRenderer.js +0 -766
- package/renderer/LineChartRenderer.js.map +0 -1
- package/renderer/LineRadarRenderer.d.ts +0 -30
- package/renderer/LineRadarRenderer.js +0 -85
- package/renderer/LineRadarRenderer.js.map +0 -1
- package/renderer/LineScatterCandleRadarRenderer.d.ts +0 -20
- package/renderer/LineScatterCandleRadarRenderer.js +0 -45
- package/renderer/LineScatterCandleRadarRenderer.js.map +0 -1
- package/renderer/PieChartRenderer.d.ts +0 -86
- package/renderer/PieChartRenderer.js +0 -718
- package/renderer/PieChartRenderer.js.map +0 -1
- package/renderer/RadarChartRenderer.d.ts +0 -33
- package/renderer/RadarChartRenderer.js +0 -290
- package/renderer/RadarChartRenderer.js.map +0 -1
- package/renderer/Renderer.d.ts +0 -13
- package/renderer/Renderer.js +0 -11
- package/renderer/Renderer.js.map +0 -1
- package/renderer/ScatterChartRenderer.d.ts +0 -16
- package/renderer/ScatterChartRenderer.js +0 -147
- package/renderer/ScatterChartRenderer.js.map +0 -1
- package/renderer/XAxisRenderer.d.ts +0 -58
- package/renderer/XAxisRenderer.js +0 -458
- package/renderer/XAxisRenderer.js.map +0 -1
- package/renderer/XAxisRendererHorizontalBarChart.d.ts +0 -31
- package/renderer/XAxisRendererHorizontalBarChart.js +0 -271
- package/renderer/XAxisRendererHorizontalBarChart.js.map +0 -1
- package/renderer/XAxisRendererRadarChart.d.ts +0 -17
- package/renderer/XAxisRendererRadarChart.js +0 -51
- package/renderer/XAxisRendererRadarChart.js.map +0 -1
- package/renderer/YAxisRenderer.d.ts +0 -60
- package/renderer/YAxisRenderer.js +0 -379
- package/renderer/YAxisRenderer.js.map +0 -1
- package/renderer/YAxisRendererHorizontalBarChart.d.ts +0 -33
- package/renderer/YAxisRendererHorizontalBarChart.js +0 -250
- package/renderer/YAxisRendererHorizontalBarChart.js.map +0 -1
- package/renderer/YAxisRendererRadarChart.d.ts +0 -14
- package/renderer/YAxisRendererRadarChart.js +0 -180
- package/renderer/YAxisRendererRadarChart.js.map +0 -1
- package/renderer/scatter/ChevronDownShapeRenderer.d.ts +0 -11
- package/renderer/scatter/ChevronDownShapeRenderer.js +0 -15
- package/renderer/scatter/ChevronDownShapeRenderer.js.map +0 -1
- package/renderer/scatter/ChevronUpShapeRenderer.d.ts +0 -11
- package/renderer/scatter/ChevronUpShapeRenderer.js +0 -15
- package/renderer/scatter/ChevronUpShapeRenderer.js.map +0 -1
- package/renderer/scatter/CircleShapeRenderer.d.ts +0 -11
- package/renderer/scatter/CircleShapeRenderer.js +0 -31
- package/renderer/scatter/CircleShapeRenderer.js.map +0 -1
- package/renderer/scatter/CrossShapeRenderer.d.ts +0 -11
- package/renderer/scatter/CrossShapeRenderer.js +0 -15
- package/renderer/scatter/CrossShapeRenderer.js.map +0 -1
- package/renderer/scatter/IShapeRenderer.d.ts +0 -20
- package/renderer/scatter/IShapeRenderer.js +0 -2
- package/renderer/scatter/IShapeRenderer.js.map +0 -1
- package/renderer/scatter/SquareShapeRenderer.d.ts +0 -11
- package/renderer/scatter/SquareShapeRenderer.js +0 -31
- package/renderer/scatter/SquareShapeRenderer.js.map +0 -1
- package/renderer/scatter/TriangleShapeRenderer.d.ts +0 -12
- package/renderer/scatter/TriangleShapeRenderer.js +0 -43
- package/renderer/scatter/TriangleShapeRenderer.js.map +0 -1
- package/renderer/scatter/XShapeRenderer.d.ts +0 -11
- package/renderer/scatter/XShapeRenderer.js +0 -15
- package/renderer/scatter/XShapeRenderer.js.map +0 -1
- package/utils/ColorTemplate.d.ts +0 -34
- package/utils/ColorTemplate.js +0 -51
- package/utils/ColorTemplate.js.map +0 -1
- package/utils/HorizontalViewPortHandler.d.ts +0 -6
- package/utils/HorizontalViewPortHandler.js +0 -7
- package/utils/HorizontalViewPortHandler.js.map +0 -1
- package/utils/MPPointD.d.ts +0 -5
- package/utils/MPPointF.d.ts +0 -7
- package/utils/MPSize.d.ts +0 -7
- package/utils/ObjectPool.d.ts +0 -81
- package/utils/ObjectPool.js +0 -183
- package/utils/ObjectPool.js.map +0 -1
- package/utils/Transformer.d.ts +0 -175
- package/utils/Transformer.js +0 -356
- package/utils/Transformer.js.map +0 -1
- package/utils/TransformerHorizontalBarChart.d.ts +0 -14
- package/utils/TransformerHorizontalBarChart.js +0 -30
- package/utils/TransformerHorizontalBarChart.js.map +0 -1
- package/utils/Utils.d.ts +0 -203
- package/utils/Utils.js +0 -653
- package/utils/Utils.js.map +0 -1
- package/utils/ViewPortHandler.d.ts +0 -299
- package/utils/ViewPortHandler.js +0 -580
- package/utils/ViewPortHandler.js.map +0 -1
- package/utils/colors/colorful.d.ts +0 -1
- package/utils/colors/colorful.js +0 -2
- package/utils/colors/colorful.js.map +0 -1
- package/utils/colors/joyful.d.ts +0 -1
- package/utils/colors/joyful.js +0 -2
- package/utils/colors/joyful.js.map +0 -1
- package/utils/colors/liberty.d.ts +0 -1
- package/utils/colors/liberty.js +0 -2
- package/utils/colors/liberty.js.map +0 -1
- package/utils/colors/material.d.ts +0 -1
- package/utils/colors/material.js +0 -2
- package/utils/colors/material.js.map +0 -1
- package/utils/colors/pastel.d.ts +0 -1
- package/utils/colors/pastel.js +0 -2
- package/utils/colors/pastel.js.map +0 -1
- package/utils/colors/vordiplom.d.ts +0 -1
- package/utils/colors/vordiplom.js +0 -2
- package/utils/colors/vordiplom.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IShapeRenderer.js","sourceRoot":"","sources":["../../../../src/ui-chart/renderer/scatter/IShapeRenderer.ts"],"names":[],"mappings":""}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Canvas, Paint } from '@nativescript-community/ui-canvas';
|
|
2
|
-
import { IScatterDataSet } from '../../interfaces/datasets/IScatterDataSet';
|
|
3
|
-
import { ViewPortHandler } from '../../utils/ViewPortHandler';
|
|
4
|
-
import { IShapeRenderer } from './IShapeRenderer';
|
|
5
|
-
/**
|
|
6
|
-
* Created by wajdic on 15/06/2016.
|
|
7
|
-
* Created at Time 09:08
|
|
8
|
-
*/
|
|
9
|
-
export declare class SquareShapeRenderer implements IShapeRenderer {
|
|
10
|
-
renderShape(c: Canvas, dataSet: IScatterDataSet, viewPortHandler: ViewPortHandler, posX: any, posY: any, renderPaint: Paint): void;
|
|
11
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Style } from '@nativescript-community/ui-canvas';
|
|
2
|
-
/**
|
|
3
|
-
* Created by wajdic on 15/06/2016.
|
|
4
|
-
* Created at Time 09:08
|
|
5
|
-
*/
|
|
6
|
-
export class SquareShapeRenderer {
|
|
7
|
-
renderShape(c, dataSet, viewPortHandler, posX, posY, renderPaint) {
|
|
8
|
-
const shapeSize = dataSet.scatterShapeSize;
|
|
9
|
-
const shapeHalf = shapeSize / 2;
|
|
10
|
-
const shapeHoleSizeHalf = dataSet.scatterShapeHoleRadius;
|
|
11
|
-
const shapeHoleSize = shapeHoleSizeHalf * 2;
|
|
12
|
-
const shapeStrokeSize = (shapeSize - shapeHoleSize) / 2;
|
|
13
|
-
const shapeStrokeSizeHalf = shapeStrokeSize / 2;
|
|
14
|
-
const shapeHoleColor = dataSet.scatterShapeHoleColor;
|
|
15
|
-
if (shapeHoleSize > 0.0) {
|
|
16
|
-
renderPaint.setStyle(Style.STROKE);
|
|
17
|
-
renderPaint.setStrokeWidth(shapeStrokeSize);
|
|
18
|
-
c.drawRect(posX - shapeHoleSizeHalf - shapeStrokeSizeHalf, posY - shapeHoleSizeHalf - shapeStrokeSizeHalf, posX + shapeHoleSizeHalf + shapeStrokeSizeHalf, posY + shapeHoleSizeHalf + shapeStrokeSizeHalf, renderPaint);
|
|
19
|
-
if (shapeHoleColor && shapeHoleColor) {
|
|
20
|
-
renderPaint.setStyle(Style.FILL);
|
|
21
|
-
renderPaint.setColor(shapeHoleColor);
|
|
22
|
-
c.drawRect(posX - shapeHoleSizeHalf, posY - shapeHoleSizeHalf, posX + shapeHoleSizeHalf, posY + shapeHoleSizeHalf, renderPaint);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
else {
|
|
26
|
-
renderPaint.setStyle(Style.FILL);
|
|
27
|
-
c.drawRect(posX - shapeHalf, posY - shapeHalf, posX + shapeHalf, posY + shapeHalf, renderPaint);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=SquareShapeRenderer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SquareShapeRenderer.js","sourceRoot":"","sources":["../../../../src/ui-chart/renderer/scatter/SquareShapeRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAKzE;;;GAGG;AACH,MAAM,OAAO,mBAAmB;IACrB,WAAW,CAAC,CAAS,EAAE,OAAwB,EAAE,eAAgC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAkB;QACpH,MAAM,SAAS,GAAG,OAAO,CAAC,gBAAgB,CAAC;QAC3C,MAAM,SAAS,GAAG,SAAS,GAAG,CAAC,CAAC;QAChC,MAAM,iBAAiB,GAAG,OAAO,CAAC,sBAAsB,CAAC;QACzD,MAAM,aAAa,GAAG,iBAAiB,GAAG,CAAC,CAAC;QAC5C,MAAM,eAAe,GAAG,CAAC,SAAS,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC;QACxD,MAAM,mBAAmB,GAAG,eAAe,GAAG,CAAC,CAAC;QAEhD,MAAM,cAAc,GAAG,OAAO,CAAC,qBAAqB,CAAC;QACrD,IAAI,aAAa,GAAG,GAAG,EAAE,CAAC;YACtB,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;YACnC,WAAW,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;YAE5C,CAAC,CAAC,QAAQ,CACN,IAAI,GAAG,iBAAiB,GAAG,mBAAmB,EAC9C,IAAI,GAAG,iBAAiB,GAAG,mBAAmB,EAC9C,IAAI,GAAG,iBAAiB,GAAG,mBAAmB,EAC9C,IAAI,GAAG,iBAAiB,GAAG,mBAAmB,EAC9C,WAAW,CACd,CAAC;YAEF,IAAI,cAAc,IAAI,cAAc,EAAE,CAAC;gBACnC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;gBAEjC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;gBACrC,CAAC,CAAC,QAAQ,CAAC,IAAI,GAAG,iBAAiB,EAAE,IAAI,GAAG,iBAAiB,EAAE,IAAI,GAAG,iBAAiB,EAAE,IAAI,GAAG,iBAAiB,EAAE,WAAW,CAAC,CAAC;YACpI,CAAC;QACL,CAAC;aAAM,CAAC;YACJ,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YAEjC,CAAC,CAAC,QAAQ,CAAC,IAAI,GAAG,SAAS,EAAE,IAAI,GAAG,SAAS,EAAE,IAAI,GAAG,SAAS,EAAE,IAAI,GAAG,SAAS,EAAE,WAAW,CAAC,CAAC;QACpG,CAAC;IACL,CAAC;CACJ"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Canvas, Paint, Path } from '@nativescript-community/ui-canvas';
|
|
2
|
-
import { IScatterDataSet } from '../../interfaces/datasets/IScatterDataSet';
|
|
3
|
-
import { ViewPortHandler } from '../../utils/ViewPortHandler';
|
|
4
|
-
import { IShapeRenderer } from './IShapeRenderer';
|
|
5
|
-
/**
|
|
6
|
-
* Created by wajdic on 15/06/2016.
|
|
7
|
-
* Created at Time 09:08
|
|
8
|
-
*/
|
|
9
|
-
export declare class TriangleShapeRenderer implements IShapeRenderer {
|
|
10
|
-
static mTrianglePathBuffer: Path;
|
|
11
|
-
renderShape(c: Canvas, dataSet: IScatterDataSet, viewPortHandler: ViewPortHandler, posX: any, posY: any, renderPaint: Paint): void;
|
|
12
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Path, Style } from '@nativescript-community/ui-canvas';
|
|
2
|
-
/**
|
|
3
|
-
* Created by wajdic on 15/06/2016.
|
|
4
|
-
* Created at Time 09:08
|
|
5
|
-
*/
|
|
6
|
-
export class TriangleShapeRenderer {
|
|
7
|
-
renderShape(c, dataSet, viewPortHandler, posX, posY, renderPaint) {
|
|
8
|
-
const shapeSize = dataSet.scatterShapeSize;
|
|
9
|
-
const shapeHalf = shapeSize / 2;
|
|
10
|
-
const shapeHoleSizeHalf = dataSet.scatterShapeHoleRadius;
|
|
11
|
-
const shapeHoleSize = shapeHoleSizeHalf * 2;
|
|
12
|
-
const shapeStrokeSize = (shapeSize - shapeHoleSize) / 2;
|
|
13
|
-
const shapeHoleColor = dataSet.scatterShapeHoleColor;
|
|
14
|
-
renderPaint.setStyle(Style.FILL);
|
|
15
|
-
// create a triangle path
|
|
16
|
-
const tri = TriangleShapeRenderer.mTrianglePathBuffer;
|
|
17
|
-
tri.reset();
|
|
18
|
-
tri.moveTo(posX, posY - shapeHalf);
|
|
19
|
-
tri.lineTo(posX + shapeHalf, posY + shapeHalf);
|
|
20
|
-
tri.lineTo(posX - shapeHalf, posY + shapeHalf);
|
|
21
|
-
if (shapeSize > 0.0) {
|
|
22
|
-
tri.lineTo(posX, posY - shapeHalf);
|
|
23
|
-
tri.moveTo(posX - shapeHalf + shapeStrokeSize, posY + shapeHalf - shapeStrokeSize);
|
|
24
|
-
tri.lineTo(posX + shapeHalf - shapeStrokeSize, posY + shapeHalf - shapeStrokeSize);
|
|
25
|
-
tri.lineTo(posX, posY - shapeHalf + shapeStrokeSize);
|
|
26
|
-
tri.lineTo(posX - shapeHalf + shapeStrokeSize, posY + shapeHalf - shapeStrokeSize);
|
|
27
|
-
}
|
|
28
|
-
tri.close();
|
|
29
|
-
c.drawPath(tri, renderPaint);
|
|
30
|
-
tri.reset();
|
|
31
|
-
if (shapeSize > 0.0 && shapeHoleColor) {
|
|
32
|
-
renderPaint.setColor(shapeHoleColor);
|
|
33
|
-
tri.moveTo(posX, posY - shapeHalf + shapeStrokeSize);
|
|
34
|
-
tri.lineTo(posX + shapeHalf - shapeStrokeSize, posY + shapeHalf - shapeStrokeSize);
|
|
35
|
-
tri.lineTo(posX - shapeHalf + shapeStrokeSize, posY + shapeHalf - shapeStrokeSize);
|
|
36
|
-
tri.close();
|
|
37
|
-
c.drawPath(tri, renderPaint);
|
|
38
|
-
tri.reset();
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
TriangleShapeRenderer.mTrianglePathBuffer = new Path();
|
|
43
|
-
//# sourceMappingURL=TriangleShapeRenderer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TriangleShapeRenderer.js","sourceRoot":"","sources":["../../../../src/ui-chart/renderer/scatter/TriangleShapeRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,IAAI,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAK/E;;;GAGG;AACH,MAAM,OAAO,qBAAqB;IAGvB,WAAW,CAAC,CAAS,EAAE,OAAwB,EAAE,eAAgC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAkB;QACpH,MAAM,SAAS,GAAG,OAAO,CAAC,gBAAgB,CAAC;QAC3C,MAAM,SAAS,GAAG,SAAS,GAAG,CAAC,CAAC;QAChC,MAAM,iBAAiB,GAAG,OAAO,CAAC,sBAAsB,CAAC;QACzD,MAAM,aAAa,GAAG,iBAAiB,GAAG,CAAC,CAAC;QAC5C,MAAM,eAAe,GAAG,CAAC,SAAS,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC;QAExD,MAAM,cAAc,GAAG,OAAO,CAAC,qBAAqB,CAAC;QAErD,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAEjC,yBAAyB;QACzB,MAAM,GAAG,GAAG,qBAAqB,CAAC,mBAAmB,CAAC;QACtD,GAAG,CAAC,KAAK,EAAE,CAAC;QAEZ,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,CAAC,CAAC;QACnC,GAAG,CAAC,MAAM,CAAC,IAAI,GAAG,SAAS,EAAE,IAAI,GAAG,SAAS,CAAC,CAAC;QAC/C,GAAG,CAAC,MAAM,CAAC,IAA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B,GAAG,CAAC,KAAK,EAAE,CAAC;QAChB,CAAC;IACL,CAAC;;AA9CM,yCAAmB,GAAG,IAAI,IAAI,EAAE,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Canvas, Paint } from '@nativescript-community/ui-canvas';
|
|
2
|
-
import { IScatterDataSet } from '../../interfaces/datasets/IScatterDataSet';
|
|
3
|
-
import { ViewPortHandler } from '../../utils/ViewPortHandler';
|
|
4
|
-
import { IShapeRenderer } from './IShapeRenderer';
|
|
5
|
-
/**
|
|
6
|
-
* Created by wajdic on 15/06/2016.
|
|
7
|
-
* Created at Time 09:08
|
|
8
|
-
*/
|
|
9
|
-
export declare class XShapeRenderer implements IShapeRenderer {
|
|
10
|
-
renderShape(c: Canvas, dataSet: IScatterDataSet, viewPortHandler: ViewPortHandler, posX: any, posY: any, renderPaint: Paint): void;
|
|
11
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Style } from '@nativescript-community/ui-canvas';
|
|
2
|
-
/**
|
|
3
|
-
* Created by wajdic on 15/06/2016.
|
|
4
|
-
* Created at Time 09:08
|
|
5
|
-
*/
|
|
6
|
-
export class XShapeRenderer {
|
|
7
|
-
renderShape(c, dataSet, viewPortHandler, posX, posY, renderPaint) {
|
|
8
|
-
const shapeHalf = dataSet.scatterShapeSize / 2;
|
|
9
|
-
renderPaint.setStyle(Style.STROKE);
|
|
10
|
-
renderPaint.setStrokeWidth(1);
|
|
11
|
-
c.drawLine(posX - shapeHalf, posY - shapeHalf, posX + shapeHalf, posY + shapeHalf, renderPaint);
|
|
12
|
-
c.drawLine(posX + shapeHalf, posY - shapeHalf, posX - shapeHalf, posY + shapeHalf, renderPaint);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=XShapeRenderer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"XShapeRenderer.js","sourceRoot":"","sources":["../../../../src/ui-chart/renderer/scatter/XShapeRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAMzE;;;GAGG;AACH,MAAM,OAAO,cAAc;IAChB,WAAW,CAAC,CAAS,EAAE,OAAwB,EAAE,eAAgC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAkB;QACpH,MAAM,SAAS,GAAG,OAAO,CAAC,gBAAgB,GAAG,CAAC,CAAC;QAE/C,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACnC,WAAW,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;QAE9B,CAAC,CAAC,QAAQ,CAAC,IAAI,GAAG,SAAS,EAAE,IAAI,GAAG,SAAS,EAAE,IAAI,GAAG,SAAS,EAAE,IAAI,GAAG,SAAS,EAAE,WAAW,CAAC,CAAC;QAChG,CAAC,CAAC,QAAQ,CAAC,IAAI,GAAG,SAAS,EAAE,IAAI,GAAG,SAAS,EAAE,IAAI,GAAG,SAAS,EAAE,IAAI,GAAG,SAAS,EAAE,WAAW,CAAC,CAAC;IACpG,CAAC;CACJ"}
|
package/utils/ColorTemplate.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Color } from '@nativescript/core';
|
|
2
|
-
/**
|
|
3
|
-
* Class that holds predefined color integer arrays (e.g.
|
|
4
|
-
* ColorTemplate.VORDIPLOM_COLORS) and convenience methods for loading colors
|
|
5
|
-
* from resources.
|
|
6
|
-
*
|
|
7
|
-
|
|
8
|
-
*/
|
|
9
|
-
export declare class ColorTemplate {
|
|
10
|
-
/**
|
|
11
|
-
* an "invalid" color that indicates that no color is set
|
|
12
|
-
*/
|
|
13
|
-
static COLOR_NONE: Color;
|
|
14
|
-
/**
|
|
15
|
-
* this "color" is used for the Legend creation and indicates that the next
|
|
16
|
-
* form should be skipped
|
|
17
|
-
*/
|
|
18
|
-
static COLOR_SKIP: Color;
|
|
19
|
-
static get LIBERTY_COLORS(): any;
|
|
20
|
-
static get JOYFUL_COLORS(): any;
|
|
21
|
-
static get PASTEL_COLORS(): any;
|
|
22
|
-
static get COLORFUL_COLORS(): any;
|
|
23
|
-
static get VORDIPLOM_COLORS(): any;
|
|
24
|
-
static get MATERIAL_COLORS(): any;
|
|
25
|
-
static getColorInstance(c: Color | number | string): Color;
|
|
26
|
-
/**
|
|
27
|
-
* Sets the alpha component of the given color.
|
|
28
|
-
*
|
|
29
|
-
* @param color
|
|
30
|
-
* @param alpha 0 - 255
|
|
31
|
-
* @return
|
|
32
|
-
*/
|
|
33
|
-
static colorWithAlpha(color: Color, alpha: any): Color;
|
|
34
|
-
}
|
package/utils/ColorTemplate.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { Color } from '@nativescript/core';
|
|
2
|
-
/**
|
|
3
|
-
* Class that holds predefined color integer arrays (e.g.
|
|
4
|
-
* ColorTemplate.VORDIPLOM_COLORS) and convenience methods for loading colors
|
|
5
|
-
* from resources.
|
|
6
|
-
*
|
|
7
|
-
|
|
8
|
-
*/
|
|
9
|
-
export class ColorTemplate {
|
|
10
|
-
static get LIBERTY_COLORS() {
|
|
11
|
-
return require('./colors/liberty').colors;
|
|
12
|
-
}
|
|
13
|
-
static get JOYFUL_COLORS() {
|
|
14
|
-
return require('./colors/joyful').colors;
|
|
15
|
-
}
|
|
16
|
-
static get PASTEL_COLORS() {
|
|
17
|
-
return require('./colors/pastel').colors;
|
|
18
|
-
}
|
|
19
|
-
static get COLORFUL_COLORS() {
|
|
20
|
-
return require('./colors/colorful').colors;
|
|
21
|
-
}
|
|
22
|
-
static get VORDIPLOM_COLORS() {
|
|
23
|
-
return require('./colors/vordiplom').colors;
|
|
24
|
-
}
|
|
25
|
-
static get MATERIAL_COLORS() {
|
|
26
|
-
return require('./colors/material').colors;
|
|
27
|
-
}
|
|
28
|
-
static getColorInstance(c) {
|
|
29
|
-
return c instanceof Color ? c : new Color(c);
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Sets the alpha component of the given color.
|
|
33
|
-
*
|
|
34
|
-
* @param color
|
|
35
|
-
* @param alpha 0 - 255
|
|
36
|
-
* @return
|
|
37
|
-
*/
|
|
38
|
-
static colorWithAlpha(color, alpha) {
|
|
39
|
-
return new Color(alpha, color.r, color.g, color.b);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* an "invalid" color that indicates that no color is set
|
|
44
|
-
*/
|
|
45
|
-
ColorTemplate.COLOR_NONE = new Color(-1);
|
|
46
|
-
/**
|
|
47
|
-
* this "color" is used for the Legend creation and indicates that the next
|
|
48
|
-
* form should be skipped
|
|
49
|
-
*/
|
|
50
|
-
ColorTemplate.COLOR_SKIP = new Color(0x00112234);
|
|
51
|
-
//# sourceMappingURL=ColorTemplate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ColorTemplate.js","sourceRoot":"","sources":["../../../src/ui-chart/utils/ColorTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,OAAO,aAAa;IAYtB,MAAM,KAAK,cAAc;QACrB,OAAO,OAAO,CAAC,kBAAkB,CAAC,CAAC,MAAM,CAAC;IAC9C,CAAC;IACD,MAAM,KAAK,aAAa;QACpB,OAAO,OAAO,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC;IAC7C,CAAC;IACD,MAAM,KAAK,aAAa;QACpB,OAAO,OAAO,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC;IAC7C,CAAC;IACD,MAAM,KAAK,eAAe;QACtB,OAAO,OAAO,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC;IAC/C,CAAC;IACD,MAAM,KAAK,gBAAgB;QACvB,OAAO,OAAO,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC;IAChD,CAAC;IACD,MAAM,KAAK,eAAe;QACtB,OAAO,OAAO,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC;IAC/C,CAAC;IAEM,MAAM,CAAC,gBAAgB,CAAC,CAA0B;QACrD,OAAO,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAQ,CAAC,CAAC;IACxD,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,cAAc,CAAC,KAAY,EAAE,KAAK;QAC5C,OAAO,IAAI,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IACvD,CAAC;;AA3CD;;GAEG;AACW,wBAAU,GAAG,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAEzC;;;GAGG;AACW,wBAAU,GAAG,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HorizontalViewPortHandler.js","sourceRoot":"","sources":["../../../src/ui-chart/utils/HorizontalViewPortHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD;;GAEG;AACH,MAAM,OAAO,yBAA0B,SAAQ,eAAe;CAgB7D"}
|
package/utils/MPPointD.d.ts
DELETED
package/utils/MPPointF.d.ts
DELETED
package/utils/MPSize.d.ts
DELETED
package/utils/ObjectPool.d.ts
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
export declare abstract class Poolable {
|
|
2
|
-
static mNO_OWNER: number;
|
|
3
|
-
mCurrentOwnerId: number;
|
|
4
|
-
abstract instantiate(): Poolable;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* An object pool for recycling of object instances extending Poolable.
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* Cost/Benefit :
|
|
11
|
-
* Cost - The pool can only contain objects extending Poolable.
|
|
12
|
-
* Benefit - The pool can very quickly determine if an object is elligable for storage without iteration.
|
|
13
|
-
* Benefit - The pool can also know if an instance of Poolable is already stored in a different pool instance.
|
|
14
|
-
* Benefit - The pool can grow as needed, if it is empty
|
|
15
|
-
* Cost - However, refilling the pool when it is empty might incur a time cost with sufficiently large capacity. Set the replenishPercentage to a lower number if this is a concern.
|
|
16
|
-
*
|
|
17
|
-
* Created by Tony Patino on 6/20/16.
|
|
18
|
-
*/
|
|
19
|
-
export declare class ObjectPool<T extends Poolable> {
|
|
20
|
-
private static mIds;
|
|
21
|
-
private mPoolId;
|
|
22
|
-
private mDesiredCapacity;
|
|
23
|
-
private mObjects;
|
|
24
|
-
private mObjectsPointer;
|
|
25
|
-
private mModelObject;
|
|
26
|
-
private mReplenishPercentage;
|
|
27
|
-
/**
|
|
28
|
-
* Returns the id of the given pool instance.
|
|
29
|
-
*
|
|
30
|
-
* @return an integer ID belonging to this pool instance.
|
|
31
|
-
*/
|
|
32
|
-
getPoolId(): any;
|
|
33
|
-
/**
|
|
34
|
-
* Returns an ObjectPool instance, of a given starting capacity, that recycles instances of a given Poolable object.
|
|
35
|
-
*
|
|
36
|
-
* @param withCapacity A positive integer value.
|
|
37
|
-
* @param object An instance of the object that the pool should recycle.
|
|
38
|
-
* @return
|
|
39
|
-
*/
|
|
40
|
-
static create<T extends Poolable>(withCapacity: any, object: T): ObjectPool<T>;
|
|
41
|
-
constructor(withCapacity: any, object: T);
|
|
42
|
-
/**
|
|
43
|
-
* Set the percentage of the pool to replenish on empty. Valid values are between
|
|
44
|
-
* 0.00 and 1.00
|
|
45
|
-
*
|
|
46
|
-
* @param percentage a value between 0 and 1, representing the percentage of the pool to replenish.
|
|
47
|
-
*/
|
|
48
|
-
setReplenishPercentage(percentage: any): this;
|
|
49
|
-
getReplenishPercentage(): any;
|
|
50
|
-
private refillPool;
|
|
51
|
-
/**
|
|
52
|
-
* Returns an instance of Poolable. If get() is called with an empty pool, the pool will be
|
|
53
|
-
* replenished. If the pool capacity is sufficiently large, this could come at a performance
|
|
54
|
-
* cost.
|
|
55
|
-
*
|
|
56
|
-
* @return An instance of Poolable object T
|
|
57
|
-
*/
|
|
58
|
-
get(): T;
|
|
59
|
-
/**
|
|
60
|
-
* Recycle an instance of Poolable that this pool is capable of generating.
|
|
61
|
-
* The T instance passed must not already exist inside this or any other ObjectPool instance.
|
|
62
|
-
*
|
|
63
|
-
* @param object An object of type T to recycle
|
|
64
|
-
*/
|
|
65
|
-
recycle(object: T | T[]): void;
|
|
66
|
-
private resizePool;
|
|
67
|
-
/**
|
|
68
|
-
* Returns the capacity of this object pool. Note : The pool will automatically resize
|
|
69
|
-
* to contain additional objects if the user tries to add more objects than the pool's
|
|
70
|
-
* capacity allows, but this comes at a performance cost.
|
|
71
|
-
*
|
|
72
|
-
* @return The capacity of the pool.
|
|
73
|
-
*/
|
|
74
|
-
getPoolCapacity(): number;
|
|
75
|
-
/**
|
|
76
|
-
* Returns the number of objects remaining in the pool, for diagnostic purposes.
|
|
77
|
-
*
|
|
78
|
-
* @return The number of objects remaining in the pool.
|
|
79
|
-
*/
|
|
80
|
-
getPoolCount(): any;
|
|
81
|
-
}
|
package/utils/ObjectPool.js
DELETED
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
export class Poolable {
|
|
2
|
-
constructor() {
|
|
3
|
-
this.mCurrentOwnerId = Poolable.mNO_OWNER;
|
|
4
|
-
}
|
|
5
|
-
}
|
|
6
|
-
Poolable.mNO_OWNER = -1;
|
|
7
|
-
const WRONG_POOL = 'object_wrong_poolid';
|
|
8
|
-
const ALREADY_STORED = 'object_already_stored';
|
|
9
|
-
/**
|
|
10
|
-
* An object pool for recycling of object instances extending Poolable.
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* Cost/Benefit :
|
|
14
|
-
* Cost - The pool can only contain objects extending Poolable.
|
|
15
|
-
* Benefit - The pool can very quickly determine if an object is elligable for storage without iteration.
|
|
16
|
-
* Benefit - The pool can also know if an instance of Poolable is already stored in a different pool instance.
|
|
17
|
-
* Benefit - The pool can grow as needed, if it is empty
|
|
18
|
-
* Cost - However, refilling the pool when it is empty might incur a time cost with sufficiently large capacity. Set the replenishPercentage to a lower number if this is a concern.
|
|
19
|
-
*
|
|
20
|
-
* Created by Tony Patino on 6/20/16.
|
|
21
|
-
*/
|
|
22
|
-
export class ObjectPool {
|
|
23
|
-
/**
|
|
24
|
-
* Returns the id of the given pool instance.
|
|
25
|
-
*
|
|
26
|
-
* @return an integer ID belonging to this pool instance.
|
|
27
|
-
*/
|
|
28
|
-
getPoolId() {
|
|
29
|
-
return this.mPoolId;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Returns an ObjectPool instance, of a given starting capacity, that recycles instances of a given Poolable object.
|
|
33
|
-
*
|
|
34
|
-
* @param withCapacity A positive integer value.
|
|
35
|
-
* @param object An instance of the object that the pool should recycle.
|
|
36
|
-
* @return
|
|
37
|
-
*/
|
|
38
|
-
static create(withCapacity, object) {
|
|
39
|
-
const result = new ObjectPool(withCapacity, object);
|
|
40
|
-
result.mPoolId = ObjectPool.mIds++;
|
|
41
|
-
// ObjectPool.ids++;
|
|
42
|
-
return result;
|
|
43
|
-
}
|
|
44
|
-
constructor(withCapacity, object) {
|
|
45
|
-
if (withCapacity <= 0) {
|
|
46
|
-
throw new Error('Object Pool must be instantiated with a capacity greater than 0!');
|
|
47
|
-
}
|
|
48
|
-
this.mDesiredCapacity = withCapacity;
|
|
49
|
-
this.mObjects = new Array(this.mDesiredCapacity);
|
|
50
|
-
this.mObjectsPointer = 0;
|
|
51
|
-
this.mModelObject = object;
|
|
52
|
-
this.mReplenishPercentage = 1.0;
|
|
53
|
-
this.refillPool();
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Set the percentage of the pool to replenish on empty. Valid values are between
|
|
57
|
-
* 0.00 and 1.00
|
|
58
|
-
*
|
|
59
|
-
* @param percentage a value between 0 and 1, representing the percentage of the pool to replenish.
|
|
60
|
-
*/
|
|
61
|
-
setReplenishPercentage(percentage) {
|
|
62
|
-
let p = percentage;
|
|
63
|
-
if (p > 1) {
|
|
64
|
-
p = 1;
|
|
65
|
-
}
|
|
66
|
-
else if (p < 0) {
|
|
67
|
-
p = 0;
|
|
68
|
-
}
|
|
69
|
-
this.mReplenishPercentage = p;
|
|
70
|
-
return this;
|
|
71
|
-
}
|
|
72
|
-
getReplenishPercentage() {
|
|
73
|
-
return this.mReplenishPercentage;
|
|
74
|
-
}
|
|
75
|
-
refillPool(percentage) {
|
|
76
|
-
if (percentage === undefined) {
|
|
77
|
-
this.refillPool(this.mReplenishPercentage);
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
let portionOfCapacity = this.mDesiredCapacity * percentage;
|
|
81
|
-
if (portionOfCapacity < 1) {
|
|
82
|
-
portionOfCapacity = 1;
|
|
83
|
-
}
|
|
84
|
-
else if (portionOfCapacity > this.mDesiredCapacity) {
|
|
85
|
-
portionOfCapacity = this.mDesiredCapacity;
|
|
86
|
-
}
|
|
87
|
-
for (let i = 0; i < portionOfCapacity; i++) {
|
|
88
|
-
this.mObjects[i] = this.mModelObject.instantiate();
|
|
89
|
-
}
|
|
90
|
-
this.mObjectsPointer = portionOfCapacity - 1;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* Returns an instance of Poolable. If get() is called with an empty pool, the pool will be
|
|
95
|
-
* replenished. If the pool capacity is sufficiently large, this could come at a performance
|
|
96
|
-
* cost.
|
|
97
|
-
*
|
|
98
|
-
* @return An instance of Poolable object T
|
|
99
|
-
*/
|
|
100
|
-
get() {
|
|
101
|
-
if (this.mObjectsPointer === -1 && this.mReplenishPercentage > 0.0) {
|
|
102
|
-
this.refillPool();
|
|
103
|
-
}
|
|
104
|
-
const result = this.mObjects[this.mObjectsPointer];
|
|
105
|
-
result.mCurrentOwnerId = Poolable.mNO_OWNER;
|
|
106
|
-
this.mObjectsPointer--;
|
|
107
|
-
return result;
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* Recycle an instance of Poolable that this pool is capable of generating.
|
|
111
|
-
* The T instance passed must not already exist inside this or any other ObjectPool instance.
|
|
112
|
-
*
|
|
113
|
-
* @param object An object of type T to recycle
|
|
114
|
-
*/
|
|
115
|
-
recycle(object) {
|
|
116
|
-
if (Array.isArray(object)) {
|
|
117
|
-
while (this.mObjects.length + this.mObjectsPointer + 1 > this.mDesiredCapacity) {
|
|
118
|
-
this.resizePool();
|
|
119
|
-
}
|
|
120
|
-
const objectsListSize = this.mObjects.length;
|
|
121
|
-
// Not relying on recycle(T object) because this is more performant.
|
|
122
|
-
for (let i = 0; i < objectsListSize; i++) {
|
|
123
|
-
const object = this.mObjects[i];
|
|
124
|
-
if (object.currentOwnerId !== Poolable.mNO_OWNER) {
|
|
125
|
-
if (object.currentOwnerId === this.mPoolId) {
|
|
126
|
-
throw new Error(ALREADY_STORED);
|
|
127
|
-
}
|
|
128
|
-
else {
|
|
129
|
-
throw new Error(WRONG_POOL);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
object.currentOwnerId = this.mPoolId;
|
|
133
|
-
this.mObjects[this.mObjectsPointer + 1 + i] = object;
|
|
134
|
-
}
|
|
135
|
-
this.mObjectsPointer += objectsListSize;
|
|
136
|
-
}
|
|
137
|
-
else {
|
|
138
|
-
if (object.mCurrentOwnerId !== Poolable.mNO_OWNER) {
|
|
139
|
-
if (object.mCurrentOwnerId === this.mPoolId) {
|
|
140
|
-
throw new Error(ALREADY_STORED);
|
|
141
|
-
}
|
|
142
|
-
else {
|
|
143
|
-
throw new Error(WRONG_POOL);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
this.mObjectsPointer++;
|
|
147
|
-
if (this.mObjectsPointer >= this.mObjects.length) {
|
|
148
|
-
this.resizePool();
|
|
149
|
-
}
|
|
150
|
-
object.mCurrentOwnerId = this.mPoolId;
|
|
151
|
-
this.mObjects[this.mObjectsPointer] = object;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
resizePool() {
|
|
155
|
-
const oldCapacity = this.mDesiredCapacity;
|
|
156
|
-
this.mDesiredCapacity *= 2;
|
|
157
|
-
const temp = new Array(this.mDesiredCapacity);
|
|
158
|
-
for (let i = 0; i < oldCapacity; i++) {
|
|
159
|
-
temp[i] = this.mObjects[i];
|
|
160
|
-
}
|
|
161
|
-
this.mObjects = temp;
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* Returns the capacity of this object pool. Note : The pool will automatically resize
|
|
165
|
-
* to contain additional objects if the user tries to add more objects than the pool's
|
|
166
|
-
* capacity allows, but this comes at a performance cost.
|
|
167
|
-
*
|
|
168
|
-
* @return The capacity of the pool.
|
|
169
|
-
*/
|
|
170
|
-
getPoolCapacity() {
|
|
171
|
-
return this.mObjects.length;
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* Returns the number of objects remaining in the pool, for diagnostic purposes.
|
|
175
|
-
*
|
|
176
|
-
* @return The number of objects remaining in the pool.
|
|
177
|
-
*/
|
|
178
|
-
getPoolCount() {
|
|
179
|
-
return this.mObjectsPointer + 1;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
ObjectPool.mIds = 0;
|
|
183
|
-
//# sourceMappingURL=ObjectPool.js.map
|
package/utils/ObjectPool.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectPool.js","sourceRoot":"","sources":["../../../src/ui-chart/utils/ObjectPool.ts"],"names":[],"mappings":"AAAA,MAAM,OAAgB,QAAQ;IAA9B;QAEI,oBAAe,GAAG,QAAQ,CAAC,SAAS,CAAC;IAGzC,CAAC;;AAJiB,kBAAS,GAAG,CAAC,CAAC,AAAL,CAAM;AAMjC,MAAM,UAAU,GAAG,qBAAqB,CAAC;AACzC,MAAM,cAAc,GAAG,uBAAuB,CAAC;AAC/C;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,UAAU;IAUnB;;;;OAIG;IACI,SAAS;QACZ,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CA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