gifted-charts-core 0.0.25 → 0.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -1
- package/src/BarChart/Animated2DWithGradient.d.ts +24 -0
- package/src/BarChart/Animated2DWithGradient.js +108 -0
- package/src/BarChart/RenderStackBars.d.ts +27 -0
- package/src/BarChart/RenderStackBars.js +99 -0
- package/src/BarChart/index.d.ts +175 -0
- package/src/BarChart/index.js +611 -0
- package/src/BarChart/types.d.ts +570 -0
- package/src/BarChart/types.js +1 -0
- package/src/LineChart/LineChartBiColor.d.ts +104 -0
- package/src/LineChart/LineChartBiColor.js +520 -0
- package/src/LineChart/index.d.ts +383 -0
- package/src/LineChart/index.js +1397 -0
- package/src/LineChart/index.ts +4 -3
- package/src/LineChart/types.d.ts +531 -0
- package/src/LineChart/types.js +1 -0
- package/src/PieChart/index.d.ts +33 -0
- package/src/PieChart/index.js +119 -0
- package/src/PieChart/main.d.ts +49 -0
- package/src/PieChart/main.js +185 -0
- package/src/PieChart/types.d.ts +85 -0
- package/src/PieChart/types.js +1 -0
- package/src/PopulationPyramid/index.d.ts +137 -0
- package/src/PopulationPyramid/index.js +233 -0
- package/src/PopulationPyramid/index.ts +3 -3
- package/src/PopulationPyramid/types.d.ts +235 -0
- package/src/PopulationPyramid/types.js +1 -0
- package/src/PopulationPyramid/types.ts +4 -0
- package/src/components/AnimatedThreeDBar/index.d.ts +12 -0
- package/src/components/AnimatedThreeDBar/index.js +53 -0
- package/src/components/BarAndLineChartsWrapper/getHorizSectionsVals.d.ts +20 -0
- package/src/components/BarAndLineChartsWrapper/getHorizSectionsVals.js +217 -0
- package/src/components/BarAndLineChartsWrapper/index.d.ts +97 -0
- package/src/components/BarAndLineChartsWrapper/index.js +266 -0
- package/src/components/BarAndLineChartsWrapper/index.ts +5 -4
- package/src/components/common/StripAndLabel.d.ts +7 -0
- package/src/components/common/StripAndLabel.js +53 -0
- package/src/components/common/StripAndLabel.ts +2 -2
- package/src/components/common/types.d.ts +31 -0
- package/src/components/common/types.js +1 -0
- package/src/components/common/types.ts +1 -0
- package/src/index.d.ts +37 -0
- package/src/index.js +32 -0
- package/src/index.ts +146 -0
- package/src/utils/constants.d.ts +248 -0
- package/src/utils/constants.js +299 -0
- package/src/utils/constants.ts +0 -4
- package/src/utils/index.d.ts +89 -0
- package/src/utils/index.js +1008 -0
- package/src/utils/types.d.ts +337 -0
- package/src/utils/types.js +16 -0
- package/src/utils/types.ts +1 -0
- package/index.ts +0 -141
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
import { type ColorValue } from 'react-native';
|
|
2
|
+
import { type chartTypes, type yAxisSides } from './constants';
|
|
3
|
+
import { type lineDataItem } from '../LineChart/types';
|
|
4
|
+
import { type barDataItem, type stackDataItem } from '../BarChart/types';
|
|
5
|
+
export declare enum Framework {
|
|
6
|
+
reactJS = 0,
|
|
7
|
+
reactNative = 1
|
|
8
|
+
}
|
|
9
|
+
export type RuleType = 'solid' | 'dashed' | 'dotted' | string;
|
|
10
|
+
export interface RuleTypes {
|
|
11
|
+
SOLID: RuleType;
|
|
12
|
+
DASHED: RuleType;
|
|
13
|
+
DOTTED: RuleType;
|
|
14
|
+
}
|
|
15
|
+
export declare enum CurveType {
|
|
16
|
+
CUBIC = 0,
|
|
17
|
+
QUADRATIC = 1
|
|
18
|
+
}
|
|
19
|
+
export declare enum EdgePosition {
|
|
20
|
+
AFTER_DATA_POINT = 0,
|
|
21
|
+
AROUND_DATA_POINT = 1,
|
|
22
|
+
BEFORE_DATA_POINT = 2
|
|
23
|
+
}
|
|
24
|
+
export interface RulesConfig {
|
|
25
|
+
rulesLength?: number;
|
|
26
|
+
rulesColor?: ColorValue;
|
|
27
|
+
rulesThickness?: number;
|
|
28
|
+
rulesType?: RuleType;
|
|
29
|
+
dashWidth?: number;
|
|
30
|
+
dashGap?: number;
|
|
31
|
+
}
|
|
32
|
+
export type PointerEvents = 'box-none' | 'none' | 'box-only' | 'auto';
|
|
33
|
+
export interface secondaryYAxisType {
|
|
34
|
+
noOfSections?: number;
|
|
35
|
+
maxValue?: number;
|
|
36
|
+
mostNegativeValue?: number;
|
|
37
|
+
stepValue?: number;
|
|
38
|
+
stepHeight?: number;
|
|
39
|
+
showFractionalValues?: boolean;
|
|
40
|
+
roundToDigits?: number;
|
|
41
|
+
noOfSectionsBelowXAxis?: number;
|
|
42
|
+
showYAxisIndices?: boolean;
|
|
43
|
+
yAxisIndicesHeight?: number;
|
|
44
|
+
yAxisIndicesWidth?: number;
|
|
45
|
+
yAxisIndicesColor?: ColorValue;
|
|
46
|
+
yAxisSide?: yAxisSides;
|
|
47
|
+
yAxisOffset?: number;
|
|
48
|
+
yAxisThickness?: number;
|
|
49
|
+
yAxisColor?: ColorValue;
|
|
50
|
+
yAxisLabelContainerStyle?: any;
|
|
51
|
+
yAxisLabelTexts?: string[] | undefined;
|
|
52
|
+
yAxisTextStyle?: any;
|
|
53
|
+
yAxisTextNumberOfLines?: number;
|
|
54
|
+
yAxisLabelWidth?: number;
|
|
55
|
+
hideYAxisText?: boolean;
|
|
56
|
+
yAxisLabelPrefix?: string;
|
|
57
|
+
yAxisLabelSuffix?: string;
|
|
58
|
+
hideOrigin?: boolean;
|
|
59
|
+
formatYLabel?: (label: string) => string;
|
|
60
|
+
}
|
|
61
|
+
export interface secondaryLineConfigType {
|
|
62
|
+
zIndex?: number;
|
|
63
|
+
curved?: boolean;
|
|
64
|
+
curvature?: number;
|
|
65
|
+
curveType?: CurveType;
|
|
66
|
+
areaChart?: boolean;
|
|
67
|
+
color?: ColorValue;
|
|
68
|
+
thickness?: number;
|
|
69
|
+
zIndex1?: number;
|
|
70
|
+
strokeDashArray?: number[];
|
|
71
|
+
startIndex?: number;
|
|
72
|
+
endIndex?: number;
|
|
73
|
+
hideDataPoints?: boolean;
|
|
74
|
+
dataPointsHeight?: number;
|
|
75
|
+
dataPointsWidth?: number;
|
|
76
|
+
dataPointsRadius?: number;
|
|
77
|
+
dataPointsColor?: string;
|
|
78
|
+
dataPointsShape?: string;
|
|
79
|
+
showValuesAsDataPointsText?: boolean;
|
|
80
|
+
startFillColor?: string;
|
|
81
|
+
endFillColor?: string;
|
|
82
|
+
startOpacity?: number;
|
|
83
|
+
endOpacity?: number;
|
|
84
|
+
textFontSize?: number;
|
|
85
|
+
textColor?: string;
|
|
86
|
+
showArrow?: boolean;
|
|
87
|
+
arrowConfig?: arrowConfigType;
|
|
88
|
+
isSecondary?: boolean;
|
|
89
|
+
}
|
|
90
|
+
export interface referenceConfigType {
|
|
91
|
+
thickness?: number;
|
|
92
|
+
width?: number;
|
|
93
|
+
color?: ColorValue | string | any;
|
|
94
|
+
type?: string;
|
|
95
|
+
dashWidth?: number;
|
|
96
|
+
dashGap?: number;
|
|
97
|
+
labelText?: string;
|
|
98
|
+
labelTextStyle?: any;
|
|
99
|
+
zIndex?: number;
|
|
100
|
+
}
|
|
101
|
+
export interface arrowConfigType {
|
|
102
|
+
length: number;
|
|
103
|
+
width: number;
|
|
104
|
+
strokeWidth: number;
|
|
105
|
+
strokeColor: string;
|
|
106
|
+
fillColor: string;
|
|
107
|
+
showArrowBase: boolean;
|
|
108
|
+
}
|
|
109
|
+
export interface horizSectionPropTypes {
|
|
110
|
+
width: number | undefined;
|
|
111
|
+
horizSections: any[];
|
|
112
|
+
noOfSectionsBelowXAxis: number;
|
|
113
|
+
totalWidth: number;
|
|
114
|
+
endSpacing: number;
|
|
115
|
+
yAxisSide: yAxisSides;
|
|
116
|
+
horizontalRulesStyle: any;
|
|
117
|
+
noOfSections: number;
|
|
118
|
+
stepHeight: number;
|
|
119
|
+
yAxisLabelWidth: number;
|
|
120
|
+
yAxisLabelContainerStyle: any;
|
|
121
|
+
yAxisThickness: number;
|
|
122
|
+
trimYAxisAtTop: boolean;
|
|
123
|
+
yAxisColor: string;
|
|
124
|
+
yAxisExtraHeight: number;
|
|
125
|
+
xAxisThickness: number;
|
|
126
|
+
xAxisColor: string;
|
|
127
|
+
xAxisLength: number;
|
|
128
|
+
xAxisType: RuleType;
|
|
129
|
+
dashWidth: number;
|
|
130
|
+
dashGap: number;
|
|
131
|
+
rulesConfigArray: RulesConfig[];
|
|
132
|
+
backgroundColor: string;
|
|
133
|
+
hideRules: boolean;
|
|
134
|
+
rulesLength: number;
|
|
135
|
+
rulesType: RuleType;
|
|
136
|
+
rulesThickness: number;
|
|
137
|
+
rulesColor: string;
|
|
138
|
+
spacing: number;
|
|
139
|
+
showYAxisIndices: boolean;
|
|
140
|
+
yAxisIndicesHeight: number;
|
|
141
|
+
yAxisIndicesWidth: number;
|
|
142
|
+
yAxisIndicesColor: string;
|
|
143
|
+
hideOrigin: boolean;
|
|
144
|
+
hideYAxisText: boolean;
|
|
145
|
+
showFractionalValues: boolean;
|
|
146
|
+
yAxisTextNumberOfLines: number;
|
|
147
|
+
yAxisLabelPrefix: string;
|
|
148
|
+
yAxisLabelSuffix: string;
|
|
149
|
+
yAxisTextStyle: any;
|
|
150
|
+
rotateYAxisTexts: number | undefined;
|
|
151
|
+
rtl: boolean;
|
|
152
|
+
containerHeight: number;
|
|
153
|
+
overflowTop: number;
|
|
154
|
+
maxValue: number;
|
|
155
|
+
referenceLinesConfig: any;
|
|
156
|
+
yAxisLabelTexts: string[] | undefined;
|
|
157
|
+
yAxisOffset: number | undefined;
|
|
158
|
+
horizontal: boolean;
|
|
159
|
+
yAxisAtTop: boolean;
|
|
160
|
+
stepValue: number;
|
|
161
|
+
roundToDigits: number | undefined;
|
|
162
|
+
secondaryData: any[] | undefined;
|
|
163
|
+
secondaryYAxis: secondaryYAxisType | null;
|
|
164
|
+
formatYLabel?: (label: string) => string;
|
|
165
|
+
onlyReferenceLines?: boolean;
|
|
166
|
+
renderReferenceLines?: boolean;
|
|
167
|
+
}
|
|
168
|
+
interface HorizSectionObject {
|
|
169
|
+
value: string;
|
|
170
|
+
}
|
|
171
|
+
export type HorizSectionsType = HorizSectionObject[];
|
|
172
|
+
export interface BarAndLineChartsWrapperTypes {
|
|
173
|
+
chartType: chartTypes;
|
|
174
|
+
containerHeight: number;
|
|
175
|
+
noOfSectionsBelowXAxis: number;
|
|
176
|
+
stepHeight: number;
|
|
177
|
+
labelsExtraHeight: number;
|
|
178
|
+
yAxisLabelWidth: number;
|
|
179
|
+
horizontal: boolean;
|
|
180
|
+
rtl: boolean;
|
|
181
|
+
shiftX: number;
|
|
182
|
+
shiftY: number;
|
|
183
|
+
scrollRef?: any;
|
|
184
|
+
yAxisAtTop: boolean;
|
|
185
|
+
initialSpacing: number;
|
|
186
|
+
data: any[];
|
|
187
|
+
stackData: any[] | undefined;
|
|
188
|
+
secondaryData: any[] | undefined;
|
|
189
|
+
barWidth: number | undefined;
|
|
190
|
+
xAxisThickness: number;
|
|
191
|
+
totalWidth: number;
|
|
192
|
+
disableScroll: boolean;
|
|
193
|
+
showScrollIndicator: boolean;
|
|
194
|
+
scrollToEnd: boolean;
|
|
195
|
+
scrollToIndex: number | undefined;
|
|
196
|
+
scrollAnimation: boolean;
|
|
197
|
+
indicatorColor: 'black' | 'default' | 'white' | undefined;
|
|
198
|
+
setSelectedIndex: any;
|
|
199
|
+
spacing: number;
|
|
200
|
+
showLine: boolean;
|
|
201
|
+
lineConfig: any;
|
|
202
|
+
lineConfig2: any;
|
|
203
|
+
maxValue: number;
|
|
204
|
+
lineData?: Array<lineDataItem | barDataItem | stackDataItem>;
|
|
205
|
+
lineData2?: Array<lineDataItem | barDataItem | stackDataItem>;
|
|
206
|
+
animatedWidth?: any;
|
|
207
|
+
lineBehindBars: boolean;
|
|
208
|
+
points: string | any[];
|
|
209
|
+
points2: string | any[];
|
|
210
|
+
arrowPoints: any;
|
|
211
|
+
renderChartContent?: any;
|
|
212
|
+
remainingScrollViewProps?: any;
|
|
213
|
+
width: number | undefined;
|
|
214
|
+
horizSections: HorizSectionsType;
|
|
215
|
+
endSpacing: number;
|
|
216
|
+
horizontalRulesStyle: any;
|
|
217
|
+
noOfSections: number;
|
|
218
|
+
showFractionalValues: boolean;
|
|
219
|
+
axesAndRulesProps: any;
|
|
220
|
+
yAxisLabelTexts: string[] | undefined;
|
|
221
|
+
yAxisOffset: number | undefined;
|
|
222
|
+
rotateYAxisTexts: number | undefined;
|
|
223
|
+
hideAxesAndRules: boolean | undefined;
|
|
224
|
+
showXAxisIndices: boolean;
|
|
225
|
+
xAxisIndicesHeight: number;
|
|
226
|
+
xAxisIndicesWidth: number;
|
|
227
|
+
xAxisIndicesColor: ColorValue;
|
|
228
|
+
pointerConfig?: Pointer;
|
|
229
|
+
getPointerProps: any;
|
|
230
|
+
pointerIndex: number;
|
|
231
|
+
pointerX: number;
|
|
232
|
+
pointerY: number;
|
|
233
|
+
scrollEventThrottle: number;
|
|
234
|
+
onEndReached?: () => void;
|
|
235
|
+
onStartReached?: () => void;
|
|
236
|
+
endReachedOffset: number;
|
|
237
|
+
isRTL?: boolean;
|
|
238
|
+
}
|
|
239
|
+
export interface Pointer {
|
|
240
|
+
height?: number;
|
|
241
|
+
width?: number;
|
|
242
|
+
radius?: number;
|
|
243
|
+
pointerColor?: ColorValue;
|
|
244
|
+
pointer1Color?: ColorValue;
|
|
245
|
+
pointer2Color?: ColorValue;
|
|
246
|
+
pointer3Color?: ColorValue;
|
|
247
|
+
pointer4Color?: ColorValue;
|
|
248
|
+
pointer5Color?: ColorValue;
|
|
249
|
+
secondaryPointerColor?: ColorValue;
|
|
250
|
+
pointerComponent?: Function;
|
|
251
|
+
showPointerStrip?: boolean;
|
|
252
|
+
pointerStripWidth?: number;
|
|
253
|
+
pointerStripHeight?: number;
|
|
254
|
+
pointerStripColor?: ColorValue;
|
|
255
|
+
pointerStripUptoDataPoint?: boolean;
|
|
256
|
+
pointerLabelComponent?: Function;
|
|
257
|
+
stripOverPointer?: boolean;
|
|
258
|
+
autoAdjustPointerLabelPosition?: boolean;
|
|
259
|
+
shiftPointerLabelX?: number;
|
|
260
|
+
shiftPointerLabelY?: number;
|
|
261
|
+
pointerLabelWidth?: number;
|
|
262
|
+
pointerLabelHeight?: number;
|
|
263
|
+
pointerVanishDelay?: number;
|
|
264
|
+
activatePointersOnLongPress?: boolean;
|
|
265
|
+
activatePointersDelay?: number;
|
|
266
|
+
initialPointerIndex?: number;
|
|
267
|
+
initialPointerAppearDelay?: number;
|
|
268
|
+
persistPointer?: boolean;
|
|
269
|
+
hidePointer1?: boolean;
|
|
270
|
+
hidePointer2?: boolean;
|
|
271
|
+
hidePointer3?: boolean;
|
|
272
|
+
hidePointer4?: boolean;
|
|
273
|
+
hidePointer5?: boolean;
|
|
274
|
+
hideSecondaryPointer?: boolean;
|
|
275
|
+
strokeDashArray?: number[];
|
|
276
|
+
barTouchable?: boolean;
|
|
277
|
+
pointerEvents?: PointerEvents;
|
|
278
|
+
stripBehindBars?: boolean;
|
|
279
|
+
resetPointerOnDataChange?: boolean;
|
|
280
|
+
}
|
|
281
|
+
export interface HighlightedRange {
|
|
282
|
+
from: number;
|
|
283
|
+
to: number;
|
|
284
|
+
color?: string | ColorValue;
|
|
285
|
+
thickness?: number;
|
|
286
|
+
strokeDashArray?: number[];
|
|
287
|
+
}
|
|
288
|
+
export interface LineSegment {
|
|
289
|
+
startIndex: number;
|
|
290
|
+
endIndex: number;
|
|
291
|
+
color?: string | ColorValue;
|
|
292
|
+
thickness?: number;
|
|
293
|
+
strokeDashArray?: number[];
|
|
294
|
+
}
|
|
295
|
+
export interface LineSvgProps {
|
|
296
|
+
d: string;
|
|
297
|
+
fill: string;
|
|
298
|
+
stroke: string | ColorValue;
|
|
299
|
+
strokeWidth: number;
|
|
300
|
+
strokeDasharray?: number[];
|
|
301
|
+
}
|
|
302
|
+
export interface LineProperties {
|
|
303
|
+
d: string;
|
|
304
|
+
color: string | ColorValue;
|
|
305
|
+
strokeWidth: number;
|
|
306
|
+
strokeDashArray?: number[];
|
|
307
|
+
}
|
|
308
|
+
export interface DataSet {
|
|
309
|
+
data: lineDataItem[];
|
|
310
|
+
zIndex?: number;
|
|
311
|
+
thickness?: number;
|
|
312
|
+
strokeDashArray?: number[];
|
|
313
|
+
areaChart?: boolean;
|
|
314
|
+
stepChart?: boolean;
|
|
315
|
+
startIndex?: number;
|
|
316
|
+
endIndex?: number;
|
|
317
|
+
color?: string;
|
|
318
|
+
hideDataPoints?: boolean;
|
|
319
|
+
dataPointsHeight?: number;
|
|
320
|
+
dataPointsWidth?: number;
|
|
321
|
+
dataPointsRadius?: number;
|
|
322
|
+
dataPointsColor?: string;
|
|
323
|
+
dataPointsShape?: string;
|
|
324
|
+
startFillColor?: string;
|
|
325
|
+
endFillColor?: string;
|
|
326
|
+
startOpacity?: number;
|
|
327
|
+
endOpacity?: number;
|
|
328
|
+
textFontSize?: number;
|
|
329
|
+
textColor?: string;
|
|
330
|
+
showArrow?: boolean;
|
|
331
|
+
arrowConfig?: arrowConfigType;
|
|
332
|
+
curved?: boolean;
|
|
333
|
+
curvature?: number;
|
|
334
|
+
curveType?: CurveType;
|
|
335
|
+
lineSegments?: LineSegment[];
|
|
336
|
+
}
|
|
337
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export var Framework;
|
|
2
|
+
(function (Framework) {
|
|
3
|
+
Framework[Framework["reactJS"] = 0] = "reactJS";
|
|
4
|
+
Framework[Framework["reactNative"] = 1] = "reactNative";
|
|
5
|
+
})(Framework || (Framework = {}));
|
|
6
|
+
export var CurveType;
|
|
7
|
+
(function (CurveType) {
|
|
8
|
+
CurveType[CurveType["CUBIC"] = 0] = "CUBIC";
|
|
9
|
+
CurveType[CurveType["QUADRATIC"] = 1] = "QUADRATIC";
|
|
10
|
+
})(CurveType || (CurveType = {}));
|
|
11
|
+
export var EdgePosition;
|
|
12
|
+
(function (EdgePosition) {
|
|
13
|
+
EdgePosition[EdgePosition["AFTER_DATA_POINT"] = 0] = "AFTER_DATA_POINT";
|
|
14
|
+
EdgePosition[EdgePosition["AROUND_DATA_POINT"] = 1] = "AROUND_DATA_POINT";
|
|
15
|
+
EdgePosition[EdgePosition["BEFORE_DATA_POINT"] = 2] = "BEFORE_DATA_POINT";
|
|
16
|
+
})(EdgePosition || (EdgePosition = {}));
|
package/src/utils/types.ts
CHANGED
package/index.ts
DELETED
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
/***********************************************************************************************************************/
|
|
2
|
-
/***************************************** Bar Chart *****************************************/
|
|
3
|
-
/***********************************************************************************************************************/
|
|
4
|
-
|
|
5
|
-
export { useBarChart } from "./src/BarChart";
|
|
6
|
-
export { getPropsForAnimated2DWithGradient } from "./src/BarChart/Animated2DWithGradient";
|
|
7
|
-
export { useRenderStackBars } from "./src/BarChart/RenderStackBars";
|
|
8
|
-
export {
|
|
9
|
-
stackDataItem,
|
|
10
|
-
StackedBarChartPropsType,
|
|
11
|
-
BarChartPropsType,
|
|
12
|
-
defaultLineConfigType,
|
|
13
|
-
barDataItem,
|
|
14
|
-
Animated2DWithGradientPropsType,
|
|
15
|
-
RenderBarsPropsType,
|
|
16
|
-
trianglePropTypes,
|
|
17
|
-
animatedBarPropTypes,
|
|
18
|
-
FocusedBarConfig,
|
|
19
|
-
CommonPropsFor2Dand3DbarsType,
|
|
20
|
-
} from "./src/BarChart/types";
|
|
21
|
-
|
|
22
|
-
/************************************************************************************************************************/
|
|
23
|
-
/***************************************** Line Chart *****************************************/
|
|
24
|
-
/************************************************************************************************************************/
|
|
25
|
-
|
|
26
|
-
export { useLineChart } from "./src/LineChart";
|
|
27
|
-
export { useLineChartBiColor } from "./src/LineChart/LineChartBiColor";
|
|
28
|
-
export {
|
|
29
|
-
LineChartPropsType,
|
|
30
|
-
lineDataItem,
|
|
31
|
-
bicolorLineDataItem,
|
|
32
|
-
LineChartBicolorPropsType,
|
|
33
|
-
} from "./src/LineChart/types";
|
|
34
|
-
|
|
35
|
-
/***********************************************************************************************************************/
|
|
36
|
-
/***************************************** Pie Chart *****************************************/
|
|
37
|
-
/***********************************************************************************************************************/
|
|
38
|
-
|
|
39
|
-
export { usePieChart } from "./src/PieChart";
|
|
40
|
-
export { getPieChartMainProps } from "./src/PieChart/main";
|
|
41
|
-
export {
|
|
42
|
-
PieChartPropsType,
|
|
43
|
-
pieDataItem,
|
|
44
|
-
PieChartMainProps,
|
|
45
|
-
} from "./src/PieChart/types";
|
|
46
|
-
|
|
47
|
-
/***********************************************************************************************************************/
|
|
48
|
-
/************************************ Population Pyramid Chart ************************************/
|
|
49
|
-
/***********************************************************************************************************************/
|
|
50
|
-
|
|
51
|
-
export { usePopulationPyramid } from "./src/PopulationPyramid";
|
|
52
|
-
export {
|
|
53
|
-
popnPyramidDataItem,
|
|
54
|
-
RulesProps,
|
|
55
|
-
PopulationPyramidPropsType,
|
|
56
|
-
} from "./src/PopulationPyramid/types";
|
|
57
|
-
|
|
58
|
-
/***********************************************************************************************************************/
|
|
59
|
-
/************************************ Common Components ************************************/
|
|
60
|
-
/***********************************************************************************************************************/
|
|
61
|
-
|
|
62
|
-
export { useAnimatedThreeDBar } from "./src/components/AnimatedThreeDBar";
|
|
63
|
-
export { getHorizSectionVals } from "./src/components/BarAndLineChartsWrapper/getHorizSectionsVals";
|
|
64
|
-
export { useBarAndLineChartsWrapper } from "./src/components/BarAndLineChartsWrapper";
|
|
65
|
-
export { getTopAndLeftForStripAndLabel } from "./src/components/common/StripAndLabel";
|
|
66
|
-
|
|
67
|
-
/***********************************************************************************************************************/
|
|
68
|
-
/********************************* common utils, constants and types ********************************/
|
|
69
|
-
/***********************************************************************************************************************/
|
|
70
|
-
|
|
71
|
-
export {
|
|
72
|
-
rnVersion,
|
|
73
|
-
getCumulativeWidth,
|
|
74
|
-
getLighterColor,
|
|
75
|
-
svgQuadraticCurvePath,
|
|
76
|
-
svgPath,
|
|
77
|
-
bezierCommand,
|
|
78
|
-
getSegmentString,
|
|
79
|
-
getCurvePathWithSegments,
|
|
80
|
-
getPreviousSegmentsLastPoint,
|
|
81
|
-
getPathWithHighlight,
|
|
82
|
-
getRegionPathObjects,
|
|
83
|
-
getSegmentedPathObjects,
|
|
84
|
-
getArrowPoints,
|
|
85
|
-
getAxesAndRulesProps,
|
|
86
|
-
getExtendedContainerHeightWithPadding,
|
|
87
|
-
getSecondaryDataWithOffsetIncluded,
|
|
88
|
-
getArrowProperty,
|
|
89
|
-
getAllArrowProperties,
|
|
90
|
-
maxAndMinUtil,
|
|
91
|
-
computeMaxAndMinItems,
|
|
92
|
-
getLabelTextUtil,
|
|
93
|
-
getXForLineInBar,
|
|
94
|
-
getYForLineInBar,
|
|
95
|
-
clone,
|
|
96
|
-
getLineConfigForBarChart,
|
|
97
|
-
adjustToOffset,
|
|
98
|
-
} from "./src/utils";
|
|
99
|
-
|
|
100
|
-
export {
|
|
101
|
-
chartTypes,
|
|
102
|
-
screenWidth,
|
|
103
|
-
yAxisSides,
|
|
104
|
-
loc,
|
|
105
|
-
SEGMENT_START,
|
|
106
|
-
SEGMENT_END,
|
|
107
|
-
RANGE_ENTER,
|
|
108
|
-
RANGE_EXIT,
|
|
109
|
-
STOP,
|
|
110
|
-
ruleTypes,
|
|
111
|
-
AxesAndRulesDefaults,
|
|
112
|
-
defaultArrowConfig,
|
|
113
|
-
BarDefaults,
|
|
114
|
-
defaultLineConfig,
|
|
115
|
-
LineDefaults,
|
|
116
|
-
defaultPointerConfig,
|
|
117
|
-
pieColors,
|
|
118
|
-
populationDefaults,
|
|
119
|
-
} from "./src/utils/constants";
|
|
120
|
-
|
|
121
|
-
export {
|
|
122
|
-
RuleType,
|
|
123
|
-
RuleTypes,
|
|
124
|
-
RulesConfig,
|
|
125
|
-
CurveType,
|
|
126
|
-
EdgePosition,
|
|
127
|
-
PointerEvents,
|
|
128
|
-
secondaryYAxisType,
|
|
129
|
-
secondaryLineConfigType,
|
|
130
|
-
referenceConfigType,
|
|
131
|
-
arrowConfigType,
|
|
132
|
-
horizSectionPropTypes,
|
|
133
|
-
HorizSectionsType,
|
|
134
|
-
BarAndLineChartsWrapperTypes,
|
|
135
|
-
Pointer,
|
|
136
|
-
HighlightedRange,
|
|
137
|
-
LineSegment,
|
|
138
|
-
LineSvgProps,
|
|
139
|
-
LineProperties,
|
|
140
|
-
DataSet,
|
|
141
|
-
} from "./src/utils/types";
|