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.
- package/{src → dist}/LineChart/index.d.ts +0 -3
- package/{src → dist}/LineChart/index.js +5 -54
- package/{src → dist}/components/common/types.d.ts +9 -8
- package/{src → dist}/index.d.ts +1 -0
- package/{src → dist}/utils/index.js +8 -2
- package/package.json +4 -4
- package/src/BarChart/Animated2DWithGradient.js.map +0 -1
- package/src/BarChart/Animated2DWithGradient.ts +0 -192
- package/src/BarChart/RenderStackBars.js.map +0 -1
- package/src/BarChart/RenderStackBars.ts +0 -160
- package/src/BarChart/index.js.map +0 -1
- package/src/BarChart/index.ts +0 -909
- package/src/BarChart/types.js.map +0 -1
- package/src/BarChart/types.ts +0 -668
- package/src/LineChart/LineChartBiColor.js.map +0 -1
- package/src/LineChart/LineChartBiColor.ts +0 -613
- package/src/LineChart/index.js.map +0 -1
- package/src/LineChart/index.ts +0 -2205
- package/src/LineChart/types.js.map +0 -1
- package/src/LineChart/types.ts +0 -616
- package/src/PieChart/index.js.map +0 -1
- package/src/PieChart/index.ts +0 -180
- package/src/PieChart/main.js.map +0 -1
- package/src/PieChart/main.ts +0 -173
- package/src/PieChart/pro.ts +0 -309
- package/src/PieChart/types.js.map +0 -1
- package/src/PieChart/types.ts +0 -105
- package/src/PopulationPyramid/index.js.map +0 -1
- package/src/PopulationPyramid/index.ts +0 -365
- package/src/PopulationPyramid/types.js.map +0 -1
- package/src/PopulationPyramid/types.ts +0 -258
- package/src/components/AnimatedThreeDBar/index.js.map +0 -1
- package/src/components/AnimatedThreeDBar/index.ts +0 -60
- package/src/components/BarAndLineChartsWrapper/getHorizSectionsVals.js.map +0 -1
- package/src/components/BarAndLineChartsWrapper/getHorizSectionsVals.ts +0 -408
- package/src/components/BarAndLineChartsWrapper/index.js.map +0 -1
- package/src/components/BarAndLineChartsWrapper/index.ts +0 -408
- package/src/components/common/StripAndLabel.js.map +0 -1
- package/src/components/common/StripAndLabel.ts +0 -80
- package/src/components/common/types.ts +0 -32
- package/src/index.ts +0 -153
- package/src/utils/constants.js.map +0 -1
- package/src/utils/constants.ts +0 -349
- package/src/utils/index.js.map +0 -1
- package/src/utils/index.ts +0 -1563
- package/src/utils/types.js.map +0 -1
- package/src/utils/types.ts +0 -442
- /package/{src → dist}/BarChart/Animated2DWithGradient.d.ts +0 -0
- /package/{src → dist}/BarChart/Animated2DWithGradient.js +0 -0
- /package/{src → dist}/BarChart/RenderStackBars.d.ts +0 -0
- /package/{src → dist}/BarChart/RenderStackBars.js +0 -0
- /package/{src → dist}/BarChart/index.d.ts +0 -0
- /package/{src → dist}/BarChart/index.js +0 -0
- /package/{src → dist}/BarChart/types.d.ts +0 -0
- /package/{src → dist}/BarChart/types.js +0 -0
- /package/{src → dist}/LineChart/LineChartBiColor.d.ts +0 -0
- /package/{src → dist}/LineChart/LineChartBiColor.js +0 -0
- /package/{src → dist}/LineChart/types.d.ts +0 -0
- /package/{src → dist}/LineChart/types.js +0 -0
- /package/{src → dist}/PieChart/index.d.ts +0 -0
- /package/{src → dist}/PieChart/index.js +0 -0
- /package/{src → dist}/PieChart/main.d.ts +0 -0
- /package/{src → dist}/PieChart/main.js +0 -0
- /package/{src → dist}/PieChart/pro.d.ts +0 -0
- /package/{src → dist}/PieChart/pro.js +0 -0
- /package/{src → dist}/PieChart/types.d.ts +0 -0
- /package/{src → dist}/PieChart/types.js +0 -0
- /package/{src → dist}/PopulationPyramid/index.d.ts +0 -0
- /package/{src → dist}/PopulationPyramid/index.js +0 -0
- /package/{src → dist}/PopulationPyramid/types.d.ts +0 -0
- /package/{src → dist}/PopulationPyramid/types.js +0 -0
- /package/{src → dist}/components/AnimatedThreeDBar/index.d.ts +0 -0
- /package/{src → dist}/components/AnimatedThreeDBar/index.js +0 -0
- /package/{src → dist}/components/BarAndLineChartsWrapper/getHorizSectionsVals.d.ts +0 -0
- /package/{src → dist}/components/BarAndLineChartsWrapper/getHorizSectionsVals.js +0 -0
- /package/{src → dist}/components/BarAndLineChartsWrapper/index.d.ts +0 -0
- /package/{src → dist}/components/BarAndLineChartsWrapper/index.js +0 -0
- /package/{src → dist}/components/common/StripAndLabel.d.ts +0 -0
- /package/{src → dist}/components/common/StripAndLabel.js +0 -0
- /package/{src → dist}/components/common/types.js +0 -0
- /package/{src → dist}/index.js +0 -0
- /package/{src → dist}/utils/constants.d.ts +0 -0
- /package/{src → dist}/utils/constants.js +0 -0
- /package/{src → dist}/utils/index.d.ts +0 -0
- /package/{src → dist}/utils/types.d.ts +0 -0
- /package/{src → dist}/utils/types.js +0 -0
|
@@ -1,408 +0,0 @@
|
|
|
1
|
-
import { useEffect, useState } from 'react'
|
|
2
|
-
import { AxesAndRulesDefaults, BarDefaults } from '../../utils/constants'
|
|
3
|
-
import {
|
|
4
|
-
LineInBarChartPropsType,
|
|
5
|
-
type BarAndLineChartsWrapperTypes,
|
|
6
|
-
type horizSectionPropTypes
|
|
7
|
-
} from '../../utils/types'
|
|
8
|
-
import { type NativeScrollEvent } from 'react-native'
|
|
9
|
-
|
|
10
|
-
export const useBarAndLineChartsWrapper = (
|
|
11
|
-
props: BarAndLineChartsWrapperTypes
|
|
12
|
-
) => {
|
|
13
|
-
const {
|
|
14
|
-
chartType,
|
|
15
|
-
containerHeight,
|
|
16
|
-
noOfSectionsBelowXAxis,
|
|
17
|
-
sectionColors,
|
|
18
|
-
stepHeight,
|
|
19
|
-
negativeStepHeight,
|
|
20
|
-
labelsExtraHeight,
|
|
21
|
-
yAxisLabelWidth,
|
|
22
|
-
horizontal,
|
|
23
|
-
rtl,
|
|
24
|
-
shiftX,
|
|
25
|
-
shiftY,
|
|
26
|
-
initialSpacing,
|
|
27
|
-
data,
|
|
28
|
-
stackData,
|
|
29
|
-
secondaryData,
|
|
30
|
-
barWidth,
|
|
31
|
-
xAxisThickness,
|
|
32
|
-
totalWidth,
|
|
33
|
-
spacing,
|
|
34
|
-
lineConfig,
|
|
35
|
-
lineConfig2,
|
|
36
|
-
maxValue,
|
|
37
|
-
lineData,
|
|
38
|
-
lineData2,
|
|
39
|
-
animatedWidth,
|
|
40
|
-
lineBehindBars,
|
|
41
|
-
points,
|
|
42
|
-
points2,
|
|
43
|
-
arrowPoints,
|
|
44
|
-
|
|
45
|
-
width,
|
|
46
|
-
horizSections,
|
|
47
|
-
endSpacing,
|
|
48
|
-
horizontalRulesStyle,
|
|
49
|
-
noOfSections,
|
|
50
|
-
showFractionalValues,
|
|
51
|
-
axesAndRulesProps,
|
|
52
|
-
|
|
53
|
-
yAxisLabelTexts,
|
|
54
|
-
yAxisOffset,
|
|
55
|
-
rotateYAxisTexts,
|
|
56
|
-
|
|
57
|
-
pointerConfig,
|
|
58
|
-
getPointerProps,
|
|
59
|
-
pointerIndex,
|
|
60
|
-
pointerX,
|
|
61
|
-
pointerY,
|
|
62
|
-
|
|
63
|
-
scrollEventThrottle,
|
|
64
|
-
endReachedOffset,
|
|
65
|
-
isRTL,
|
|
66
|
-
selectedIndex
|
|
67
|
-
} = props
|
|
68
|
-
|
|
69
|
-
const yAxisAtTop = rtl ? !props.yAxisAtTop : props.yAxisAtTop
|
|
70
|
-
|
|
71
|
-
const hideOrigin =
|
|
72
|
-
axesAndRulesProps.hideOrigin ?? AxesAndRulesDefaults.hideOrigin
|
|
73
|
-
|
|
74
|
-
const yAxisSide =
|
|
75
|
-
axesAndRulesProps.yAxisSide ?? AxesAndRulesDefaults.yAxisSide
|
|
76
|
-
const yAxisLabelContainerStyle = axesAndRulesProps.yAxisLabelContainerStyle
|
|
77
|
-
const yAxisColor =
|
|
78
|
-
axesAndRulesProps.yAxisColor ?? AxesAndRulesDefaults.yAxisColor
|
|
79
|
-
const yAxisExtraHeight =
|
|
80
|
-
axesAndRulesProps.yAxisExtraHeight ?? containerHeight / 20
|
|
81
|
-
const trimYAxisAtTop =
|
|
82
|
-
axesAndRulesProps.trimYAxisAtTop ?? AxesAndRulesDefaults.trimYAxisAtTop
|
|
83
|
-
const overflowTop = axesAndRulesProps.overflowTop
|
|
84
|
-
const yAxisThickness =
|
|
85
|
-
axesAndRulesProps.yAxisThickness ?? AxesAndRulesDefaults.yAxisThickness
|
|
86
|
-
const xAxisColor =
|
|
87
|
-
axesAndRulesProps.xAxisColor ?? AxesAndRulesDefaults.xAxisColor
|
|
88
|
-
const xAxisLength = axesAndRulesProps.xAxisLength
|
|
89
|
-
const xAxisType =
|
|
90
|
-
axesAndRulesProps.xAxisType ?? AxesAndRulesDefaults.xAxisType
|
|
91
|
-
const xAxisLabelsVerticalShift =
|
|
92
|
-
axesAndRulesProps.xAxisLabelsVerticalShift ??
|
|
93
|
-
AxesAndRulesDefaults.xAxisLabelsVerticalShift
|
|
94
|
-
const xAxisLabelsHeight = axesAndRulesProps.xAxisLabelsHeight
|
|
95
|
-
const xAxisTextNumberOfLines = axesAndRulesProps.xAxisTextNumberOfLines
|
|
96
|
-
const dashWidth =
|
|
97
|
-
axesAndRulesProps.dashWidth ?? AxesAndRulesDefaults.dashWidth
|
|
98
|
-
const dashGap = axesAndRulesProps.dashGap ?? AxesAndRulesDefaults.dashGap
|
|
99
|
-
const backgroundColor =
|
|
100
|
-
axesAndRulesProps.backgroundColor ?? AxesAndRulesDefaults.backgroundColor
|
|
101
|
-
const hideRules =
|
|
102
|
-
axesAndRulesProps.hideRules ?? AxesAndRulesDefaults.hideRules
|
|
103
|
-
const rulesLength = axesAndRulesProps.rulesLength
|
|
104
|
-
const rulesType =
|
|
105
|
-
axesAndRulesProps.rulesType ?? AxesAndRulesDefaults.rulesType
|
|
106
|
-
const rulesThickness =
|
|
107
|
-
axesAndRulesProps.rulesThickness ?? AxesAndRulesDefaults.rulesThickness
|
|
108
|
-
const rulesColor =
|
|
109
|
-
axesAndRulesProps.rulesColor ?? AxesAndRulesDefaults.rulesColor
|
|
110
|
-
const rulesConfigArray =
|
|
111
|
-
axesAndRulesProps.rulesConfigArray ?? AxesAndRulesDefaults.rulesConfigArray
|
|
112
|
-
const showYAxisIndices = axesAndRulesProps.showYAxisIndices ?? false
|
|
113
|
-
const yAxisIndicesHeight =
|
|
114
|
-
axesAndRulesProps.yAxisIndicesHeight ??
|
|
115
|
-
AxesAndRulesDefaults.yAxisIndicesHeight
|
|
116
|
-
const yAxisIndicesWidth =
|
|
117
|
-
axesAndRulesProps.yAxisIndicesWidth ??
|
|
118
|
-
AxesAndRulesDefaults.yAxisIndicesWidth
|
|
119
|
-
const yAxisIndicesColor =
|
|
120
|
-
axesAndRulesProps.yAxisIndicesColor ??
|
|
121
|
-
AxesAndRulesDefaults.yAxisIndicesColor
|
|
122
|
-
const hideYAxisText =
|
|
123
|
-
axesAndRulesProps.hideYAxisText ?? AxesAndRulesDefaults.hideYAxisText
|
|
124
|
-
const yAxisTextNumberOfLines =
|
|
125
|
-
axesAndRulesProps.yAxisTextNumberOfLines ??
|
|
126
|
-
AxesAndRulesDefaults.yAxisTextNumberOfLines
|
|
127
|
-
const yAxisLabelPrefix = axesAndRulesProps.yAxisLabelPrefix ?? ''
|
|
128
|
-
const yAxisLabelSuffix = axesAndRulesProps.yAxisLabelSuffix ?? ''
|
|
129
|
-
const yAxisTextStyle = axesAndRulesProps.yAxisTextStyle
|
|
130
|
-
const secondaryYAxis = axesAndRulesProps.secondaryYAxis
|
|
131
|
-
const stepValue = axesAndRulesProps.stepValue
|
|
132
|
-
const negativeStepValue = axesAndRulesProps.negativeStepValue
|
|
133
|
-
const roundToDigits = axesAndRulesProps.roundToDigits
|
|
134
|
-
|
|
135
|
-
const referenceLinesConfig = axesAndRulesProps.referenceLinesConfig
|
|
136
|
-
const referenceLinesOverChartContent =
|
|
137
|
-
referenceLinesConfig.referenceLinesOverChartContent ??
|
|
138
|
-
AxesAndRulesDefaults.referenceLinesOverChartContent
|
|
139
|
-
|
|
140
|
-
const showVerticalLines =
|
|
141
|
-
axesAndRulesProps.showVerticalLines ??
|
|
142
|
-
AxesAndRulesDefaults.showVerticalLines
|
|
143
|
-
const verticalLinesThickness =
|
|
144
|
-
axesAndRulesProps.verticalLinesThickness ??
|
|
145
|
-
AxesAndRulesDefaults.verticalLinesThickness
|
|
146
|
-
const verticalLinesHeight = axesAndRulesProps.verticalLinesHeight
|
|
147
|
-
const verticalLinesColor =
|
|
148
|
-
axesAndRulesProps.verticalLinesColor ??
|
|
149
|
-
AxesAndRulesDefaults.verticalLinesColor
|
|
150
|
-
const verticalLinesStrokeDashArray =
|
|
151
|
-
axesAndRulesProps.verticalLinesStrokeDashArray ??
|
|
152
|
-
AxesAndRulesDefaults.verticalLinesStrokeDashArray
|
|
153
|
-
const verticalLinesShift =
|
|
154
|
-
axesAndRulesProps.verticalLinesShift ??
|
|
155
|
-
AxesAndRulesDefaults.verticalLinesShift
|
|
156
|
-
const verticalLinesZIndex =
|
|
157
|
-
axesAndRulesProps.verticalLinesZIndex ??
|
|
158
|
-
AxesAndRulesDefaults.verticalLinesZIndex
|
|
159
|
-
const verticalLinesSpacing =
|
|
160
|
-
axesAndRulesProps.verticalLinesSpacing ??
|
|
161
|
-
AxesAndRulesDefaults.verticalLinesSpacing
|
|
162
|
-
const verticalLinesUptoDataPoint =
|
|
163
|
-
axesAndRulesProps.verticalLinesUptoDataPoint ??
|
|
164
|
-
AxesAndRulesDefaults.verticalLinesUptoDataPoint
|
|
165
|
-
const verticalLinesStrokeLinecap =
|
|
166
|
-
axesAndRulesProps.verticalLinesStrokeLinecap ??
|
|
167
|
-
AxesAndRulesDefaults.verticalLinesStrokeLinecap
|
|
168
|
-
const noOfVerticalLines = axesAndRulesProps.noOfVerticalLines
|
|
169
|
-
const secondaryXAxis = axesAndRulesProps.secondaryXAxis
|
|
170
|
-
|
|
171
|
-
const verticalLinesAr = noOfVerticalLines
|
|
172
|
-
? [...Array(noOfVerticalLines).keys()]
|
|
173
|
-
: [...Array(stackData ? stackData.length : data.length).keys()]
|
|
174
|
-
|
|
175
|
-
const horizSectionProps: horizSectionPropTypes = {
|
|
176
|
-
chartType,
|
|
177
|
-
width,
|
|
178
|
-
horizSections,
|
|
179
|
-
noOfSectionsBelowXAxis,
|
|
180
|
-
totalWidth,
|
|
181
|
-
endSpacing,
|
|
182
|
-
yAxisSide,
|
|
183
|
-
horizontalRulesStyle,
|
|
184
|
-
noOfSections,
|
|
185
|
-
sectionColors,
|
|
186
|
-
stepHeight,
|
|
187
|
-
negativeStepHeight,
|
|
188
|
-
yAxisLabelWidth,
|
|
189
|
-
yAxisLabelContainerStyle,
|
|
190
|
-
yAxisThickness,
|
|
191
|
-
yAxisColor,
|
|
192
|
-
yAxisExtraHeight,
|
|
193
|
-
trimYAxisAtTop,
|
|
194
|
-
xAxisThickness,
|
|
195
|
-
xAxisColor,
|
|
196
|
-
xAxisLength,
|
|
197
|
-
xAxisType,
|
|
198
|
-
dashWidth,
|
|
199
|
-
dashGap,
|
|
200
|
-
backgroundColor,
|
|
201
|
-
hideRules,
|
|
202
|
-
rulesLength,
|
|
203
|
-
rulesType,
|
|
204
|
-
rulesThickness,
|
|
205
|
-
rulesColor,
|
|
206
|
-
rulesConfigArray,
|
|
207
|
-
spacing,
|
|
208
|
-
showYAxisIndices,
|
|
209
|
-
yAxisIndicesHeight,
|
|
210
|
-
yAxisIndicesWidth,
|
|
211
|
-
yAxisIndicesColor,
|
|
212
|
-
|
|
213
|
-
hideOrigin,
|
|
214
|
-
hideYAxisText,
|
|
215
|
-
showFractionalValues,
|
|
216
|
-
yAxisTextNumberOfLines,
|
|
217
|
-
yAxisLabelPrefix,
|
|
218
|
-
yAxisLabelSuffix,
|
|
219
|
-
yAxisTextStyle,
|
|
220
|
-
rotateYAxisTexts,
|
|
221
|
-
rtl,
|
|
222
|
-
|
|
223
|
-
containerHeight,
|
|
224
|
-
overflowTop,
|
|
225
|
-
maxValue,
|
|
226
|
-
|
|
227
|
-
referenceLinesConfig,
|
|
228
|
-
|
|
229
|
-
yAxisLabelTexts,
|
|
230
|
-
yAxisOffset,
|
|
231
|
-
|
|
232
|
-
horizontal,
|
|
233
|
-
yAxisAtTop,
|
|
234
|
-
|
|
235
|
-
stepValue,
|
|
236
|
-
negativeStepValue,
|
|
237
|
-
roundToDigits,
|
|
238
|
-
|
|
239
|
-
secondaryData,
|
|
240
|
-
secondaryYAxis,
|
|
241
|
-
formatYLabel: axesAndRulesProps.formatYLabel,
|
|
242
|
-
secondaryXAxis
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
const lineInBarChartProps: LineInBarChartPropsType = {
|
|
246
|
-
yAxisLabelWidth,
|
|
247
|
-
initialSpacing,
|
|
248
|
-
spacing,
|
|
249
|
-
containerHeight,
|
|
250
|
-
lineConfig,
|
|
251
|
-
maxValue: secondaryYAxis?.maxValue ?? maxValue,
|
|
252
|
-
animatedWidth,
|
|
253
|
-
lineBehindBars,
|
|
254
|
-
points,
|
|
255
|
-
arrowPoints,
|
|
256
|
-
data: lineData?.length ? lineData : stackData ?? data,
|
|
257
|
-
totalWidth,
|
|
258
|
-
barWidth,
|
|
259
|
-
labelsExtraHeight,
|
|
260
|
-
scrollEventThrottle,
|
|
261
|
-
xAxisLabelsVerticalShift,
|
|
262
|
-
selectedIndex
|
|
263
|
-
}
|
|
264
|
-
const lineInBarChartProps2: LineInBarChartPropsType = {
|
|
265
|
-
...lineInBarChartProps,
|
|
266
|
-
lineConfig: lineConfig2,
|
|
267
|
-
points: points2,
|
|
268
|
-
data: lineData2 ?? []
|
|
269
|
-
}
|
|
270
|
-
const extendedContainerHeight = containerHeight + overflowTop + 10
|
|
271
|
-
const containerHeightIncludingBelowXAxis =
|
|
272
|
-
extendedContainerHeight + noOfSectionsBelowXAxis * stepHeight
|
|
273
|
-
const verticalLinesProps = {
|
|
274
|
-
verticalLinesAr,
|
|
275
|
-
verticalLinesSpacing,
|
|
276
|
-
spacing: lineConfig?.spacing ?? spacing,
|
|
277
|
-
initialSpacing,
|
|
278
|
-
verticalLinesZIndex,
|
|
279
|
-
verticalLinesHeight,
|
|
280
|
-
verticalLinesThickness,
|
|
281
|
-
verticalLinesColor,
|
|
282
|
-
verticalLinesStrokeDashArray,
|
|
283
|
-
verticalLinesShift,
|
|
284
|
-
verticalLinesUptoDataPoint,
|
|
285
|
-
verticalLinesStrokeLinecap,
|
|
286
|
-
xAxisThickness,
|
|
287
|
-
labelsExtraHeight,
|
|
288
|
-
containerHeight,
|
|
289
|
-
data,
|
|
290
|
-
stackData,
|
|
291
|
-
barWidth,
|
|
292
|
-
maxValue,
|
|
293
|
-
chartType,
|
|
294
|
-
containerHeightIncludingBelowXAxis,
|
|
295
|
-
yAxisLabelWidth,
|
|
296
|
-
totalWidth,
|
|
297
|
-
xAxisLabelsVerticalShift
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
const actualContainerHeight =
|
|
301
|
-
containerHeightIncludingBelowXAxis + labelsExtraHeight - 10
|
|
302
|
-
const actualContainerWidth = (width ?? totalWidth) + yAxisLabelWidth
|
|
303
|
-
|
|
304
|
-
/*******************************************************************************************************************************************/
|
|
305
|
-
/** ************* horizontal chart related calculations *******************/
|
|
306
|
-
/*******************************************************************************************************************************************/
|
|
307
|
-
|
|
308
|
-
const containerHeightIncludingXaxisLabels =
|
|
309
|
-
actualContainerHeight + BarDefaults.labelsWidthForHorizontal
|
|
310
|
-
|
|
311
|
-
const difBwWidthHeight =
|
|
312
|
-
actualContainerWidth - containerHeightIncludingXaxisLabels
|
|
313
|
-
|
|
314
|
-
const transformForHorizontal = [
|
|
315
|
-
{ rotate: rtl ? '-90deg' : '90deg' },
|
|
316
|
-
{
|
|
317
|
-
translateY:
|
|
318
|
-
-shiftX + (rtl ? -difBwWidthHeight + 14 : difBwWidthHeight) / 2 - 20
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
translateX:
|
|
322
|
-
shiftY +
|
|
323
|
-
(rtl
|
|
324
|
-
? (props.width ? -98 - endSpacing : -75 - endSpacing) -
|
|
325
|
-
difBwWidthHeight
|
|
326
|
-
: props.width
|
|
327
|
-
? difBwWidthHeight
|
|
328
|
-
: difBwWidthHeight - 40) /
|
|
329
|
-
2 +
|
|
330
|
-
(yAxisAtTop ? (rtl ? (props.width ? 12 : 40) : 12) : 52)
|
|
331
|
-
}
|
|
332
|
-
]
|
|
333
|
-
|
|
334
|
-
const transformForHorizontalForReactJS = `rotate(${rtl ? '-90deg' : '90deg'})
|
|
335
|
-
translateY(${
|
|
336
|
-
-shiftX + (rtl ? -difBwWidthHeight + 14 : difBwWidthHeight) / 2 - 20
|
|
337
|
-
})
|
|
338
|
-
translateX(${
|
|
339
|
-
shiftY +
|
|
340
|
-
(rtl
|
|
341
|
-
? (props.width ? -98 - endSpacing : -75 - endSpacing) - difBwWidthHeight
|
|
342
|
-
: props.width
|
|
343
|
-
? difBwWidthHeight
|
|
344
|
-
: difBwWidthHeight - 40) /
|
|
345
|
-
2 +
|
|
346
|
-
(yAxisAtTop ? (rtl ? (props.width ? 12 : 40) : 12) : 52)
|
|
347
|
-
})`
|
|
348
|
-
|
|
349
|
-
const [canMomentum, setCanMomentum] = useState(false)
|
|
350
|
-
|
|
351
|
-
const isCloseToEnd = ({
|
|
352
|
-
layoutMeasurement,
|
|
353
|
-
contentOffset,
|
|
354
|
-
contentSize
|
|
355
|
-
}: NativeScrollEvent): boolean => {
|
|
356
|
-
return isRTL
|
|
357
|
-
? contentOffset.x <= initialSpacing
|
|
358
|
-
: layoutMeasurement.width + contentOffset.x >=
|
|
359
|
-
contentSize.width - initialSpacing - endReachedOffset
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
// const isCloseToStart = ({ layoutMeasurement, contentOffset }) => {
|
|
363
|
-
// return layoutMeasurement.width + contentOffset.x <= initialSpacing;
|
|
364
|
-
// };
|
|
365
|
-
|
|
366
|
-
const isCloseToStart = ({
|
|
367
|
-
layoutMeasurement,
|
|
368
|
-
contentOffset,
|
|
369
|
-
contentSize
|
|
370
|
-
}: NativeScrollEvent): boolean => {
|
|
371
|
-
return isRTL
|
|
372
|
-
? layoutMeasurement.width + contentOffset.x >=
|
|
373
|
-
contentSize.width - initialSpacing - endReachedOffset
|
|
374
|
-
: contentOffset.x <= initialSpacing
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
useEffect(() => {
|
|
378
|
-
if (pointerConfig && getPointerProps) {
|
|
379
|
-
getPointerProps({ pointerIndex, pointerX, pointerY })
|
|
380
|
-
}
|
|
381
|
-
}, [pointerIndex, pointerX, pointerY])
|
|
382
|
-
|
|
383
|
-
return {
|
|
384
|
-
containerHeightIncludingBelowXAxis,
|
|
385
|
-
xAxisLabelsVerticalShift,
|
|
386
|
-
trimYAxisAtTop,
|
|
387
|
-
yAxisExtraHeight,
|
|
388
|
-
overflowTop,
|
|
389
|
-
xAxisLabelsHeight,
|
|
390
|
-
xAxisTextNumberOfLines,
|
|
391
|
-
actualContainerWidth,
|
|
392
|
-
transformForHorizontal,
|
|
393
|
-
transformForHorizontalForReactJS,
|
|
394
|
-
horizSectionProps,
|
|
395
|
-
referenceLinesOverChartContent,
|
|
396
|
-
setCanMomentum,
|
|
397
|
-
isCloseToStart,
|
|
398
|
-
isCloseToEnd,
|
|
399
|
-
canMomentum,
|
|
400
|
-
yAxisAtTop,
|
|
401
|
-
yAxisThickness,
|
|
402
|
-
yAxisSide,
|
|
403
|
-
showVerticalLines,
|
|
404
|
-
verticalLinesProps,
|
|
405
|
-
lineInBarChartProps,
|
|
406
|
-
lineInBarChartProps2
|
|
407
|
-
}
|
|
408
|
-
}
|
|
@@ -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,KAAK,+BAduB,EAC9B,QAAQ,GAaN,KAAK,SAbC,EACR,iBAAiB,GAYf,KAAK,kBAZU,EACjB,2BAA2B,GAWzB,KAAK,4BAXoB,EAC3B,eAAe,GAUb,KAAK,gBAVQ,EACf,aAAa,GASX,KAAK,cATM,EACb,YAAY,GAQV,KAAK,aARK,EACZ,kB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GAAG,CAAC,CAAC,GAAG,EAAE,GAAG,kBAAkB,CAAC;gBACvE,CAAC;gBAED,IAAI,8BAA8B,EAAE,CAAC;oBACnC,IAAI,kBAAkB,GAAG,aAAa,GAAG,EAAE,EAAE,CAAC;wBAC5C,GAAG,GAAG,EAAE,CAAC;oBACX,CAAC;yBAAM,CAAC;wBACN,GAAG,GAAG,CAAC,kBAAkB,CAAC;oBAC5B,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,GAAG;wBACD,CAAC,yBAAyB;4BACxB,CAAC,CAAC,aAAa,IAAI,kBAAkB,GAAG,CAAC;4BACzC,CAAC,CAAC,CAAC,aAAa,GAAG,CAAC,CAAC;4BACvB,iBAAiB,GAAG,CAAC;4BACrB,kBAAkB,CAAC;gBACvB,CAAC;gBAED,OAAO;oBACL,GAAG,KAAA;oBACH,IAAI,MAAA;iBACL,CAAC;YACJ,CAAC,EAAC;QACF,CAAC"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { type StripAndLabelProps } from './types'
|
|
2
|
-
|
|
3
|
-
interface IgetTopAndLeftForStripAndLabel {
|
|
4
|
-
top: number
|
|
5
|
-
left: number
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export const getTopAndLeftForStripAndLabel = (
|
|
9
|
-
props: StripAndLabelProps
|
|
10
|
-
): IgetTopAndLeftForStripAndLabel => {
|
|
11
|
-
const {
|
|
12
|
-
autoAdjustPointerLabelPosition,
|
|
13
|
-
pointerX,
|
|
14
|
-
pointerLabelWidth,
|
|
15
|
-
activatePointersOnLongPress,
|
|
16
|
-
yAxisLabelWidth,
|
|
17
|
-
pointerRadius,
|
|
18
|
-
pointerWidth,
|
|
19
|
-
shiftPointerLabelX,
|
|
20
|
-
pointerLabelHeight,
|
|
21
|
-
pointerYLocal,
|
|
22
|
-
pointerStripUptoDataPoint,
|
|
23
|
-
pointerStripHeight,
|
|
24
|
-
shiftPointerLabelY,
|
|
25
|
-
scrollX,
|
|
26
|
-
width,
|
|
27
|
-
screenWidth
|
|
28
|
-
} = props
|
|
29
|
-
let left = 0
|
|
30
|
-
let top = 0
|
|
31
|
-
if (autoAdjustPointerLabelPosition) {
|
|
32
|
-
if (pointerX < pointerLabelWidth / 2) {
|
|
33
|
-
left = 7
|
|
34
|
-
} else if (
|
|
35
|
-
activatePointersOnLongPress &&
|
|
36
|
-
pointerX - scrollX < pointerLabelWidth / 2 - 10
|
|
37
|
-
) {
|
|
38
|
-
left = 7
|
|
39
|
-
} else {
|
|
40
|
-
if (
|
|
41
|
-
!activatePointersOnLongPress &&
|
|
42
|
-
pointerX >
|
|
43
|
-
(width || screenWidth - yAxisLabelWidth - 15) - pointerLabelWidth / 2
|
|
44
|
-
) {
|
|
45
|
-
left = -pointerLabelWidth - 4
|
|
46
|
-
} else if (
|
|
47
|
-
activatePointersOnLongPress &&
|
|
48
|
-
pointerX - scrollX >
|
|
49
|
-
((width ?? 0) + 10 || screenWidth - yAxisLabelWidth - 15) -
|
|
50
|
-
pointerLabelWidth / 2
|
|
51
|
-
) {
|
|
52
|
-
left = -pointerLabelWidth - 4
|
|
53
|
-
} else {
|
|
54
|
-
left = -pointerLabelWidth / 2 + 5
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
} else {
|
|
58
|
-
left = (pointerRadius || pointerWidth / 2) - 10 + shiftPointerLabelX
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
if (autoAdjustPointerLabelPosition) {
|
|
62
|
-
if (pointerLabelHeight - pointerYLocal > 10) {
|
|
63
|
-
top = 10
|
|
64
|
-
} else {
|
|
65
|
-
top = -pointerLabelHeight
|
|
66
|
-
}
|
|
67
|
-
} else {
|
|
68
|
-
top =
|
|
69
|
-
(pointerStripUptoDataPoint
|
|
70
|
-
? pointerRadius || pointerStripHeight / 2
|
|
71
|
-
: -pointerYLocal + 8) -
|
|
72
|
-
pointerLabelWidth / 2 +
|
|
73
|
-
shiftPointerLabelY
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
return {
|
|
77
|
-
top,
|
|
78
|
-
left
|
|
79
|
-
}
|
|
80
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { type ColorValue, type PointerEvent } from 'react-native'
|
|
2
|
-
import { type Pointer } from '../../utils/types'
|
|
3
|
-
import { type barDataItem, type stackDataItem } from '../../BarChart/types'
|
|
4
|
-
|
|
5
|
-
export interface StripAndLabelProps {
|
|
6
|
-
autoAdjustPointerLabelPosition: boolean
|
|
7
|
-
pointerX: number
|
|
8
|
-
pointerLabelWidth: number
|
|
9
|
-
activatePointersOnLongPress: boolean
|
|
10
|
-
yAxisLabelWidth: number
|
|
11
|
-
pointerRadius: number
|
|
12
|
-
pointerWidth: number
|
|
13
|
-
shiftPointerLabelX: number
|
|
14
|
-
pointerLabelHeight: number
|
|
15
|
-
pointerYLocal: number
|
|
16
|
-
pointerStripUptoDataPoint: boolean
|
|
17
|
-
pointerStripHeight: number
|
|
18
|
-
shiftPointerLabelY: number
|
|
19
|
-
pointerItemLocal: barDataItem | stackDataItem
|
|
20
|
-
showPointerStrip: boolean
|
|
21
|
-
pointerStripWidth: number
|
|
22
|
-
containerHeight: number
|
|
23
|
-
xAxisThickness: number
|
|
24
|
-
pointerStripColor: ColorValue
|
|
25
|
-
pointerConfig: Pointer
|
|
26
|
-
pointerLabelComponent: Function
|
|
27
|
-
secondaryPointerItem: barDataItem | stackDataItem
|
|
28
|
-
scrollX: number
|
|
29
|
-
pointerEvents: PointerEvent
|
|
30
|
-
width: number
|
|
31
|
-
screenWidth: number
|
|
32
|
-
}
|
package/src/index.ts
DELETED
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
/***********************************************************************************************************************
|
|
2
|
-
/***************************************** Bar Chart *****************************************
|
|
3
|
-
/***********************************************************************************************************************/
|
|
4
|
-
|
|
5
|
-
export { useBarChart } from './BarChart'
|
|
6
|
-
export { getPropsForAnimated2DWithGradient } from './BarChart/Animated2DWithGradient'
|
|
7
|
-
export { useRenderStackBars } from './BarChart/RenderStackBars'
|
|
8
|
-
export {
|
|
9
|
-
type stackDataItem,
|
|
10
|
-
type StackedBarChartPropsType,
|
|
11
|
-
type BarChartPropsType,
|
|
12
|
-
type defaultLineConfigType,
|
|
13
|
-
type barDataItem,
|
|
14
|
-
type Animated2DWithGradientPropsType,
|
|
15
|
-
type RenderBarsPropsType,
|
|
16
|
-
type trianglePropTypes,
|
|
17
|
-
type animatedBarPropTypes,
|
|
18
|
-
type FocusedBarConfig,
|
|
19
|
-
type CommonPropsFor2Dand3DbarsType
|
|
20
|
-
} from './BarChart/types'
|
|
21
|
-
|
|
22
|
-
/************************************************************************************************************************
|
|
23
|
-
/***************************************** Line Chart *****************************************
|
|
24
|
-
/************************************************************************************************************************/
|
|
25
|
-
|
|
26
|
-
export { useLineChart } from './LineChart'
|
|
27
|
-
export { useLineChartBiColor } from './LineChart/LineChartBiColor'
|
|
28
|
-
export {
|
|
29
|
-
type LineChartPropsType,
|
|
30
|
-
type lineDataItem,
|
|
31
|
-
type bicolorLineDataItem,
|
|
32
|
-
type LineChartBicolorPropsType
|
|
33
|
-
} from './LineChart/types'
|
|
34
|
-
|
|
35
|
-
/***********************************************************************************************************************
|
|
36
|
-
/***************************************** Pie Chart *****************************************
|
|
37
|
-
/***********************************************************************************************************************/
|
|
38
|
-
|
|
39
|
-
export { usePieChart } from './PieChart'
|
|
40
|
-
export { usePiePro } from './PieChart/pro'
|
|
41
|
-
export { getPieChartMainProps } from './PieChart/main'
|
|
42
|
-
export {
|
|
43
|
-
type PieChartPropsType,
|
|
44
|
-
type pieDataItem,
|
|
45
|
-
type PieChartMainProps
|
|
46
|
-
} from './PieChart/types'
|
|
47
|
-
|
|
48
|
-
/***********************************************************************************************************************
|
|
49
|
-
/************************************ Population Pyramid Chart ************************************
|
|
50
|
-
/***********************************************************************************************************************/
|
|
51
|
-
|
|
52
|
-
export { usePopulationPyramid } from './PopulationPyramid'
|
|
53
|
-
export {
|
|
54
|
-
type popnPyramidDataItem,
|
|
55
|
-
type popnPyramidDataItemReactJS,
|
|
56
|
-
type RulesProps,
|
|
57
|
-
type RulesPropsReactJS,
|
|
58
|
-
type RulesPropsType,
|
|
59
|
-
type PopulationPyramidPropsType,
|
|
60
|
-
type PopulationPyramidPropsTypeReactJS,
|
|
61
|
-
type TPopulationPyramidPropsType,
|
|
62
|
-
type extendedPopulationPyramidPropsType
|
|
63
|
-
} from './PopulationPyramid/types'
|
|
64
|
-
|
|
65
|
-
/***********************************************************************************************************************
|
|
66
|
-
/************************************ Common Components ************************************
|
|
67
|
-
/***********************************************************************************************************************/
|
|
68
|
-
|
|
69
|
-
export { useAnimatedThreeDBar } from './components/AnimatedThreeDBar'
|
|
70
|
-
export { getHorizSectionVals } from './components/BarAndLineChartsWrapper/getHorizSectionsVals'
|
|
71
|
-
export { useBarAndLineChartsWrapper } from './components/BarAndLineChartsWrapper'
|
|
72
|
-
export { getTopAndLeftForStripAndLabel } from './components/common/StripAndLabel'
|
|
73
|
-
|
|
74
|
-
/***********************************************************************************************************************
|
|
75
|
-
/********************************* common utils, constants and types ********************************
|
|
76
|
-
/***********************************************************************************************************************/
|
|
77
|
-
|
|
78
|
-
export {
|
|
79
|
-
getCumulativeWidth,
|
|
80
|
-
getLighterColor,
|
|
81
|
-
svgQuadraticCurvePath,
|
|
82
|
-
svgPath,
|
|
83
|
-
bezierCommand,
|
|
84
|
-
getSegmentString,
|
|
85
|
-
getCurvePathWithSegments,
|
|
86
|
-
getPreviousSegmentsLastPoint,
|
|
87
|
-
getPathWithHighlight,
|
|
88
|
-
getRegionPathObjects,
|
|
89
|
-
getSegmentedPathObjects,
|
|
90
|
-
getArrowPoints,
|
|
91
|
-
getAxesAndRulesProps,
|
|
92
|
-
getExtendedContainerHeightWithPadding,
|
|
93
|
-
getSecondaryDataWithOffsetIncluded,
|
|
94
|
-
getArrowProperty,
|
|
95
|
-
getAllArrowProperties,
|
|
96
|
-
maxAndMinUtil,
|
|
97
|
-
computeMaxAndMinItems,
|
|
98
|
-
getLabelTextUtil,
|
|
99
|
-
getXForLineInBar,
|
|
100
|
-
getYForLineInBar,
|
|
101
|
-
clone,
|
|
102
|
-
getLineConfigForBarChart,
|
|
103
|
-
adjustToOffset
|
|
104
|
-
} from './utils'
|
|
105
|
-
|
|
106
|
-
export {
|
|
107
|
-
chartTypes,
|
|
108
|
-
yAxisSides,
|
|
109
|
-
loc,
|
|
110
|
-
SEGMENT_START,
|
|
111
|
-
SEGMENT_END,
|
|
112
|
-
RANGE_ENTER,
|
|
113
|
-
RANGE_EXIT,
|
|
114
|
-
STOP,
|
|
115
|
-
ruleTypes,
|
|
116
|
-
AxesAndRulesDefaults,
|
|
117
|
-
defaultArrowConfig,
|
|
118
|
-
BarDefaults,
|
|
119
|
-
defaultLineConfig,
|
|
120
|
-
LineDefaults,
|
|
121
|
-
defaultPointerConfig,
|
|
122
|
-
pieColors,
|
|
123
|
-
populationDefaults,
|
|
124
|
-
defaultAnimationDuration
|
|
125
|
-
} from './utils/constants'
|
|
126
|
-
|
|
127
|
-
export {
|
|
128
|
-
type RuleType,
|
|
129
|
-
type RuleTypes,
|
|
130
|
-
type RulesConfig,
|
|
131
|
-
CurveType,
|
|
132
|
-
EdgePosition,
|
|
133
|
-
type LabelsPosition,
|
|
134
|
-
type PointerEvents,
|
|
135
|
-
type secondaryYAxisType,
|
|
136
|
-
type secondaryLineConfigType,
|
|
137
|
-
type referenceConfigType,
|
|
138
|
-
type arrowConfigType,
|
|
139
|
-
type horizSectionPropTypes,
|
|
140
|
-
type HorizSectionsType,
|
|
141
|
-
type BarAndLineChartsWrapperTypes,
|
|
142
|
-
type Pointer,
|
|
143
|
-
type HighlightedRange,
|
|
144
|
-
type LineSegment,
|
|
145
|
-
type LineSvgProps,
|
|
146
|
-
type LineProperties,
|
|
147
|
-
type DataSet,
|
|
148
|
-
Framework,
|
|
149
|
-
type XAxisConfig,
|
|
150
|
-
type LineInBarChartPropsType,
|
|
151
|
-
type DataPointProps,
|
|
152
|
-
type Linecap
|
|
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