gifted-charts-core 0.1.21 → 0.1.23

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 (86) hide show
  1. package/{src → dist}/LineChart/index.d.ts +0 -3
  2. package/{src → dist}/LineChart/index.js +5 -54
  3. package/{src → dist}/components/common/types.d.ts +9 -8
  4. package/{src → dist}/index.d.ts +1 -0
  5. package/{src → dist}/utils/index.js +8 -2
  6. package/package.json +4 -4
  7. package/src/BarChart/Animated2DWithGradient.js.map +0 -1
  8. package/src/BarChart/Animated2DWithGradient.ts +0 -192
  9. package/src/BarChart/RenderStackBars.js.map +0 -1
  10. package/src/BarChart/RenderStackBars.ts +0 -160
  11. package/src/BarChart/index.js.map +0 -1
  12. package/src/BarChart/index.ts +0 -909
  13. package/src/BarChart/types.js.map +0 -1
  14. package/src/BarChart/types.ts +0 -668
  15. package/src/LineChart/LineChartBiColor.js.map +0 -1
  16. package/src/LineChart/LineChartBiColor.ts +0 -613
  17. package/src/LineChart/index.js.map +0 -1
  18. package/src/LineChart/index.ts +0 -2205
  19. package/src/LineChart/types.js.map +0 -1
  20. package/src/LineChart/types.ts +0 -616
  21. package/src/PieChart/index.js.map +0 -1
  22. package/src/PieChart/index.ts +0 -180
  23. package/src/PieChart/main.js.map +0 -1
  24. package/src/PieChart/main.ts +0 -173
  25. package/src/PieChart/pro.ts +0 -309
  26. package/src/PieChart/types.js.map +0 -1
  27. package/src/PieChart/types.ts +0 -105
  28. package/src/PopulationPyramid/index.js.map +0 -1
  29. package/src/PopulationPyramid/index.ts +0 -365
  30. package/src/PopulationPyramid/types.js.map +0 -1
  31. package/src/PopulationPyramid/types.ts +0 -258
  32. package/src/components/AnimatedThreeDBar/index.js.map +0 -1
  33. package/src/components/AnimatedThreeDBar/index.ts +0 -60
  34. package/src/components/BarAndLineChartsWrapper/getHorizSectionsVals.js.map +0 -1
  35. package/src/components/BarAndLineChartsWrapper/getHorizSectionsVals.ts +0 -408
  36. package/src/components/BarAndLineChartsWrapper/index.js.map +0 -1
  37. package/src/components/BarAndLineChartsWrapper/index.ts +0 -408
  38. package/src/components/common/StripAndLabel.js.map +0 -1
  39. package/src/components/common/StripAndLabel.ts +0 -80
  40. package/src/components/common/types.ts +0 -32
  41. package/src/index.ts +0 -153
  42. package/src/utils/constants.js.map +0 -1
  43. package/src/utils/constants.ts +0 -349
  44. package/src/utils/index.js.map +0 -1
  45. package/src/utils/index.ts +0 -1563
  46. package/src/utils/types.js.map +0 -1
  47. package/src/utils/types.ts +0 -442
  48. /package/{src → dist}/BarChart/Animated2DWithGradient.d.ts +0 -0
  49. /package/{src → dist}/BarChart/Animated2DWithGradient.js +0 -0
  50. /package/{src → dist}/BarChart/RenderStackBars.d.ts +0 -0
  51. /package/{src → dist}/BarChart/RenderStackBars.js +0 -0
  52. /package/{src → dist}/BarChart/index.d.ts +0 -0
  53. /package/{src → dist}/BarChart/index.js +0 -0
  54. /package/{src → dist}/BarChart/types.d.ts +0 -0
  55. /package/{src → dist}/BarChart/types.js +0 -0
  56. /package/{src → dist}/LineChart/LineChartBiColor.d.ts +0 -0
  57. /package/{src → dist}/LineChart/LineChartBiColor.js +0 -0
  58. /package/{src → dist}/LineChart/types.d.ts +0 -0
  59. /package/{src → dist}/LineChart/types.js +0 -0
  60. /package/{src → dist}/PieChart/index.d.ts +0 -0
  61. /package/{src → dist}/PieChart/index.js +0 -0
  62. /package/{src → dist}/PieChart/main.d.ts +0 -0
  63. /package/{src → dist}/PieChart/main.js +0 -0
  64. /package/{src → dist}/PieChart/pro.d.ts +0 -0
  65. /package/{src → dist}/PieChart/pro.js +0 -0
  66. /package/{src → dist}/PieChart/types.d.ts +0 -0
  67. /package/{src → dist}/PieChart/types.js +0 -0
  68. /package/{src → dist}/PopulationPyramid/index.d.ts +0 -0
  69. /package/{src → dist}/PopulationPyramid/index.js +0 -0
  70. /package/{src → dist}/PopulationPyramid/types.d.ts +0 -0
  71. /package/{src → dist}/PopulationPyramid/types.js +0 -0
  72. /package/{src → dist}/components/AnimatedThreeDBar/index.d.ts +0 -0
  73. /package/{src → dist}/components/AnimatedThreeDBar/index.js +0 -0
  74. /package/{src → dist}/components/BarAndLineChartsWrapper/getHorizSectionsVals.d.ts +0 -0
  75. /package/{src → dist}/components/BarAndLineChartsWrapper/getHorizSectionsVals.js +0 -0
  76. /package/{src → dist}/components/BarAndLineChartsWrapper/index.d.ts +0 -0
  77. /package/{src → dist}/components/BarAndLineChartsWrapper/index.js +0 -0
  78. /package/{src → dist}/components/common/StripAndLabel.d.ts +0 -0
  79. /package/{src → dist}/components/common/StripAndLabel.js +0 -0
  80. /package/{src → dist}/components/common/types.js +0 -0
  81. /package/{src → dist}/index.js +0 -0
  82. /package/{src → dist}/utils/constants.d.ts +0 -0
  83. /package/{src → dist}/utils/constants.js +0 -0
  84. /package/{src → dist}/utils/index.d.ts +0 -0
  85. /package/{src → dist}/utils/types.d.ts +0 -0
  86. /package/{src → dist}/utils/types.js +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":";;;;;;QAykBA,CAAC"}
@@ -1,616 +0,0 @@
1
- import { GestureResponderEvent, type ColorValue } from 'react-native'
2
- import { type yAxisSides } from '../utils/constants'
3
- import {
4
- XAxisConfig,
5
- type CurveType,
6
- type DataSet,
7
- type EdgePosition,
8
- type HighlightedRange,
9
- type LineSegment,
10
- type Pointer,
11
- type RuleType,
12
- type RulesConfig,
13
- type arrowConfigType,
14
- type referenceConfigType,
15
- type secondaryLineConfigType,
16
- type secondaryYAxisType,
17
- type Linecap
18
- } from '../utils/types'
19
-
20
- export interface LineChartPropsType {
21
- height?: number
22
- overflowTop?: number
23
- overflowBottom?: number
24
- noOfSections?: number
25
- sectionColors?: ColorValue[]
26
- maxValue?: number
27
- mostNegativeValue?: number
28
- stepHeight?: number
29
- stepValue?: number
30
- spacing?: number
31
- initialSpacing?: number
32
- endSpacing?: number
33
- data?: lineDataItem[]
34
- data2?: lineDataItem[]
35
- data3?: lineDataItem[]
36
- data4?: lineDataItem[]
37
- data5?: lineDataItem[]
38
- dataSet?: DataSet[]
39
- zIndex1?: number
40
- zIndex2?: number
41
- zIndex3?: number
42
- zIndex4?: number
43
- zIndex5?: number
44
- thickness?: number
45
- thickness1?: number
46
- thickness2?: number
47
- thickness3?: number
48
- thickness4?: number
49
- thickness5?: number
50
- strokeDashArray?: number[]
51
- strokeDashArray1?: number[]
52
- strokeDashArray2?: number[]
53
- strokeDashArray3?: number[]
54
- strokeDashArray4?: number[]
55
- strokeDashArray5?: number[]
56
- rotateLabel?: boolean
57
- isAnimated?: boolean
58
- animateOnDataChange?: boolean
59
- animationDuration?: number
60
- onDataChangeAnimationDuration?: number
61
- animationEasing?: any
62
- animateTogether?: boolean
63
- xAxisLength?: number
64
- xAxisThickness?: number
65
- xAxisColor?: ColorValue
66
- xAxisType?: RuleType
67
- hideRules?: boolean
68
- rulesLength?: number
69
- rulesColor?: ColorValue
70
- rulesThickness?: number
71
- focusEnabled?: boolean
72
- onFocus?: Function
73
- showDataPointOnFocus?: boolean
74
- showStripOnFocus?: boolean
75
- showTextOnFocus?: boolean
76
- showDataPointLabelOnFocus?: boolean
77
- stripHeight?: number
78
- stripWidth?: number
79
- stripColor?: ColorValue | string | any
80
- stripOpacity?: number
81
- stripStrokeDashArray?: number[]
82
- onPress?: Function
83
- unFocusOnPressOut?: boolean
84
- delayBeforeUnFocus?: number
85
- focusedDataPointIndex?: number
86
-
87
- showValuesAsDataPointsText?: boolean
88
-
89
- rulesType?: RuleType
90
- dashWidth?: number
91
- dashGap?: number
92
- rulesConfigArray?: RulesConfig[]
93
- showReferenceLine1?: boolean
94
- referenceLine1Config?: referenceConfigType
95
- referenceLine1Position?: number
96
- showReferenceLine2?: boolean
97
- referenceLine2Config?: referenceConfigType
98
- referenceLine2Position?: number
99
- showReferenceLine3?: boolean
100
- referenceLine3Config?: referenceConfigType
101
- referenceLine3Position?: number
102
-
103
- showVerticalLines?: boolean
104
- verticalLinesUptoDataPoint?: boolean
105
- verticalLinesThickness?: number
106
- verticalLinesHeight?: number
107
- verticalLinesColor?: ColorValue
108
- verticalLinesStrokeDashArray?: number[]
109
- verticalLinesShift?: number
110
- verticalLinesZIndex?: number
111
- noOfVerticalLines?: number
112
- verticalLinesSpacing?: number
113
- verticalLinesStrokeLinecap?: Linecap
114
- hideAxesAndRules?: boolean
115
- areaChart?: boolean
116
- areaChart1?: boolean
117
- areaChart2?: boolean
118
- areaChart3?: boolean
119
- areaChart4?: boolean
120
- areaChart5?: boolean
121
- stepChart?: boolean
122
- stepChart1?: boolean
123
- stepChart2?: boolean
124
- stepChart3?: boolean
125
- stepChart4?: boolean
126
- stepChart5?: boolean
127
- edgePosition?: EdgePosition
128
-
129
- disableScroll?: boolean
130
- pointerConfig?: Pointer
131
- showScrollIndicator?: boolean
132
- indicatorColor?: 'black' | 'default' | 'white'
133
- nestedScrollEnabled?: boolean
134
-
135
- // Indices
136
-
137
- showYAxisIndices?: boolean
138
- showXAxisIndices?: boolean
139
- yAxisIndicesHeight?: number
140
- xAxisIndicesHeight?: number
141
- yAxisIndicesWidth?: number
142
- xAxisIndicesWidth?: number
143
- xAxisIndicesColor?: ColorValue
144
- yAxisIndicesColor?: ColorValue
145
- yAxisSide?: yAxisSides
146
- yAxisOffset?: number
147
-
148
- startIndex?: number
149
- startIndex1?: number
150
- startIndex2?: number
151
- startIndex3?: number
152
- startIndex4?: number
153
- startIndex5?: number
154
- endIndex?: number
155
- endIndex1?: number
156
- endIndex2?: number
157
- endIndex3?: number
158
- endIndex4?: number
159
- endIndex5?: number
160
-
161
- color?: string
162
- color1?: string
163
- color2?: string
164
- color3?: string
165
- color4?: string
166
- color5?: string
167
- yAxisThickness?: number
168
- yAxisColor?: ColorValue
169
- yAxisExtraHeight?: number
170
- trimYAxisAtTop?: boolean
171
- yAxisLabelContainerStyle?: any
172
- horizontalRulesStyle?: any
173
- yAxisTextStyle?: any
174
- yAxisTextNumberOfLines?: number
175
- xAxisTextNumberOfLines?: number
176
- showFractionalValues?: boolean
177
- roundToDigits?: number
178
- yAxisLabelWidth?: number
179
- hideYAxisText?: boolean
180
-
181
- backgroundColor?: ColorValue
182
- curved?: boolean
183
- curvature?: number
184
- curveType?: CurveType
185
- horizSections?: sectionType[]
186
-
187
- // Data points
188
-
189
- hideDataPoints?: boolean
190
- dataPointsHeight?: number
191
- dataPointsWidth?: number
192
- dataPointsRadius?: number
193
- dataPointsColor?: string
194
- dataPointsShape?: string
195
- hideDataPoints1?: boolean
196
- dataPointsHeight1?: number
197
- dataPointsWidth1?: number
198
- dataPointsRadius1?: number
199
- dataPointsColor1?: string
200
- dataPointsShape1?: string
201
- hideDataPoints2?: boolean
202
- dataPointsHeight2?: number
203
- dataPointsWidth2?: number
204
- dataPointsRadius2?: number
205
- dataPointsColor2?: string
206
- dataPointsShape2?: string
207
- hideDataPoints3?: boolean
208
- dataPointsHeight3?: number
209
- dataPointsWidth3?: number
210
- dataPointsRadius3?: number
211
- dataPointsColor3?: string
212
- dataPointsShape3?: string
213
- hideDataPoints4?: boolean
214
- dataPointsHeight4?: number
215
- dataPointsWidth4?: number
216
- dataPointsRadius4?: number
217
- dataPointsColor4?: string
218
- dataPointsShape4?: string
219
- hideDataPoints5?: boolean
220
- dataPointsHeight5?: number
221
- dataPointsWidth5?: number
222
- dataPointsRadius5?: number
223
- dataPointsColor5?: string
224
- dataPointsShape5?: string
225
- customDataPoint?: Function
226
-
227
- focusedDataPointShape?: string
228
- focusedDataPointWidth?: number
229
- focusedDataPointHeight?: number
230
- focusedDataPointColor?: ColorValue | string | any
231
- focusedDataPointRadius?: number
232
- focusedCustomDataPoint?: Function
233
- dataPointLabelWidth?: number
234
- dataPointLabelShiftX?: number
235
- dataPointLabelShiftY?: number
236
-
237
- startFillColor?: string
238
- endFillColor?: string
239
- startOpacity?: number
240
- endOpacity?: number
241
- startFillColor1?: string
242
- endFillColor1?: string
243
- startOpacity1?: number
244
- endOpacity1?: number
245
- startFillColor2?: string
246
- endFillColor2?: string
247
- startOpacity2?: number
248
- endOpacity2?: number
249
- startFillColor3?: string
250
- endFillColor3?: string
251
- startOpacity3?: number
252
- endOpacity3?: number
253
- startFillColor4?: string
254
- endFillColor4?: string
255
- startOpacity4?: number
256
- endOpacity4?: number
257
- startFillColor5?: string
258
- endFillColor5?: string
259
- startOpacity5?: number
260
- endOpacity5?: number
261
- gradientDirection?: string
262
-
263
- areaGradientComponent?: () => any
264
- areaGradientId?: string
265
-
266
- textFontSize?: number
267
- textColor?: string
268
- textFontSize1?: number
269
- textColor1?: string
270
- textFontSize2?: number
271
- textColor2?: string
272
- textFontSize3?: number
273
- textColor3?: string
274
- textFontSize4?: number
275
- textColor4?: string
276
- textFontSize5?: number
277
- textColor5?: string
278
- hideOrigin?: boolean
279
- textShiftX?: number
280
- textShiftY?: number
281
- yAxisLabelTexts?: string[]
282
- xAxisLabelTexts?: string[]
283
- xAxisLabelTextStyle?: any
284
- xAxisLabelsHeight?: number
285
- xAxisLabelsVerticalShift?: number
286
- width?: number
287
- yAxisLabelPrefix?: string
288
- yAxisLabelSuffix?: string
289
- scrollRef?: any
290
- scrollToEnd?: boolean
291
- scrollToIndex?: number
292
- scrollAnimation?: boolean
293
- scrollEventThrottle?: number
294
- noOfSectionsBelowXAxis?: number
295
- labelsExtraHeight?: number
296
- adjustToWidth?: boolean
297
- getPointerProps?: Function
298
- showArrows?: boolean
299
- arrowConfig?: arrowConfigType
300
- showArrow1?: boolean
301
- arrowConfig1?: arrowConfigType
302
- showArrow2?: boolean
303
- arrowConfig2?: arrowConfigType
304
- showArrow3?: boolean
305
- arrowConfig3?: arrowConfigType
306
- showArrow4?: boolean
307
- arrowConfig4?: arrowConfigType
308
- showArrow5?: boolean
309
- arrowConfig5?: arrowConfigType
310
-
311
- secondaryData?: lineDataItem[]
312
- secondaryYAxis?: secondaryYAxisType
313
- secondaryLineConfig?: secondaryLineConfigType
314
- formatYLabel?: (label: string) => string
315
- lineGradient?: boolean
316
- lineGradientComponent?: () => any
317
- lineGradientId?: string
318
- lineGradientDirection?: string
319
- lineGradientStartColor?: string
320
- lineGradientEndColor?: string
321
- lineSegments?: LineSegment[]
322
- lineSegments2?: LineSegment[]
323
- lineSegments3?: LineSegment[]
324
- lineSegments4?: LineSegment[]
325
- lineSegments5?: LineSegment[]
326
- highlightedRange?: HighlightedRange
327
-
328
- onEndReached?: () => void
329
- onStartReached?: () => void
330
- endReachedOffset?: number
331
- onScroll?: Function
332
- onMomentumScrollEnd?: Function
333
-
334
- showDataPointsForMissingValues?: boolean
335
- interpolateMissingValues?: boolean
336
- onlyPositive?: boolean
337
- parentWidth?: number
338
-
339
- onChartAreaPress?: (event: GestureResponderEvent) => void
340
- onBackgroundPress?: (event: GestureResponderEvent) => void
341
-
342
- secondaryXAxis?: XAxisConfig
343
- }
344
-
345
- export interface lineDataItem {
346
- value: number
347
- label?: string
348
- labelComponent?: Function
349
- labelTextStyle?: any
350
- secondaryLabel?: string
351
- secondaryLabelComponent?: Function
352
- secondaryLabelTextStyle?: any
353
- dataPointText?: string
354
- textShiftX?: number
355
- textShiftY?: number
356
- textColor?: string
357
- textFontSize?: number
358
-
359
- hideDataPoint?: boolean
360
- dataPointHeight?: number
361
- dataPointWidth?: number
362
- dataPointRadius?: number
363
- dataPointColor?: string
364
- dataPointShape?: string
365
- customDataPoint?: Function
366
-
367
- stripHeight?: number
368
- stripWidth?: number
369
- stripColor?: ColorValue | string | any
370
- stripOpacity?: number
371
- stripStrokeDashArray?: number[]
372
-
373
- focusedDataPointShape?: string
374
- focusedDataPointWidth?: number
375
- focusedDataPointHeight?: number
376
- focusedDataPointColor?: ColorValue | string | any
377
- focusedDataPointRadius?: number
378
- focusedCustomDataPoint?: Function
379
-
380
- dataPointLabelComponent?: Function
381
- focusedDataPointLabelComponent?: Function
382
- dataPointLabelWidth?: number
383
- dataPointLabelShiftX?: number
384
- dataPointLabelShiftY?: number
385
- showStrip?: boolean
386
-
387
- showVerticalLine?: boolean
388
- verticalLineUptoDataPoint?: boolean
389
- verticalLineColor?: string
390
- verticalLineThickness?: number
391
- verticalLineStrokeDashArray?: number[]
392
- pointerShiftX?: number
393
- pointerShiftY?: number
394
- onPress?: Function
395
- showXAxisIndex?: boolean
396
- }
397
-
398
- interface sectionType {
399
- value: string
400
- }
401
-
402
- export interface bicolorLineDataItem {
403
- value: number
404
- label?: string
405
- labelComponent?: Function
406
- labelTextStyle?: any
407
- dataPointText?: string
408
- textShiftX?: number
409
- textShiftY?: number
410
- textColor?: string
411
- textFontSize?: number
412
-
413
- hideDataPoint?: boolean
414
- dataPointHeight?: number
415
- dataPointWidth?: number
416
- dataPointRadius?: number
417
- dataPointColor?: string
418
- dataPointShape?: string
419
- customDataPoint?: Function
420
-
421
- stripHeight?: number
422
- stripWidth?: number
423
- stripColor?: ColorValue | string | any
424
- stripOpacity?: number
425
-
426
- focusedDataPointShape?: string
427
- focusedDataPointWidth?: number
428
- focusedDataPointHeight?: number
429
- focusedDataPointColor?: ColorValue | string | any
430
- focusedDataPointRadius?: number
431
- focusedCustomDataPoint?: Function
432
-
433
- dataPointLabelComponent?: Function
434
- focusedDataPointLabelComponent?: Function
435
- dataPointLabelWidth?: number
436
- dataPointLabelShiftX?: number
437
- dataPointLabelShiftY?: number
438
- showStrip?: boolean
439
-
440
- showVerticalLine?: boolean
441
- verticalLineUptoDataPoint?: boolean
442
- verticalLineColor?: string
443
- verticalLineThickness?: number
444
- pointerShiftX?: number
445
- pointerShiftY?: number
446
- onPress?: Function
447
- }
448
-
449
- export interface LineChartBicolorPropsType {
450
- height?: number
451
- overflowTop?: number
452
- noOfSections?: number
453
- maxValue?: number
454
- mostNegativeValue?: number
455
- stepHeight?: number
456
- stepValue?: number
457
- spacing?: number
458
- initialSpacing?: number
459
- endSpacing?: number
460
- data?: bicolorLineDataItem[]
461
- zIndex?: number
462
- thickness?: number
463
- strokeDashArray?: number[]
464
- rotateLabel?: boolean
465
- isAnimated?: boolean
466
- animationDuration?: number
467
- onDataChangeAnimationDuration?: number
468
- animationEasing?: any
469
- xAxisLength?: number
470
- xAxisThickness?: number
471
- xAxisColor?: ColorValue
472
- xAxisType?: RuleType
473
- hideRules?: boolean
474
- rulesLength?: number
475
- rulesColor?: ColorValue
476
- rulesThickness?: number
477
- focusEnabled?: boolean
478
- onFocus?: Function
479
- showDataPointOnFocus?: boolean
480
- showStripOnFocus?: boolean
481
- showTextOnFocus?: boolean
482
- showDataPointLabelOnFocus?: boolean
483
- stripHeight?: number
484
- stripWidth?: number
485
- stripColor?: ColorValue | string | any
486
- stripOpacity?: number
487
- onPress?: Function
488
- unFocusOnPressOut?: boolean
489
- delayBeforeUnFocus?: number
490
-
491
- rulesType?: RuleType
492
- dashWidth?: number
493
- dashGap?: number
494
- showReferenceLine1?: boolean
495
- referenceLine1Config?: referenceConfigType
496
- referenceLine1Position?: number
497
- showReferenceLine2?: boolean
498
- referenceLine2Config?: referenceConfigType
499
- referenceLine2Position?: number
500
- showReferenceLine3?: boolean
501
- referenceLine3Config?: referenceConfigType
502
- referenceLine3Position?: number
503
-
504
- showVerticalLines?: boolean
505
- verticalLinesUptoDataPoint?: boolean
506
- verticalLinesThickness?: number
507
- verticalLinesHeight?: number
508
- verticalLinesColor?: ColorValue
509
- verticalLinesStrokeDashArray?: number[]
510
- verticalLinesShift?: number
511
- verticalLinesZIndex?: number
512
- noOfVerticalLines?: number
513
- verticalLinesSpacing?: number
514
- hideAxesAndRules?: boolean
515
- areaChart?: boolean
516
-
517
- disableScroll?: boolean
518
- showScrollIndicator?: boolean
519
- indicatorColor?: 'black' | 'default' | 'white'
520
- nestedScrollEnabled?: boolean
521
-
522
- // Indices
523
-
524
- showYAxisIndices?: boolean
525
- showXAxisIndices?: boolean
526
- yAxisIndicesHeight?: number
527
- xAxisIndicesHeight?: number
528
- yAxisIndicesWidth?: number
529
- xAxisIndicesWidth?: number
530
- xAxisIndicesColor?: ColorValue
531
- yAxisIndicesColor?: ColorValue
532
- yAxisSide?: yAxisSides
533
- yAxisOffset?: number
534
-
535
- startIndex?: number
536
- endIndex?: number
537
-
538
- color?: string
539
- colorNegative?: string
540
- yAxisThickness?: number
541
- yAxisColor?: ColorValue
542
- yAxisLabelContainerStyle?: any
543
- horizontalRulesStyle?: any
544
- yAxisTextStyle?: any
545
- yAxisTextNumberOfLines?: number
546
- xAxisTextNumberOfLines?: number
547
- showFractionalValues?: boolean
548
- roundToDigits?: number
549
- yAxisLabelWidth?: number
550
- hideYAxisText?: boolean
551
-
552
- backgroundColor?: ColorValue
553
- curved?: boolean
554
- horizSections?: sectionType[]
555
-
556
- // Data points
557
-
558
- hideDataPoints?: boolean
559
- dataPointsHeight?: number
560
- dataPointsWidth?: number
561
- dataPointsRadius?: number
562
- dataPointsColor?: string
563
- dataPointsShape?: string
564
- customDataPoint?: Function
565
-
566
- focusedDataPointShape?: string
567
- focusedDataPointWidth?: number
568
- focusedDataPointHeight?: number
569
- focusedDataPointColor?: ColorValue | string | any
570
- focusedDataPointRadius?: number
571
- focusedCustomDataPoint?: Function
572
- dataPointLabelWidth?: number
573
- dataPointLabelShiftX?: number
574
- dataPointLabelShiftY?: number
575
-
576
- startFillColor?: string
577
- endFillColor?: string
578
- startFillColorNegative?: string
579
- endFillColorNegative?: string
580
- startOpacity?: number
581
- endOpacity?: number
582
- startOpacityNegative?: number
583
- endOpacityNegative?: number
584
- gradientDirection?: string
585
-
586
- textFontSize?: number
587
- textColor?: string
588
- hideOrigin?: boolean
589
- textShiftX?: number
590
- textShiftY?: number
591
- yAxisLabelTexts?: string[]
592
- xAxisLabelTexts?: string[]
593
- xAxisLabelTextStyle?: any
594
- width?: number
595
- yAxisLabelPrefix?: string
596
- yAxisLabelSuffix?: string
597
- scrollToEnd?: boolean
598
- scrollToIndex?: number
599
- scrollAnimation?: boolean
600
- scrollEventThrottle?: number
601
- noOfSectionsBelowXAxis?: number
602
- labelsExtraHeight?: number
603
- adjustToWidth?: boolean
604
- getPointerProps?: Function
605
- formatYLabel?: (label: string) => string
606
- onScroll?: Function
607
- endReachedOffset?: number
608
- parentWidth?: number
609
- }
610
-
611
- export interface IDataSanitisationProps {
612
- showDataPointsForMissingValues: boolean | undefined
613
- interpolateMissingValues: boolean
614
- onlyPositive: boolean | undefined
615
- yAxisOffset: number | undefined
616
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;YAIA,yBAAa,WAAW,GAAG,UAAC,KAAwB;;gBAClD,IAAM,MAAM,GAAG,KAAK,CAAC,MAAM,IAAI,GAAG,CAAC;gBACnC,IAAM,qBAAqB,GACzB,MAAA,KAAK,CAAC,qBAAqB,mCAC3B,CAAC,KAAK,CAAC,YAAY,IAAI,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBACnE,IAAM,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC9C,IAAA,KAAoC,gBAAQ,CAAC,CAAC,CAAC,CAAC,EAA/C,aAAa,QAAA,EAAE,gBAAgB,QAAgB,CAAC,CAAC,oCAAoC;gBAC5F,6FAA6F;gBACvF,IAAA,KAA8B,gBAAQ,CAC1C,KAAK,CAAC,YAAY,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CACnD,EAFM,UAAU,QAAA,EAAE,aAAa,QAE/B,CAAC;gBACI,IAAA,KAAoB,gBAAQ,CAAC,CAAC,CAAC,EAA9B,KAAK,QAAA,EAAE,QAAQ,QAAe,CAAC;gBAEtC,iBAAS,CAAC;oBACR,uIAAuI;oBACvI,IAAI,QAAQ,GAAG,CAAC,CAAC;oBACjB,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,UAAC,IAAI;wBACtB,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