@nativescript-community/ui-chart 1.2.25 → 1.2.27
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/charts/CandleStickChart.d.ts +2 -1
- package/charts/CandleStickChart.js.map +1 -1
- package/listener/BarLineChartTouchListener.js +1 -1
- package/listener/BarLineChartTouchListener.js.map +1 -1
- package/package.json +2 -2
- package/platforms/android/native-api-usage.json +1 -1
- package/renderer/BarChartRenderer.d.ts +2 -1
- package/renderer/BarChartRenderer.js.map +1 -1
- package/renderer/CandleStickChartRenderer.d.ts +2 -1
- package/renderer/CandleStickChartRenderer.js.map +1 -1
- package/renderer/LineChartRenderer.d.ts +4 -3
- package/renderer/LineChartRenderer.js.map +1 -1
- package/renderer/RadarChartRenderer.js.map +1 -1
- package/renderer/XAxisRenderer.d.ts +2 -1
- package/renderer/XAxisRenderer.js.map +1 -1
- package/renderer/YAxisRenderer.d.ts +2 -1
- package/renderer/YAxisRenderer.js.map +1 -1
- package/utils/Transformer.d.ts +6 -5
- package/utils/Transformer.js.map +1 -1
- package/utils/ViewPortHandler.d.ts +2 -1
- package/utils/ViewPortHandler.js.map +1 -1
- package/CHANGELOG.md +0 -482
- package/animation/ChartAnimator2.d.ts +0 -18
- package/animation/ChartAnimator2.js +0 -69
- package/animation/ChartAnimator2.js.map +0 -1
- package/interfaces/dataprovider/BarDataProvider.d.ts +0 -9
- package/interfaces/dataprovider/BarLineScatterCandleBubbleDataProvider.d.ts +0 -14
- package/interfaces/dataprovider/BubbleDataProvider.d.ts +0 -6
- package/interfaces/dataprovider/CandleDataProvider.d.ts +0 -6
- package/interfaces/dataprovider/ChartInterface.d.ts +0 -65
- 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 -61
- package/interfaces/datasets/IBarLineScatterCandleBubbleDataSet.d.ts +0 -14
- package/interfaces/datasets/IBubbleDataSet.d.ts +0 -25
- package/interfaces/datasets/ICandleDataSet.d.ts +0 -78
- package/interfaces/datasets/IDataSet.d.ts +0 -501
- package/interfaces/datasets/ILineDataSet.d.ts +0 -106
- package/interfaces/datasets/ILineRadarDataSet.d.ts +0 -56
- package/interfaces/datasets/ILineScatterCandleRadarDataSet.d.ts +0 -31
- package/interfaces/datasets/IPieDataSet.d.ts +0 -67
- package/interfaces/datasets/IRadarDataSet.d.ts +0 -27
- package/interfaces/datasets/IScatterDataSet.d.ts +0 -36
- package/utils/Curve.d.ts +0 -12
- package/utils/Curve.js +0 -156
- package/utils/Curve.js.map +0 -1
- package/utils/MPPointD.d.ts +0 -5
- package/utils/MPPointD.js +0 -1
- package/utils/MPPointD.js.map +0 -1
- package/utils/MPPointF.d.ts +0 -7
- package/utils/MPPointF.js +0 -1
- package/utils/MPPointF.js.map +0 -1
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { MPPointF } from '../../utils/MPPointF';
|
|
2
|
-
import { ValueFormatter } from '../../formatter/ValueFormatter';
|
|
3
|
-
import { ChartData } from '../../data/ChartData';
|
|
4
|
-
import { Rect } from '@nativescript-community/ui-canvas';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Interface that provides everything there is to know about the dimensions,
|
|
8
|
-
* bounds, and range of the chart.
|
|
9
|
-
*
|
|
10
|
-
|
|
11
|
-
*/
|
|
12
|
-
export interface ChartInterface {
|
|
13
|
-
/**
|
|
14
|
-
* Returns the minimum x value of the chart, regardless of zoom or translation.
|
|
15
|
-
*
|
|
16
|
-
* @return
|
|
17
|
-
*/
|
|
18
|
-
getXChartMin();
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Returns the maximum x value of the chart, regardless of zoom or translation.
|
|
22
|
-
*
|
|
23
|
-
* @return
|
|
24
|
-
*/
|
|
25
|
-
getXChartMax();
|
|
26
|
-
|
|
27
|
-
getXRange();
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Returns the minimum y value of the chart, regardless of zoom or translation.
|
|
31
|
-
*
|
|
32
|
-
* @return
|
|
33
|
-
*/
|
|
34
|
-
getYChartMin();
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Returns the maximum y value of the chart, regardless of zoom or translation.
|
|
38
|
-
*
|
|
39
|
-
* @return
|
|
40
|
-
*/
|
|
41
|
-
getYChartMax();
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Returns the maximum distance in scren dp a touch can be away from an entry to cause it to get highlighted.
|
|
45
|
-
*
|
|
46
|
-
* @return
|
|
47
|
-
*/
|
|
48
|
-
getMaxHighlightDistance();
|
|
49
|
-
|
|
50
|
-
getMeasuredWidth();
|
|
51
|
-
|
|
52
|
-
getMeasuredHeight();
|
|
53
|
-
|
|
54
|
-
getCenterOfView(): MPPointF;
|
|
55
|
-
|
|
56
|
-
getCenterOffsets(): MPPointF;
|
|
57
|
-
|
|
58
|
-
getContentRect(): Rect;
|
|
59
|
-
|
|
60
|
-
getDefaultValueFormatter(): ValueFormatter;
|
|
61
|
-
|
|
62
|
-
getData(): ChartData<any, any>;
|
|
63
|
-
|
|
64
|
-
getMaxVisibleCount();
|
|
65
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CombinedData } from '../../data/CombinedData';
|
|
2
|
-
import { BubbleDataProvider } from './BubbleDataProvider';
|
|
3
|
-
import { CandleDataProvider } from './CandleDataProvider';
|
|
4
|
-
import { LineDataProvider } from './LineDataProvider';
|
|
5
|
-
import { ScatterDataProvider } from './ScatterDataProvider';
|
|
6
|
-
import { BarDataProvider } from './BarDataProvider';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Created by philipp on 11/06/16.
|
|
10
|
-
*/
|
|
11
|
-
export interface CombinedDataProvider extends LineDataProvider, BarDataProvider, BubbleDataProvider, CandleDataProvider, ScatterDataProvider {
|
|
12
|
-
getCombinedData(): CombinedData;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { LineData } from '../../data/LineData';
|
|
2
|
-
import { BarLineScatterCandleBubbleDataProvider } from './BarLineScatterCandleBubbleDataProvider';
|
|
3
|
-
import { AxisDependency } from '../../components/YAxis';
|
|
4
|
-
|
|
5
|
-
export interface LineDataProvider extends BarLineScatterCandleBubbleDataProvider {
|
|
6
|
-
getLineData(): LineData;
|
|
7
|
-
|
|
8
|
-
getAxis(dependency: AxisDependency);
|
|
9
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ScatterData } from '../../data/ScatterData';
|
|
2
|
-
import { BarLineScatterCandleBubbleDataProvider } from './BarLineScatterCandleBubbleDataProvider';
|
|
3
|
-
|
|
4
|
-
export interface ScatterDataProvider extends BarLineScatterCandleBubbleDataProvider {
|
|
5
|
-
getScatterData(): ScatterData;
|
|
6
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { BarEntry } from '../../data/BarEntry';
|
|
2
|
-
import { IBarLineScatterCandleBubbleDataSet } from './IBarLineScatterCandleBubbleDataSet';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Created by philipp on 21/10/15.
|
|
6
|
-
*/
|
|
7
|
-
export interface IBarDataSet extends IBarLineScatterCandleBubbleDataSet<BarEntry> {
|
|
8
|
-
/**
|
|
9
|
-
* Returns true if this DataSet is stacked (stacksize > 1) or not.
|
|
10
|
-
*
|
|
11
|
-
* @return
|
|
12
|
-
*/
|
|
13
|
-
isStacked(): boolean;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Returns the maximum number of bars that can be stacked upon another in
|
|
17
|
-
* this DataSet. This should return 1 for non stacked bars, and > 1 for stacked bars.
|
|
18
|
-
*
|
|
19
|
-
* @return
|
|
20
|
-
*/
|
|
21
|
-
getStackSize();
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Returns the color used for drawing the bar-shadows. The bar shadows is a
|
|
25
|
-
* surface behind the bar that indicates the maximum value.
|
|
26
|
-
*
|
|
27
|
-
* @return
|
|
28
|
-
*/
|
|
29
|
-
getBarShadowColor();
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Returns the width used for drawing borders around the bars.
|
|
33
|
-
* If borderWidth == 0, no border will be drawn.
|
|
34
|
-
*
|
|
35
|
-
* @return
|
|
36
|
-
*/
|
|
37
|
-
getBarBorderWidth();
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Returns the color drawing borders around the bars.
|
|
41
|
-
*
|
|
42
|
-
* @return
|
|
43
|
-
*/
|
|
44
|
-
getBarBorderColor();
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Returns the alpha value (transparency) that is used for drawing the
|
|
48
|
-
* highlight indicator.
|
|
49
|
-
*
|
|
50
|
-
* @return
|
|
51
|
-
*/
|
|
52
|
-
getHighLightAlpha();
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Returns the labels used for the different value-stacks in the legend.
|
|
56
|
-
* This is only relevant for stacked bar entries.
|
|
57
|
-
*
|
|
58
|
-
* @return
|
|
59
|
-
*/
|
|
60
|
-
getStackLabels(): string[];
|
|
61
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Entry } from '../../data/Entry';
|
|
2
|
-
import { IDataSet } from './IDataSet';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Created by philipp on 21/10/15.
|
|
6
|
-
*/
|
|
7
|
-
export interface IBarLineScatterCandleBubbleDataSet<T extends Entry> extends IDataSet<T> {
|
|
8
|
-
/**
|
|
9
|
-
* Returns the color that is used for drawing the highlight indicators.
|
|
10
|
-
*
|
|
11
|
-
* @return
|
|
12
|
-
*/
|
|
13
|
-
getHighLightColor();
|
|
14
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Created by philipp on 21/10/15.
|
|
3
|
-
*/
|
|
4
|
-
import { IBarLineScatterCandleBubbleDataSet } from './IBarLineScatterCandleBubbleDataSet';
|
|
5
|
-
import { BubbleEntry } from '../../data/BubbleEntry';
|
|
6
|
-
|
|
7
|
-
export interface IBubbleDataSet extends IBarLineScatterCandleBubbleDataSet<BubbleEntry> {
|
|
8
|
-
/**
|
|
9
|
-
* Sets the width of the circle that surrounds the bubble when highlighted,
|
|
10
|
-
* in dp.
|
|
11
|
-
*
|
|
12
|
-
* @param width
|
|
13
|
-
*/
|
|
14
|
-
setHighlightCircleWidth(width: number);
|
|
15
|
-
|
|
16
|
-
getMaxSize(): number;
|
|
17
|
-
|
|
18
|
-
isNormalizeSizeEnabled(): boolean;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Returns the width of the highlight-circle that surrounds the bubble
|
|
22
|
-
* @return
|
|
23
|
-
*/
|
|
24
|
-
getHighlightCircleWidth(): number;
|
|
25
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { ILineScatterCandleRadarDataSet } from './ILineScatterCandleRadarDataSet';
|
|
2
|
-
import { CandleEntry } from '../../data/CandleEntry';
|
|
3
|
-
|
|
4
|
-
export interface ICandleDataSet extends ILineScatterCandleRadarDataSet<CandleEntry> {
|
|
5
|
-
/**
|
|
6
|
-
* Returns the space that is left out on the left and right side of each
|
|
7
|
-
* candle.
|
|
8
|
-
*
|
|
9
|
-
* @return
|
|
10
|
-
*/
|
|
11
|
-
getBarSpace();
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Returns whether the candle bars should show?
|
|
15
|
-
* When false, only "ticks" will show
|
|
16
|
-
*
|
|
17
|
-
* - default: true
|
|
18
|
-
*
|
|
19
|
-
* @return
|
|
20
|
-
*/
|
|
21
|
-
getShowCandleBar();
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Returns the width of the candle-shadow-line in pixels.
|
|
25
|
-
*
|
|
26
|
-
* @return
|
|
27
|
-
*/
|
|
28
|
-
getShadowWidth();
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Returns shadow color for all entries
|
|
32
|
-
*
|
|
33
|
-
* @return
|
|
34
|
-
*/
|
|
35
|
-
getShadowColor();
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Returns the neutral color (for open == close)
|
|
39
|
-
*
|
|
40
|
-
* @return
|
|
41
|
-
*/
|
|
42
|
-
getNeutralColor();
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Returns the increasing color (for open < close).
|
|
46
|
-
*
|
|
47
|
-
* @return
|
|
48
|
-
*/
|
|
49
|
-
getIncreasingColor();
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Returns the decreasing color (for open > close).
|
|
53
|
-
*
|
|
54
|
-
* @return
|
|
55
|
-
*/
|
|
56
|
-
getDecreasingColor();
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Returns palet style when open < close
|
|
60
|
-
*
|
|
61
|
-
* @return
|
|
62
|
-
*/
|
|
63
|
-
getIncreasingPaintStyle();
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Returns palet style when open > close
|
|
67
|
-
*
|
|
68
|
-
* @return
|
|
69
|
-
*/
|
|
70
|
-
getDecreasingPaintStyle();
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Is the shadow color same as the candle color?
|
|
74
|
-
*
|
|
75
|
-
* @return
|
|
76
|
-
*/
|
|
77
|
-
getShadowColorSameAsCandle();
|
|
78
|
-
}
|