gifted-charts-core 0.0.17 → 0.0.18

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.
Files changed (42) hide show
  1. package/index.ts +136 -0
  2. package/package.json +3 -6
  3. package/src/PieChart/types.ts +6 -4
  4. package/index.js +0 -133
  5. package/src/BarChart/Animated2DWithGradient.js +0 -106
  6. package/src/BarChart/Animated2DWithGradient.js.map +0 -1
  7. package/src/BarChart/RenderStackBars.js +0 -97
  8. package/src/BarChart/RenderStackBars.js.map +0 -1
  9. package/src/BarChart/index.js +0 -599
  10. package/src/BarChart/index.js.map +0 -1
  11. package/src/BarChart/types.js +0 -10
  12. package/src/BarChart/types.js.map +0 -1
  13. package/src/LineChart/LineChartBiColor.js +0 -512
  14. package/src/LineChart/LineChartBiColor.js.map +0 -1
  15. package/src/LineChart/index.js +0 -1484
  16. package/src/LineChart/index.js.map +0 -1
  17. package/src/LineChart/types.js +0 -10
  18. package/src/LineChart/types.js.map +0 -1
  19. package/src/PieChart/index.js +0 -118
  20. package/src/PieChart/index.js.map +0 -1
  21. package/src/PieChart/main.js +0 -178
  22. package/src/PieChart/main.js.map +0 -1
  23. package/src/PieChart/types.js +0 -10
  24. package/src/PieChart/types.js.map +0 -1
  25. package/src/PopulationPyramid/index.js +0 -204
  26. package/src/PopulationPyramid/index.js.map +0 -1
  27. package/src/PopulationPyramid/types.js +0 -10
  28. package/src/PopulationPyramid/types.js.map +0 -1
  29. package/src/components/AnimatedThreeDBar/index.js +0 -55
  30. package/src/components/AnimatedThreeDBar/index.js.map +0 -1
  31. package/src/components/BarAndLineChartsWrapper/getHorizSectionsVals.js +0 -233
  32. package/src/components/BarAndLineChartsWrapper/getHorizSectionsVals.js.map +0 -1
  33. package/src/components/BarAndLineChartsWrapper/index.js +0 -269
  34. package/src/components/BarAndLineChartsWrapper/index.js.map +0 -1
  35. package/src/components/common/StripAndLabel.js +0 -69
  36. package/src/components/common/StripAndLabel.js.map +0 -1
  37. package/src/utils/constants.js +0 -315
  38. package/src/utils/constants.js.map +0 -1
  39. package/src/utils/index.js +0 -946
  40. package/src/utils/index.js.map +0 -1
  41. package/src/utils/types.js +0 -20
  42. package/src/utils/types.js.map +0 -1
@@ -1,269 +0,0 @@
1
- System.register(["react", "../../utils/constants", "react-native"], function (exports_1, context_1) {
2
- "use strict";
3
- var __assign = (this && this.__assign) || function () {
4
- __assign = Object.assign || function(t) {
5
- for (var s, i = 1, n = arguments.length; i < n; i++) {
6
- s = arguments[i];
7
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
8
- t[p] = s[p];
9
- }
10
- return t;
11
- };
12
- return __assign.apply(this, arguments);
13
- };
14
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
15
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
16
- if (ar || !(i in from)) {
17
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
18
- ar[i] = from[i];
19
- }
20
- }
21
- return to.concat(ar || Array.prototype.slice.call(from));
22
- };
23
- var react_1, constants_1, react_native_1, useBarAndLineChartsWrapper;
24
- var __moduleName = context_1 && context_1.id;
25
- return {
26
- setters: [
27
- function (react_1_1) {
28
- react_1 = react_1_1;
29
- },
30
- function (constants_1_1) {
31
- constants_1 = constants_1_1;
32
- },
33
- function (react_native_1_1) {
34
- react_native_1 = react_native_1_1;
35
- }
36
- ],
37
- execute: function () {
38
- exports_1("useBarAndLineChartsWrapper", useBarAndLineChartsWrapper = function (props) {
39
- 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, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12;
40
- var chartType = props.chartType, containerHeight = props.containerHeight, noOfSectionsBelowXAxis = props.noOfSectionsBelowXAxis, stepHeight = props.stepHeight, labelsExtraHeight = props.labelsExtraHeight, yAxisLabelWidth = props.yAxisLabelWidth, horizontal = props.horizontal, rtl = props.rtl, shiftX = props.shiftX, shiftY = props.shiftY, initialSpacing = props.initialSpacing, data = props.data, stackData = props.stackData, secondaryData = props.secondaryData, barWidth = props.barWidth, xAxisThickness = props.xAxisThickness, totalWidth = props.totalWidth, spacing = props.spacing, lineConfig = props.lineConfig, lineConfig2 = props.lineConfig2, maxValue = props.maxValue, lineData = props.lineData, lineData2 = props.lineData2, animatedWidth = props.animatedWidth, lineBehindBars = props.lineBehindBars, points = props.points, points2 = props.points2, arrowPoints = props.arrowPoints, width = props.width, horizSections = props.horizSections, endSpacing = props.endSpacing, horizontalRulesStyle = props.horizontalRulesStyle, noOfSections = props.noOfSections, showFractionalValues = props.showFractionalValues, axesAndRulesProps = props.axesAndRulesProps, yAxisLabelTexts = props.yAxisLabelTexts, yAxisOffset = props.yAxisOffset, rotateYAxisTexts = props.rotateYAxisTexts, pointerConfig = props.pointerConfig, getPointerProps = props.getPointerProps, pointerIndex = props.pointerIndex, pointerX = props.pointerX, pointerY = props.pointerY, scrollEventThrottle = props.scrollEventThrottle, endReachedOffset = props.endReachedOffset;
41
- var yAxisAtTop = rtl ? !props.yAxisAtTop : props.yAxisAtTop;
42
- var hideOrigin = (_a = axesAndRulesProps.hideOrigin) !== null && _a !== void 0 ? _a : constants_1.AxesAndRulesDefaults.hideOrigin;
43
- var yAxisSide = (_b = axesAndRulesProps.yAxisSide) !== null && _b !== void 0 ? _b : constants_1.AxesAndRulesDefaults.yAxisSide;
44
- var yAxisLabelContainerStyle = axesAndRulesProps.yAxisLabelContainerStyle;
45
- var yAxisColor = (_c = axesAndRulesProps.yAxisColor) !== null && _c !== void 0 ? _c : constants_1.AxesAndRulesDefaults.yAxisColor;
46
- var yAxisExtraHeight = (_d = axesAndRulesProps.yAxisExtraHeight) !== null && _d !== void 0 ? _d : containerHeight / 20;
47
- var trimYAxisAtTop = (_e = axesAndRulesProps.trimYAxisAtTop) !== null && _e !== void 0 ? _e : constants_1.AxesAndRulesDefaults.trimYAxisAtTop;
48
- var overflowTop = (_f = axesAndRulesProps.overflowTop) !== null && _f !== void 0 ? _f : constants_1.AxesAndRulesDefaults.overflowTop;
49
- var yAxisThickness = (_g = axesAndRulesProps.yAxisThickness) !== null && _g !== void 0 ? _g : constants_1.AxesAndRulesDefaults.yAxisThickness;
50
- var xAxisColor = (_h = axesAndRulesProps.xAxisColor) !== null && _h !== void 0 ? _h : constants_1.AxesAndRulesDefaults.xAxisColor;
51
- var xAxisLength = axesAndRulesProps.xAxisLength;
52
- var xAxisType = (_j = axesAndRulesProps.xAxisType) !== null && _j !== void 0 ? _j : constants_1.AxesAndRulesDefaults.xAxisType;
53
- var xAxisLabelsVerticalShift = (_k = axesAndRulesProps.xAxisLabelsVerticalShift) !== null && _k !== void 0 ? _k : constants_1.AxesAndRulesDefaults.xAxisLabelsVerticalShift;
54
- var xAxisLabelsHeight = axesAndRulesProps.xAxisLabelsHeight;
55
- var xAxisTextNumberOfLines = axesAndRulesProps.xAxisTextNumberOfLines;
56
- var dashWidth = (_l = axesAndRulesProps.dashWidth) !== null && _l !== void 0 ? _l : constants_1.AxesAndRulesDefaults.dashWidth;
57
- var dashGap = (_m = axesAndRulesProps.dashGap) !== null && _m !== void 0 ? _m : constants_1.AxesAndRulesDefaults.dashGap;
58
- var backgroundColor = (_o = axesAndRulesProps.backgroundColor) !== null && _o !== void 0 ? _o : constants_1.AxesAndRulesDefaults.backgroundColor;
59
- var hideRules = (_p = axesAndRulesProps.hideRules) !== null && _p !== void 0 ? _p : constants_1.AxesAndRulesDefaults.hideRules;
60
- var rulesLength = axesAndRulesProps.rulesLength;
61
- var rulesType = (_q = axesAndRulesProps.rulesType) !== null && _q !== void 0 ? _q : constants_1.AxesAndRulesDefaults.rulesType;
62
- var rulesThickness = (_r = axesAndRulesProps.rulesThickness) !== null && _r !== void 0 ? _r : constants_1.AxesAndRulesDefaults.rulesThickness;
63
- var rulesColor = (_s = axesAndRulesProps.rulesColor) !== null && _s !== void 0 ? _s : constants_1.AxesAndRulesDefaults.rulesColor;
64
- var rulesConfigArray = (_t = axesAndRulesProps.rulesConfigArray) !== null && _t !== void 0 ? _t : constants_1.AxesAndRulesDefaults.rulesConfigArray;
65
- var showYAxisIndices = (_u = axesAndRulesProps.showYAxisIndices) !== null && _u !== void 0 ? _u : false;
66
- var yAxisIndicesHeight = (_v = axesAndRulesProps.yAxisIndicesHeight) !== null && _v !== void 0 ? _v : constants_1.AxesAndRulesDefaults.yAxisIndicesHeight;
67
- var yAxisIndicesWidth = (_w = axesAndRulesProps.yAxisIndicesWidth) !== null && _w !== void 0 ? _w : constants_1.AxesAndRulesDefaults.yAxisIndicesWidth;
68
- var yAxisIndicesColor = (_x = axesAndRulesProps.yAxisIndicesColor) !== null && _x !== void 0 ? _x : constants_1.AxesAndRulesDefaults.yAxisIndicesColor;
69
- var hideYAxisText = (_y = axesAndRulesProps.hideYAxisText) !== null && _y !== void 0 ? _y : constants_1.AxesAndRulesDefaults.hideYAxisText;
70
- var yAxisTextNumberOfLines = (_z = axesAndRulesProps.yAxisTextNumberOfLines) !== null && _z !== void 0 ? _z : constants_1.AxesAndRulesDefaults.yAxisTextNumberOfLines;
71
- var yAxisLabelPrefix = (_0 = axesAndRulesProps.yAxisLabelPrefix) !== null && _0 !== void 0 ? _0 : "";
72
- var yAxisLabelSuffix = (_1 = axesAndRulesProps.yAxisLabelSuffix) !== null && _1 !== void 0 ? _1 : "";
73
- var yAxisTextStyle = axesAndRulesProps.yAxisTextStyle;
74
- var secondaryYAxis = axesAndRulesProps.secondaryYAxis;
75
- var stepValue = axesAndRulesProps.stepValue;
76
- var roundToDigits = axesAndRulesProps.roundToDigits;
77
- var referenceLinesConfig = axesAndRulesProps.referenceLinesConfig;
78
- var referenceLinesOverChartContent = (_2 = referenceLinesConfig.referenceLinesOverChartContent) !== null && _2 !== void 0 ? _2 : constants_1.AxesAndRulesDefaults.referenceLinesOverChartContent;
79
- var showVerticalLines = (_3 = axesAndRulesProps.showVerticalLines) !== null && _3 !== void 0 ? _3 : constants_1.AxesAndRulesDefaults.showVerticalLines;
80
- var verticalLinesThickness = (_4 = axesAndRulesProps.verticalLinesThickness) !== null && _4 !== void 0 ? _4 : constants_1.AxesAndRulesDefaults.verticalLinesThickness;
81
- var verticalLinesHeight = axesAndRulesProps.verticalLinesHeight;
82
- var verticalLinesColor = (_5 = axesAndRulesProps.verticalLinesColor) !== null && _5 !== void 0 ? _5 : constants_1.AxesAndRulesDefaults.verticalLinesColor;
83
- var verticalLinesStrokeDashArray = (_6 = axesAndRulesProps.verticalLinesStrokeDashArray) !== null && _6 !== void 0 ? _6 : constants_1.AxesAndRulesDefaults.verticalLinesStrokeDashArray;
84
- var verticalLinesShift = (_7 = axesAndRulesProps.verticalLinesShift) !== null && _7 !== void 0 ? _7 : constants_1.AxesAndRulesDefaults.verticalLinesShift;
85
- var verticalLinesZIndex = (_8 = axesAndRulesProps.verticalLinesZIndex) !== null && _8 !== void 0 ? _8 : constants_1.AxesAndRulesDefaults.verticalLinesZIndex;
86
- var verticalLinesSpacing = (_9 = axesAndRulesProps.verticalLinesSpacing) !== null && _9 !== void 0 ? _9 : constants_1.AxesAndRulesDefaults.verticalLinesSpacing;
87
- var verticalLinesUptoDataPoint = (_10 = axesAndRulesProps.verticalLinesUptoDataPoint) !== null && _10 !== void 0 ? _10 : constants_1.AxesAndRulesDefaults.verticalLinesUptoDataPoint;
88
- var noOfVerticalLines = axesAndRulesProps.noOfVerticalLines;
89
- var verticalLinesAr = noOfVerticalLines
90
- ? __spreadArray([], Array(noOfVerticalLines).keys(), true) : __spreadArray([], Array(stackData ? stackData.length : data.length).keys(), true);
91
- var horizSectionProps = {
92
- width: width,
93
- horizSections: horizSections,
94
- noOfSectionsBelowXAxis: noOfSectionsBelowXAxis,
95
- totalWidth: totalWidth,
96
- endSpacing: endSpacing,
97
- yAxisSide: yAxisSide,
98
- horizontalRulesStyle: horizontalRulesStyle,
99
- noOfSections: noOfSections,
100
- stepHeight: stepHeight,
101
- yAxisLabelWidth: yAxisLabelWidth,
102
- yAxisLabelContainerStyle: yAxisLabelContainerStyle,
103
- yAxisThickness: yAxisThickness,
104
- yAxisColor: yAxisColor,
105
- yAxisExtraHeight: yAxisExtraHeight,
106
- trimYAxisAtTop: trimYAxisAtTop,
107
- xAxisThickness: xAxisThickness,
108
- xAxisColor: xAxisColor,
109
- xAxisLength: xAxisLength,
110
- xAxisType: xAxisType,
111
- dashWidth: dashWidth,
112
- dashGap: dashGap,
113
- backgroundColor: backgroundColor,
114
- hideRules: hideRules,
115
- rulesLength: rulesLength,
116
- rulesType: rulesType,
117
- rulesThickness: rulesThickness,
118
- rulesColor: rulesColor,
119
- rulesConfigArray: rulesConfigArray,
120
- spacing: spacing,
121
- showYAxisIndices: showYAxisIndices,
122
- yAxisIndicesHeight: yAxisIndicesHeight,
123
- yAxisIndicesWidth: yAxisIndicesWidth,
124
- yAxisIndicesColor: yAxisIndicesColor,
125
- hideOrigin: hideOrigin,
126
- hideYAxisText: hideYAxisText,
127
- showFractionalValues: showFractionalValues,
128
- yAxisTextNumberOfLines: yAxisTextNumberOfLines,
129
- yAxisLabelPrefix: yAxisLabelPrefix,
130
- yAxisLabelSuffix: yAxisLabelSuffix,
131
- yAxisTextStyle: yAxisTextStyle,
132
- rotateYAxisTexts: rotateYAxisTexts,
133
- rtl: rtl,
134
- containerHeight: containerHeight,
135
- overflowTop: overflowTop,
136
- maxValue: maxValue,
137
- referenceLinesConfig: referenceLinesConfig,
138
- yAxisLabelTexts: yAxisLabelTexts,
139
- yAxisOffset: yAxisOffset,
140
- horizontal: horizontal,
141
- yAxisAtTop: yAxisAtTop,
142
- stepValue: stepValue,
143
- roundToDigits: roundToDigits,
144
- secondaryData: secondaryData,
145
- secondaryYAxis: secondaryYAxis,
146
- formatYLabel: axesAndRulesProps.formatYLabel,
147
- };
148
- var lineInBarChartProps = {
149
- yAxisLabelWidth: yAxisLabelWidth,
150
- initialSpacing: initialSpacing,
151
- spacing: spacing,
152
- containerHeight: containerHeight,
153
- lineConfig: lineConfig,
154
- maxValue: (_11 = secondaryYAxis === null || secondaryYAxis === void 0 ? void 0 : secondaryYAxis.maxValue) !== null && _11 !== void 0 ? _11 : maxValue,
155
- animatedWidth: animatedWidth,
156
- lineBehindBars: lineBehindBars,
157
- points: points,
158
- arrowPoints: arrowPoints,
159
- data: (lineData === null || lineData === void 0 ? void 0 : lineData.length) ? lineData : stackData !== null && stackData !== void 0 ? stackData : data,
160
- totalWidth: totalWidth,
161
- barWidth: barWidth,
162
- labelsExtraHeight: labelsExtraHeight,
163
- scrollEventThrottle: scrollEventThrottle,
164
- xAxisLabelsVerticalShift: xAxisLabelsVerticalShift,
165
- };
166
- var lineInBarChartProps2 = __assign(__assign({}, lineInBarChartProps), { lineConfig: lineConfig2, points: points2, data: lineData2 });
167
- var extendedContainerHeight = containerHeight + overflowTop + 10;
168
- var containerHeightIncludingBelowXAxis = extendedContainerHeight + noOfSectionsBelowXAxis * stepHeight;
169
- var verticalLinesProps = {
170
- verticalLinesAr: verticalLinesAr,
171
- verticalLinesSpacing: verticalLinesSpacing,
172
- spacing: (_12 = lineConfig === null || lineConfig === void 0 ? void 0 : lineConfig.spacing) !== null && _12 !== void 0 ? _12 : spacing,
173
- initialSpacing: initialSpacing,
174
- verticalLinesZIndex: verticalLinesZIndex,
175
- verticalLinesHeight: verticalLinesHeight,
176
- verticalLinesThickness: verticalLinesThickness,
177
- verticalLinesColor: verticalLinesColor,
178
- verticalLinesStrokeDashArray: verticalLinesStrokeDashArray,
179
- verticalLinesShift: verticalLinesShift,
180
- verticalLinesUptoDataPoint: verticalLinesUptoDataPoint,
181
- xAxisThickness: xAxisThickness,
182
- labelsExtraHeight: labelsExtraHeight,
183
- containerHeight: containerHeight,
184
- data: data,
185
- stackData: stackData,
186
- barWidth: barWidth,
187
- maxValue: maxValue,
188
- chartType: chartType,
189
- containerHeightIncludingBelowXAxis: containerHeightIncludingBelowXAxis,
190
- yAxisLabelWidth: yAxisLabelWidth,
191
- totalWidth: totalWidth,
192
- xAxisLabelsVerticalShift: xAxisLabelsVerticalShift,
193
- };
194
- var actualContainerHeight = containerHeightIncludingBelowXAxis + labelsExtraHeight - 10;
195
- var actualContainerWidth = (width !== null && width !== void 0 ? width : totalWidth) + yAxisLabelWidth;
196
- /*******************************************************************************************************************************************/
197
- /*************** horizontal chart related calculations *******************/
198
- /*******************************************************************************************************************************************/
199
- var containerHeightIncludingXaxisLabels = actualContainerHeight + constants_1.BarDefaults.labelsWidthForHorizontal;
200
- var difBwWidthHeight = actualContainerWidth - containerHeightIncludingXaxisLabels;
201
- var transformForHorizontal = [
202
- { rotate: rtl ? "-90deg" : "90deg" },
203
- {
204
- translateY: -shiftX + (rtl ? -difBwWidthHeight + 14 : difBwWidthHeight) / 2 - 20,
205
- },
206
- {
207
- translateX: shiftY +
208
- (rtl
209
- ? (props.width ? -98 - endSpacing : -75 - endSpacing) -
210
- difBwWidthHeight
211
- : props.width
212
- ? difBwWidthHeight
213
- : difBwWidthHeight - 40) /
214
- 2 +
215
- (yAxisAtTop ? (rtl ? (props.width ? 12 : 40) : 12) : 52),
216
- },
217
- ];
218
- var _13 = react_1.useState(false), canMomentum = _13[0], setCanMomentum = _13[1];
219
- var isCloseToEnd = function (_a) {
220
- var layoutMeasurement = _a.layoutMeasurement, contentOffset = _a.contentOffset, contentSize = _a.contentSize;
221
- return react_native_1.I18nManager.isRTL
222
- ? contentOffset.x <= initialSpacing
223
- : layoutMeasurement.width + contentOffset.x >=
224
- contentSize.width - initialSpacing - endReachedOffset;
225
- };
226
- // const isCloseToStart = ({ layoutMeasurement, contentOffset }) => {
227
- // return layoutMeasurement.width + contentOffset.x <= initialSpacing;
228
- // };
229
- var isCloseToStart = function (_a) {
230
- var layoutMeasurement = _a.layoutMeasurement, contentOffset = _a.contentOffset, contentSize = _a.contentSize;
231
- return react_native_1.I18nManager.isRTL
232
- ? layoutMeasurement.width + contentOffset.x >=
233
- contentSize.width - initialSpacing - endReachedOffset
234
- : contentOffset.x <= initialSpacing;
235
- };
236
- react_1.useEffect(function () {
237
- if (pointerConfig && getPointerProps) {
238
- getPointerProps({ pointerIndex: pointerIndex, pointerX: pointerX, pointerY: pointerY });
239
- }
240
- }, [pointerIndex, pointerX, pointerY]);
241
- return {
242
- containerHeightIncludingBelowXAxis: containerHeightIncludingBelowXAxis,
243
- xAxisLabelsVerticalShift: xAxisLabelsVerticalShift,
244
- trimYAxisAtTop: trimYAxisAtTop,
245
- yAxisExtraHeight: yAxisExtraHeight,
246
- overflowTop: overflowTop,
247
- xAxisLabelsHeight: xAxisLabelsHeight,
248
- xAxisTextNumberOfLines: xAxisTextNumberOfLines,
249
- actualContainerWidth: actualContainerWidth,
250
- transformForHorizontal: transformForHorizontal,
251
- horizSectionProps: horizSectionProps,
252
- referenceLinesOverChartContent: referenceLinesOverChartContent,
253
- setCanMomentum: setCanMomentum,
254
- isCloseToStart: isCloseToStart,
255
- isCloseToEnd: isCloseToEnd,
256
- canMomentum: canMomentum,
257
- yAxisAtTop: yAxisAtTop,
258
- yAxisThickness: yAxisThickness,
259
- yAxisSide: yAxisSide,
260
- showVerticalLines: showVerticalLines,
261
- verticalLinesProps: verticalLinesProps,
262
- lineInBarChartProps: lineInBarChartProps,
263
- lineInBarChartProps2: lineInBarChartProps2,
264
- };
265
- });
266
- }
267
- };
268
- });
269
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAQA,wCAAa,0BAA0B,GAAG,UACxC,KAAmC;;gBAGjC,IAAA,SAAS,GAiDP,KAAK,UAjDE,EACT,eAAe,GAgDb,KAAK,gBAhDQ,EACf,sBAAsB,GA+CpB,KAAK,uBA/Ce,EACtB,UAAU,GA8CR,KAAK,WA9CG,EACV,iBAAiB,GA6Cf,KAAK,kBA7CU,EACjB,eAAe,GA4Cb,KAAK,gBA5CQ,EACf,UAAU,GA2CR,KAAK,WA3CG,EAC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eAAe,EAAE,CAAC;wBACrC,eAAe,CAAC,EAAE,YAAY,cAAA,EAAE,QAAQ,UAAA,EAAE,QAAQ,UAAA,EAAE,CAAC,CAAC;oBACxD,CAAC;gBACH,CAAC,EAAE,CAAC,YAAY,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;gBAEvC,OAAO;oBACL,kCAAkC,oCAAA;oBAClC,wBAAwB,0BAAA;oBACxB,cAAc,gBAAA;oBACd,gBAAgB,kBAAA;oBAChB,WAAW,aAAA;oBACX,iBAAiB,mBAAA;oBACjB,sBAAsB,wBAAA;oBACtB,oBAAoB,sBAAA;oBACpB,sBAAsB,wBAAA;oBACtB,iBAAiB,mBAAA;oBACjB,8BAA8B,gCAAA;oBAC9B,cAAc,gBAAA;oBACd,cAAc,gBAAA;oBACd,YAAY,cAAA;oBACZ,WAAW,aAAA;oBACX,UAAU,YAAA;oBACV,cAAc,gBAAA;oBACd,SAAS,WAAA;oBACT,iBAAiB,mBAAA;oBACjB,kBAAkB,oBAAA;oBAClB,mBAAmB,qBAAA;oBACnB,oBAAoB,sBAAA;iBACrB,CAAC;YACJ,CAAC,EAAC;QACF,CAAC"}
@@ -1,69 +0,0 @@
1
- System.register(["../../utils/constants"], function (exports_1, context_1) {
2
- "use strict";
3
- var constants_1, getTopAndLeftForStripAndLabel;
4
- var __moduleName = context_1 && context_1.id;
5
- return {
6
- setters: [
7
- function (constants_1_1) {
8
- constants_1 = constants_1_1;
9
- }
10
- ],
11
- execute: function () {
12
- exports_1("getTopAndLeftForStripAndLabel", getTopAndLeftForStripAndLabel = function (props) {
13
- var _a;
14
- var autoAdjustPointerLabelPosition = props.autoAdjustPointerLabelPosition, pointerX = props.pointerX, pointerLabelWidth = props.pointerLabelWidth, activatePointersOnLongPress = props.activatePointersOnLongPress, yAxisLabelWidth = props.yAxisLabelWidth, pointerRadius = props.pointerRadius, pointerWidth = props.pointerWidth, shiftPointerLabelX = props.shiftPointerLabelX, pointerLabelHeight = props.pointerLabelHeight, pointerYLocal = props.pointerYLocal, pointerStripUptoDataPoint = props.pointerStripUptoDataPoint, pointerStripHeight = props.pointerStripHeight, shiftPointerLabelY = props.shiftPointerLabelY, scrollX = props.scrollX;
15
- var left = 0, top = 0;
16
- if (autoAdjustPointerLabelPosition) {
17
- if (pointerX < pointerLabelWidth / 2) {
18
- left = 7;
19
- }
20
- else if (activatePointersOnLongPress &&
21
- pointerX - scrollX < pointerLabelWidth / 2 - 10) {
22
- left = 7;
23
- }
24
- else {
25
- if (!activatePointersOnLongPress &&
26
- pointerX >
27
- (props.width || constants_1.screenWidth - yAxisLabelWidth - 15) -
28
- pointerLabelWidth / 2) {
29
- left = -pointerLabelWidth - 4;
30
- }
31
- else if (activatePointersOnLongPress &&
32
- pointerX - scrollX >
33
- (((_a = props.width) !== null && _a !== void 0 ? _a : 0) + 10 || constants_1.screenWidth - yAxisLabelWidth - 15) -
34
- pointerLabelWidth / 2) {
35
- left = -pointerLabelWidth - 4;
36
- }
37
- else {
38
- left = -pointerLabelWidth / 2 + 5;
39
- }
40
- }
41
- }
42
- else {
43
- left = (pointerRadius || pointerWidth / 2) - 10 + shiftPointerLabelX;
44
- }
45
- if (autoAdjustPointerLabelPosition) {
46
- if (pointerLabelHeight - pointerYLocal > 10) {
47
- top = 10;
48
- }
49
- else {
50
- top = -pointerLabelHeight;
51
- }
52
- }
53
- else {
54
- top =
55
- (pointerStripUptoDataPoint
56
- ? pointerRadius || pointerStripHeight / 2
57
- : -pointerYLocal + 8) -
58
- pointerLabelWidth / 2 +
59
- shiftPointerLabelY;
60
- }
61
- return {
62
- top: top,
63
- left: left,
64
- };
65
- });
66
- }
67
- };
68
- });
69
- //# sourceMappingURL=StripAndLabel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StripAndLabel.js","sourceRoot":"","sources":["StripAndLabel.ts"],"names":[],"mappings":";;;;;;;;;;;YAEA,2CAAa,6BAA6B,GAAG,UAAC,KAAK;;gBAE/C,IAAA,8BAA8B,GAc5B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