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.
- package/{src → dist}/BarChart/types.d.ts +2 -1
- package/{src → dist}/LineChart/index.d.ts +0 -3
- package/{src → dist}/LineChart/index.js +5 -54
- package/{src → dist}/LineChart/types.d.ts +2 -1
- package/{src → dist}/PopulationPyramid/index.js +4 -3
- package/{src → dist}/PopulationPyramid/types.d.ts +3 -1
- package/{src → dist}/components/BarAndLineChartsWrapper/index.d.ts +1 -0
- package/{src → dist}/components/BarAndLineChartsWrapper/index.js +6 -4
- package/{src → dist}/components/common/types.d.ts +9 -8
- package/{src → dist}/index.d.ts +2 -1
- package/{src → dist}/utils/constants.d.ts +2 -0
- package/{src → dist}/utils/constants.js +2 -0
- package/{src → dist}/utils/index.js +1 -0
- package/{src → dist}/utils/types.d.ts +1 -0
- 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 -666
- 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 -614
- 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 -358
- package/src/PopulationPyramid/types.js.map +0 -1
- package/src/PopulationPyramid/types.ts +0 -256
- 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 -404
- 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 -152
- package/src/utils/constants.js.map +0 -1
- package/src/utils/constants.ts +0 -347
- package/src/utils/index.js.map +0 -1
- package/src/utils/index.ts +0 -1562
- package/src/utils/types.js.map +0 -1
- package/src/utils/types.ts +0 -436
- /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.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.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/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/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/index.d.ts +0 -0
- /package/{src → dist}/utils/types.js +0 -0
|
@@ -1,408 +0,0 @@
|
|
|
1
|
-
import { AxesAndRulesDefaults } from '../../utils/constants'
|
|
2
|
-
import {
|
|
3
|
-
type HorizSectionsType,
|
|
4
|
-
type horizSectionPropTypes,
|
|
5
|
-
type secondaryYAxisType
|
|
6
|
-
} from '../../utils/types'
|
|
7
|
-
import { computeMaxAndMinItems, getLabelTextUtil } from '../../utils'
|
|
8
|
-
|
|
9
|
-
export const getHorizSectionVals = (props: horizSectionPropTypes) => {
|
|
10
|
-
const {
|
|
11
|
-
width,
|
|
12
|
-
noOfSectionsBelowXAxis,
|
|
13
|
-
totalWidth,
|
|
14
|
-
endSpacing,
|
|
15
|
-
yAxisSide,
|
|
16
|
-
noOfSections,
|
|
17
|
-
yAxisLabelWidth,
|
|
18
|
-
yAxisLabelContainerStyle,
|
|
19
|
-
yAxisThickness,
|
|
20
|
-
yAxisColor,
|
|
21
|
-
yAxisExtraHeight,
|
|
22
|
-
trimYAxisAtTop,
|
|
23
|
-
dashWidth,
|
|
24
|
-
dashGap,
|
|
25
|
-
rulesType,
|
|
26
|
-
rulesThickness,
|
|
27
|
-
spacing,
|
|
28
|
-
showYAxisIndices,
|
|
29
|
-
yAxisIndicesHeight,
|
|
30
|
-
yAxisIndicesWidth,
|
|
31
|
-
yAxisIndicesColor,
|
|
32
|
-
|
|
33
|
-
hideOrigin,
|
|
34
|
-
hideYAxisText,
|
|
35
|
-
showFractionalValues,
|
|
36
|
-
yAxisTextNumberOfLines,
|
|
37
|
-
yAxisLabelPrefix,
|
|
38
|
-
yAxisLabelSuffix,
|
|
39
|
-
yAxisTextStyle,
|
|
40
|
-
containerHeight,
|
|
41
|
-
maxValue,
|
|
42
|
-
|
|
43
|
-
referenceLinesConfig,
|
|
44
|
-
|
|
45
|
-
yAxisLabelTexts,
|
|
46
|
-
|
|
47
|
-
stepValue,
|
|
48
|
-
negativeStepValue,
|
|
49
|
-
roundToDigits,
|
|
50
|
-
|
|
51
|
-
yAxisOffset,
|
|
52
|
-
formatYLabel,
|
|
53
|
-
|
|
54
|
-
secondaryData,
|
|
55
|
-
secondaryYAxis
|
|
56
|
-
} = props
|
|
57
|
-
|
|
58
|
-
const yAxisExtraHeightAtTop = trimYAxisAtTop ? 0 : yAxisExtraHeight
|
|
59
|
-
|
|
60
|
-
/***********************************************************************************************************************************
|
|
61
|
-
* *
|
|
62
|
-
***************************** secondary Y Axis related props computations ******************************
|
|
63
|
-
* *
|
|
64
|
-
***********************************************************************************************************************************/
|
|
65
|
-
|
|
66
|
-
const secondaryYAxisConfig: secondaryYAxisType = {
|
|
67
|
-
noOfSections: secondaryYAxis?.noOfSections ?? noOfSections,
|
|
68
|
-
maxValue: secondaryYAxis?.maxValue,
|
|
69
|
-
mostNegativeValue: secondaryYAxis?.mostNegativeValue,
|
|
70
|
-
stepValue: secondaryYAxis?.stepValue,
|
|
71
|
-
stepHeight: secondaryYAxis?.stepHeight,
|
|
72
|
-
|
|
73
|
-
negativeStepValue: secondaryYAxis?.stepValue,
|
|
74
|
-
negativeStepHeight: secondaryYAxis?.stepHeight,
|
|
75
|
-
|
|
76
|
-
showFractionalValues:
|
|
77
|
-
secondaryYAxis?.showFractionalValues ?? showFractionalValues,
|
|
78
|
-
roundToDigits: secondaryYAxis?.roundToDigits ?? roundToDigits,
|
|
79
|
-
noOfSectionsBelowXAxis:
|
|
80
|
-
secondaryYAxis?.noOfSectionsBelowXAxis ?? noOfSectionsBelowXAxis,
|
|
81
|
-
|
|
82
|
-
showYAxisIndices: secondaryYAxis?.showYAxisIndices ?? showYAxisIndices,
|
|
83
|
-
yAxisIndicesHeight:
|
|
84
|
-
secondaryYAxis?.yAxisIndicesHeight ?? yAxisIndicesHeight,
|
|
85
|
-
yAxisIndicesWidth: secondaryYAxis?.yAxisIndicesWidth ?? yAxisIndicesWidth,
|
|
86
|
-
yAxisIndicesColor: secondaryYAxis?.yAxisIndicesColor ?? yAxisIndicesColor,
|
|
87
|
-
|
|
88
|
-
yAxisSide: secondaryYAxis?.yAxisSide ?? yAxisSide,
|
|
89
|
-
yAxisOffset: secondaryYAxis?.yAxisOffset,
|
|
90
|
-
yAxisThickness: secondaryYAxis?.yAxisThickness ?? yAxisThickness,
|
|
91
|
-
yAxisColor: secondaryYAxis?.yAxisColor ?? yAxisColor,
|
|
92
|
-
yAxisLabelContainerStyle:
|
|
93
|
-
secondaryYAxis?.yAxisLabelContainerStyle ?? yAxisLabelContainerStyle,
|
|
94
|
-
yAxisLabelTexts: secondaryYAxis?.yAxisLabelTexts ?? yAxisLabelTexts,
|
|
95
|
-
yAxisTextStyle: secondaryYAxis?.yAxisTextStyle ?? yAxisTextStyle,
|
|
96
|
-
yAxisTextNumberOfLines:
|
|
97
|
-
secondaryYAxis?.yAxisTextNumberOfLines ?? yAxisTextNumberOfLines,
|
|
98
|
-
yAxisLabelWidth: secondaryYAxis?.yAxisLabelWidth ?? yAxisLabelWidth,
|
|
99
|
-
hideYAxisText: secondaryYAxis?.hideYAxisText ?? hideYAxisText,
|
|
100
|
-
yAxisLabelPrefix: secondaryYAxis?.yAxisLabelPrefix ?? yAxisLabelPrefix,
|
|
101
|
-
yAxisLabelSuffix: secondaryYAxis?.yAxisLabelSuffix ?? yAxisLabelSuffix,
|
|
102
|
-
hideOrigin: secondaryYAxis?.hideOrigin ?? hideOrigin,
|
|
103
|
-
formatYLabel: secondaryYAxis?.formatYLabel
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
const { maxItem, minItem } = computeMaxAndMinItems(
|
|
107
|
-
secondaryData,
|
|
108
|
-
secondaryYAxisConfig.roundToDigits,
|
|
109
|
-
secondaryYAxisConfig.showFractionalValues
|
|
110
|
-
)
|
|
111
|
-
secondaryYAxisConfig.maxValue =
|
|
112
|
-
secondaryYAxisConfig.maxValue ?? (maxItem || maxValue)
|
|
113
|
-
secondaryYAxisConfig.mostNegativeValue =
|
|
114
|
-
secondaryYAxisConfig.mostNegativeValue ?? minItem
|
|
115
|
-
secondaryYAxisConfig.stepValue =
|
|
116
|
-
secondaryYAxisConfig.stepValue ??
|
|
117
|
-
(secondaryYAxisConfig.maxValue ?? 0) /
|
|
118
|
-
(secondaryYAxisConfig.noOfSections ?? noOfSections)
|
|
119
|
-
secondaryYAxisConfig.stepHeight =
|
|
120
|
-
secondaryYAxisConfig.stepHeight ||
|
|
121
|
-
containerHeight / (secondaryYAxisConfig.noOfSections ?? noOfSections)
|
|
122
|
-
|
|
123
|
-
const horizSections: HorizSectionsType = []
|
|
124
|
-
for (let i = 0; i <= noOfSections; i++) {
|
|
125
|
-
let value = maxValue - stepValue * i
|
|
126
|
-
if (showFractionalValues || roundToDigits) {
|
|
127
|
-
value = parseFloat(
|
|
128
|
-
value.toFixed(roundToDigits ?? AxesAndRulesDefaults.roundToDigits)
|
|
129
|
-
)
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
horizSections.push({
|
|
133
|
-
value: yAxisLabelTexts?.length
|
|
134
|
-
? yAxisLabelTexts[noOfSections + noOfSectionsBelowXAxis - i] ??
|
|
135
|
-
value.toString()
|
|
136
|
-
: value.toString()
|
|
137
|
-
})
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
const horizSectionsBelow: HorizSectionsType = []
|
|
141
|
-
if (noOfSectionsBelowXAxis) {
|
|
142
|
-
for (let i = 1; i <= noOfSectionsBelowXAxis; i++) {
|
|
143
|
-
let value = negativeStepValue * -i
|
|
144
|
-
if (showFractionalValues || roundToDigits) {
|
|
145
|
-
value = parseFloat(
|
|
146
|
-
value.toFixed(roundToDigits ?? AxesAndRulesDefaults.roundToDigits)
|
|
147
|
-
)
|
|
148
|
-
}
|
|
149
|
-
horizSectionsBelow.push({
|
|
150
|
-
value: props.yAxisLabelTexts
|
|
151
|
-
? props.yAxisLabelTexts[noOfSectionsBelowXAxis - i] ??
|
|
152
|
-
value.toString()
|
|
153
|
-
: value.toString()
|
|
154
|
-
})
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
const secondaryHorizSections: HorizSectionsType = []
|
|
159
|
-
if (secondaryYAxis) {
|
|
160
|
-
for (
|
|
161
|
-
let i = 0;
|
|
162
|
-
i <= (secondaryYAxisConfig.noOfSections ?? noOfSections);
|
|
163
|
-
i++
|
|
164
|
-
) {
|
|
165
|
-
let value = secondaryYAxisConfig.stepValue * i
|
|
166
|
-
if (
|
|
167
|
-
secondaryYAxisConfig.showFractionalValues ||
|
|
168
|
-
secondaryYAxisConfig.roundToDigits
|
|
169
|
-
) {
|
|
170
|
-
value = parseFloat(
|
|
171
|
-
value.toFixed(
|
|
172
|
-
secondaryYAxisConfig.roundToDigits ??
|
|
173
|
-
AxesAndRulesDefaults.roundToDigits
|
|
174
|
-
)
|
|
175
|
-
)
|
|
176
|
-
}
|
|
177
|
-
secondaryHorizSections.push({
|
|
178
|
-
value: secondaryYAxisConfig.yAxisLabelTexts?.length
|
|
179
|
-
? secondaryYAxisConfig.yAxisLabelTexts[
|
|
180
|
-
i - noOfSectionsBelowXAxis - 1
|
|
181
|
-
] ?? value.toString()
|
|
182
|
-
: value.toString()
|
|
183
|
-
})
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
const secondaryHorizSectionsBelow: HorizSectionsType = []
|
|
188
|
-
if (secondaryYAxisConfig.noOfSectionsBelowXAxis) {
|
|
189
|
-
for (let i = 1; i <= secondaryYAxisConfig.noOfSectionsBelowXAxis; i++) {
|
|
190
|
-
let value =
|
|
191
|
-
secondaryYAxisConfig.stepValue *
|
|
192
|
-
(i - secondaryYAxisConfig.noOfSectionsBelowXAxis - 1)
|
|
193
|
-
if (
|
|
194
|
-
secondaryYAxisConfig.showFractionalValues ||
|
|
195
|
-
secondaryYAxisConfig.roundToDigits
|
|
196
|
-
) {
|
|
197
|
-
value = parseFloat(
|
|
198
|
-
value.toFixed(
|
|
199
|
-
secondaryYAxisConfig.roundToDigits ??
|
|
200
|
-
AxesAndRulesDefaults.roundToDigits
|
|
201
|
-
)
|
|
202
|
-
)
|
|
203
|
-
}
|
|
204
|
-
secondaryHorizSectionsBelow.push({
|
|
205
|
-
value: secondaryYAxisConfig.yAxisLabelTexts?.length
|
|
206
|
-
? secondaryYAxisConfig.yAxisLabelTexts[i - 1] ?? value.toString()
|
|
207
|
-
: value.toString()
|
|
208
|
-
})
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
/***********************************************************************************************************************************
|
|
213
|
-
***********************************************************************************************************************************/
|
|
214
|
-
|
|
215
|
-
let {
|
|
216
|
-
showReferenceLine1,
|
|
217
|
-
referenceLine1Position,
|
|
218
|
-
referenceLine1Config,
|
|
219
|
-
|
|
220
|
-
showReferenceLine2,
|
|
221
|
-
referenceLine2Position,
|
|
222
|
-
referenceLine2Config,
|
|
223
|
-
|
|
224
|
-
showReferenceLine3,
|
|
225
|
-
referenceLine3Position,
|
|
226
|
-
referenceLine3Config
|
|
227
|
-
} = referenceLinesConfig
|
|
228
|
-
|
|
229
|
-
const defaultReferenceConfig = {
|
|
230
|
-
thickness: rulesThickness,
|
|
231
|
-
width: (width || totalWidth - endSpacing) + endSpacing,
|
|
232
|
-
color: 'black',
|
|
233
|
-
type: rulesType,
|
|
234
|
-
dashWidth,
|
|
235
|
-
dashGap,
|
|
236
|
-
labelText: '',
|
|
237
|
-
labelTextStyle: null,
|
|
238
|
-
zIndex: 1
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
showReferenceLine1 = referenceLinesConfig.showReferenceLine1 || false
|
|
242
|
-
referenceLine1Position =
|
|
243
|
-
referenceLinesConfig.referenceLine1Position ??
|
|
244
|
-
(referenceLinesConfig.referenceLine1Position || containerHeight / 2)
|
|
245
|
-
referenceLine1Config = referenceLinesConfig.referenceLine1Config
|
|
246
|
-
? {
|
|
247
|
-
thickness:
|
|
248
|
-
referenceLinesConfig.referenceLine1Config.thickness ||
|
|
249
|
-
defaultReferenceConfig.thickness,
|
|
250
|
-
width:
|
|
251
|
-
referenceLinesConfig.referenceLine1Config.width ??
|
|
252
|
-
defaultReferenceConfig.width,
|
|
253
|
-
color:
|
|
254
|
-
referenceLinesConfig.referenceLine1Config.color ||
|
|
255
|
-
defaultReferenceConfig.color,
|
|
256
|
-
type:
|
|
257
|
-
referenceLinesConfig.referenceLine1Config.type ||
|
|
258
|
-
defaultReferenceConfig.type,
|
|
259
|
-
dashWidth:
|
|
260
|
-
referenceLinesConfig.referenceLine1Config.dashWidth ||
|
|
261
|
-
defaultReferenceConfig.dashWidth,
|
|
262
|
-
dashGap:
|
|
263
|
-
referenceLinesConfig.referenceLine1Config.dashGap ||
|
|
264
|
-
defaultReferenceConfig.dashGap,
|
|
265
|
-
labelText:
|
|
266
|
-
referenceLinesConfig.referenceLine1Config.labelText ||
|
|
267
|
-
defaultReferenceConfig.labelText,
|
|
268
|
-
labelTextStyle:
|
|
269
|
-
referenceLinesConfig.referenceLine1Config.labelTextStyle ||
|
|
270
|
-
defaultReferenceConfig.labelTextStyle,
|
|
271
|
-
zIndex:
|
|
272
|
-
referenceLinesConfig.referenceLine1Config.zIndex ??
|
|
273
|
-
defaultReferenceConfig.zIndex
|
|
274
|
-
}
|
|
275
|
-
: defaultReferenceConfig
|
|
276
|
-
|
|
277
|
-
showReferenceLine2 = referenceLinesConfig.showReferenceLine2 || false
|
|
278
|
-
referenceLine2Position =
|
|
279
|
-
referenceLinesConfig.referenceLine2Position ??
|
|
280
|
-
(referenceLinesConfig.referenceLine2Position || (3 * containerHeight) / 2)
|
|
281
|
-
referenceLine2Config = referenceLinesConfig.referenceLine2Config
|
|
282
|
-
? {
|
|
283
|
-
thickness:
|
|
284
|
-
referenceLinesConfig.referenceLine2Config.thickness ||
|
|
285
|
-
defaultReferenceConfig.thickness,
|
|
286
|
-
width:
|
|
287
|
-
referenceLinesConfig.referenceLine2Config.width ??
|
|
288
|
-
defaultReferenceConfig.width,
|
|
289
|
-
color:
|
|
290
|
-
referenceLinesConfig.referenceLine2Config.color ||
|
|
291
|
-
defaultReferenceConfig.color,
|
|
292
|
-
type:
|
|
293
|
-
referenceLinesConfig.referenceLine2Config.type ||
|
|
294
|
-
defaultReferenceConfig.type,
|
|
295
|
-
dashWidth:
|
|
296
|
-
referenceLinesConfig.referenceLine2Config.dashWidth ||
|
|
297
|
-
defaultReferenceConfig.dashWidth,
|
|
298
|
-
dashGap:
|
|
299
|
-
referenceLinesConfig.referenceLine2Config.dashGap ||
|
|
300
|
-
defaultReferenceConfig.dashGap,
|
|
301
|
-
labelText:
|
|
302
|
-
referenceLinesConfig.referenceLine2Config.labelText ||
|
|
303
|
-
defaultReferenceConfig.labelText,
|
|
304
|
-
labelTextStyle:
|
|
305
|
-
referenceLinesConfig.referenceLine2Config.labelTextStyle ||
|
|
306
|
-
defaultReferenceConfig.labelTextStyle,
|
|
307
|
-
zIndex:
|
|
308
|
-
referenceLinesConfig.referenceLine2Config.zIndex ??
|
|
309
|
-
defaultReferenceConfig.zIndex
|
|
310
|
-
}
|
|
311
|
-
: defaultReferenceConfig
|
|
312
|
-
|
|
313
|
-
showReferenceLine3 = referenceLinesConfig.showReferenceLine3 || false
|
|
314
|
-
referenceLine3Position =
|
|
315
|
-
referenceLinesConfig.referenceLine3Position ??
|
|
316
|
-
(referenceLinesConfig.referenceLine3Position || containerHeight / 3)
|
|
317
|
-
referenceLine3Config = referenceLinesConfig.referenceLine3Config
|
|
318
|
-
? {
|
|
319
|
-
thickness:
|
|
320
|
-
referenceLinesConfig.referenceLine3Config.thickness ||
|
|
321
|
-
defaultReferenceConfig.thickness,
|
|
322
|
-
width:
|
|
323
|
-
referenceLinesConfig.referenceLine3Config.width ??
|
|
324
|
-
defaultReferenceConfig.width,
|
|
325
|
-
color:
|
|
326
|
-
referenceLinesConfig.referenceLine3Config.color ||
|
|
327
|
-
defaultReferenceConfig.color,
|
|
328
|
-
type:
|
|
329
|
-
referenceLinesConfig.referenceLine3Config.type ||
|
|
330
|
-
defaultReferenceConfig.type,
|
|
331
|
-
dashWidth:
|
|
332
|
-
referenceLinesConfig.referenceLine3Config.dashWidth ||
|
|
333
|
-
defaultReferenceConfig.dashWidth,
|
|
334
|
-
dashGap:
|
|
335
|
-
referenceLinesConfig.referenceLine3Config.dashGap ||
|
|
336
|
-
defaultReferenceConfig.dashGap,
|
|
337
|
-
labelText:
|
|
338
|
-
referenceLinesConfig.referenceLine3Config.labelText ||
|
|
339
|
-
defaultReferenceConfig.labelText,
|
|
340
|
-
labelTextStyle:
|
|
341
|
-
referenceLinesConfig.referenceLine3Config.labelTextStyle ||
|
|
342
|
-
defaultReferenceConfig.labelTextStyle,
|
|
343
|
-
zIndex:
|
|
344
|
-
referenceLinesConfig.referenceLine3Config.zIndex ??
|
|
345
|
-
defaultReferenceConfig.zIndex
|
|
346
|
-
}
|
|
347
|
-
: defaultReferenceConfig
|
|
348
|
-
|
|
349
|
-
const getLabelTexts = (val: string, index: number): string => {
|
|
350
|
-
return getLabelTextUtil(
|
|
351
|
-
val,
|
|
352
|
-
index,
|
|
353
|
-
showFractionalValues,
|
|
354
|
-
yAxisLabelTexts,
|
|
355
|
-
yAxisOffset,
|
|
356
|
-
yAxisLabelPrefix,
|
|
357
|
-
yAxisLabelSuffix,
|
|
358
|
-
roundToDigits ?? AxesAndRulesDefaults.roundToDigits,
|
|
359
|
-
formatYLabel
|
|
360
|
-
)
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
const getLabelTextsForSecondaryYAxis = (
|
|
364
|
-
val: string,
|
|
365
|
-
index: number
|
|
366
|
-
): string => {
|
|
367
|
-
const {
|
|
368
|
-
showFractionalValues,
|
|
369
|
-
yAxisLabelTexts,
|
|
370
|
-
yAxisOffset,
|
|
371
|
-
yAxisLabelPrefix,
|
|
372
|
-
yAxisLabelSuffix,
|
|
373
|
-
roundToDigits,
|
|
374
|
-
formatYLabel
|
|
375
|
-
} = secondaryYAxisConfig
|
|
376
|
-
return getLabelTextUtil(
|
|
377
|
-
val,
|
|
378
|
-
index,
|
|
379
|
-
showFractionalValues,
|
|
380
|
-
yAxisLabelTexts,
|
|
381
|
-
yAxisOffset,
|
|
382
|
-
yAxisLabelPrefix,
|
|
383
|
-
yAxisLabelSuffix,
|
|
384
|
-
roundToDigits ?? AxesAndRulesDefaults.roundToDigits,
|
|
385
|
-
formatYLabel
|
|
386
|
-
)
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
return {
|
|
390
|
-
secondaryYAxisConfig,
|
|
391
|
-
horizSections,
|
|
392
|
-
yAxisExtraHeightAtTop,
|
|
393
|
-
secondaryHorizSections,
|
|
394
|
-
showReferenceLine1,
|
|
395
|
-
referenceLine1Config,
|
|
396
|
-
referenceLine1Position,
|
|
397
|
-
showReferenceLine2,
|
|
398
|
-
referenceLine2Config,
|
|
399
|
-
referenceLine2Position,
|
|
400
|
-
showReferenceLine3,
|
|
401
|
-
referenceLine3Config,
|
|
402
|
-
referenceLine3Position,
|
|
403
|
-
horizSectionsBelow,
|
|
404
|
-
secondaryHorizSectionsBelow,
|
|
405
|
-
getLabelTexts,
|
|
406
|
-
getLabelTextsForSecondaryYAxis
|
|
407
|
-
}
|
|
408
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAQA,wCAAa,0BAA0B,GAAG,UACxC,KAAmC;;gBAGjC,IAAA,SAAS,GAiDP,KAAK,UAjDE,E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