gifted-charts-core 0.1.20 → 0.1.22

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