@oliasoft-open-source/charts-library 5.14.1 → 5.15.0-beta-2

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.
@@ -1,589 +1,5 @@
1
- import { Tick } from 'chart.js';
2
1
  import { IState } from '../state/state.interfaces';
3
2
  import { ILineChartOptions } from '../line-chart.interface';
4
- import { UnusedParameter } from '../../common/common.interface';
5
- declare const getLineChartScales: (options: ILineChartOptions, state: IState) => {
6
- id?: string;
7
- label?: string;
8
- position?: import('../../common/common.interface').TAxisPosition | undefined;
9
- color?: string | string[];
10
- unit?: import('../line-chart.interface').IUnitOptions | string;
11
- stepSize?: number;
12
- gridLines?: import('../line-chart.interface').ILineChartGraph;
13
- min?: number | string;
14
- max?: number | string;
15
- } | {
16
- y: {
17
- display: boolean;
18
- type: "linear" | "logarithmic" | undefined;
19
- position: import('../../common/common.interface').TAxisPosition | undefined;
20
- beginAtZero: boolean | undefined;
21
- reverse: boolean | undefined;
22
- suggestedMax: number | undefined;
23
- suggestedMin: number | undefined;
24
- min: string | number | undefined;
25
- max: string | number | undefined;
26
- title: {
27
- font: {
28
- size: number;
29
- } | {
30
- family?: string | undefined;
31
- size: number;
32
- style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
33
- weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
34
- lineHeight?: string | number | undefined;
35
- } | {
36
- size: number;
37
- } | {
38
- family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableCartesianScaleContext>;
39
- size: number | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
40
- style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableCartesianScaleContext>;
41
- weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableCartesianScaleContext>;
42
- lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableCartesianScaleContext>;
43
- };
44
- display: number | boolean | undefined;
45
- align?: import('chart.js').Align | undefined;
46
- text: string | string[] | undefined;
47
- color?: import('chart.js').Color | undefined;
48
- padding: number | {
49
- top: number;
50
- bottom: number;
51
- y: number;
52
- };
53
- };
54
- ticks: {
55
- font: {
56
- size: number;
57
- } | {
58
- family?: string | undefined;
59
- size: number;
60
- style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
61
- weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
62
- lineHeight?: string | number | undefined;
63
- } | {
64
- size: number;
65
- } | {
66
- family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableScaleContext>;
67
- size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
68
- style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableScaleContext>;
69
- weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableScaleContext>;
70
- lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableScaleContext>;
71
- };
72
- backdropColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
73
- backdropPadding?: number | import('chart.js').ChartArea | undefined;
74
- callback: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: Tick[]) => string | string[] | number | number[] | null | undefined) | ((tick: number, _: UnusedParameter, ticks: Tick[]) => string);
75
- display?: boolean | undefined;
76
- color?: import('chart.js').ScriptableAndArray<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
77
- padding?: number | undefined;
78
- showLabelBackdrop?: import('chart.js').Scriptable<boolean, import('chart.js').ScriptableScaleContext> | undefined;
79
- textStrokeColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
80
- textStrokeWidth?: import('chart.js').Scriptable<number, import('chart.js').ScriptableScaleContext> | undefined;
81
- z?: number | undefined;
82
- major?: {
83
- enabled: boolean;
84
- } | undefined;
85
- sampleSize?: number | undefined;
86
- align?: import('chart.js').Align | "inner" | undefined;
87
- autoSkip?: boolean | undefined;
88
- autoSkipPadding?: number | undefined;
89
- crossAlign?: "center" | "near" | "far" | undefined;
90
- includeBounds: boolean;
91
- labelOffset?: number | undefined;
92
- minRotation?: number | undefined;
93
- maxRotation?: number | undefined;
94
- mirror?: boolean | undefined;
95
- maxTicksLimit?: number | undefined;
96
- format?: Intl.NumberFormatOptions | undefined;
97
- precision?: number | undefined;
98
- stepSize: number | null | undefined;
99
- count?: number | undefined;
100
- } | {
101
- font: {
102
- size: number;
103
- } | {
104
- family?: string | undefined;
105
- size: number;
106
- style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
107
- weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
108
- lineHeight?: string | number | undefined;
109
- } | {
110
- size: number;
111
- } | {
112
- family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableScaleContext>;
113
- size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
114
- style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableScaleContext>;
115
- weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableScaleContext>;
116
- lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableScaleContext>;
117
- };
118
- backdropColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
119
- backdropPadding?: number | import('chart.js').ChartArea | undefined;
120
- callback: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: Tick[]) => string | string[] | number | number[] | null | undefined) | ((tick: number, _: UnusedParameter, ticks: Tick[]) => string);
121
- display?: boolean | undefined;
122
- color?: import('chart.js').ScriptableAndArray<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
123
- padding?: number | undefined;
124
- showLabelBackdrop?: import('chart.js').Scriptable<boolean, import('chart.js').ScriptableScaleContext> | undefined;
125
- textStrokeColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
126
- textStrokeWidth?: import('chart.js').Scriptable<number, import('chart.js').ScriptableScaleContext> | undefined;
127
- z?: number | undefined;
128
- major?: {
129
- enabled: boolean;
130
- } | undefined;
131
- sampleSize?: number | undefined;
132
- align?: import('chart.js').Align | "inner" | undefined;
133
- autoSkip?: boolean | undefined;
134
- autoSkipPadding?: number | undefined;
135
- crossAlign?: "center" | "near" | "far" | undefined;
136
- includeBounds: boolean;
137
- labelOffset?: number | undefined;
138
- minRotation?: number | undefined;
139
- maxRotation?: number | undefined;
140
- mirror?: boolean | undefined;
141
- maxTicksLimit?: number | undefined;
142
- format?: Intl.NumberFormatOptions | undefined;
143
- precision?: number | undefined;
144
- stepSize?: number | undefined;
145
- count?: number | undefined;
146
- };
147
- grid: {
148
- lineTension?: number;
149
- spanGaps?: boolean;
150
- showDataLabels?: boolean;
151
- showMinorGridlines?: boolean;
152
- };
153
- };
154
- id?: string;
155
- label?: string;
156
- position?: import('../../common/common.interface').TAxisPosition | undefined;
157
- color?: string | string[];
158
- unit?: import('../line-chart.interface').IUnitOptions | string;
159
- stepSize?: number;
160
- gridLines?: import('../line-chart.interface').ILineChartGraph;
161
- min?: number | string;
162
- max?: number | string;
163
- } | {
164
- id?: string;
165
- label?: string;
166
- position?: import('../../common/common.interface').TAxisPosition | undefined;
167
- color?: string | string[];
168
- unit?: import('../line-chart.interface').IUnitOptions | string;
169
- stepSize?: number;
170
- gridLines?: import('../line-chart.interface').ILineChartGraph;
171
- min?: number | string;
172
- max?: number | string;
173
- x: {
174
- display: boolean;
175
- type: "linear" | "logarithmic" | undefined;
176
- position: import('../../common/common.interface').TAxisPosition | undefined;
177
- beginAtZero: boolean | undefined;
178
- reverse: boolean | undefined;
179
- suggestedMax: number | undefined;
180
- suggestedMin: number | undefined;
181
- min: string | number | undefined;
182
- max: string | number | undefined;
183
- title: {
184
- font: {
185
- size: number;
186
- } | {
187
- family?: string | undefined;
188
- size: number;
189
- style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
190
- weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
191
- lineHeight?: string | number | undefined;
192
- } | {
193
- size: number;
194
- } | {
195
- family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableCartesianScaleContext>;
196
- size: number | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
197
- style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableCartesianScaleContext>;
198
- weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableCartesianScaleContext>;
199
- lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableCartesianScaleContext>;
200
- };
201
- display: number | boolean | undefined;
202
- align?: import('chart.js').Align | undefined;
203
- text: string | string[] | undefined;
204
- color?: import('chart.js').Color | undefined;
205
- padding: number | {
206
- top: number;
207
- bottom: number;
208
- y: number;
209
- };
210
- };
211
- ticks: {
212
- font: {
213
- size: number;
214
- } | {
215
- family?: string | undefined;
216
- size: number;
217
- style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
218
- weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
219
- lineHeight?: string | number | undefined;
220
- } | {
221
- size: number;
222
- } | {
223
- family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableScaleContext>;
224
- size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
225
- style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableScaleContext>;
226
- weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableScaleContext>;
227
- lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableScaleContext>;
228
- };
229
- backdropColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
230
- backdropPadding?: number | import('chart.js').ChartArea | undefined;
231
- callback: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: Tick[]) => string | string[] | number | number[] | null | undefined) | ((tick: number, _: UnusedParameter, ticks: Tick[]) => string);
232
- display?: boolean | undefined;
233
- color?: import('chart.js').ScriptableAndArray<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
234
- padding?: number | undefined;
235
- showLabelBackdrop?: import('chart.js').Scriptable<boolean, import('chart.js').ScriptableScaleContext> | undefined;
236
- textStrokeColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
237
- textStrokeWidth?: import('chart.js').Scriptable<number, import('chart.js').ScriptableScaleContext> | undefined;
238
- z?: number | undefined;
239
- major?: {
240
- enabled: boolean;
241
- } | undefined;
242
- sampleSize?: number | undefined;
243
- align?: import('chart.js').Align | "inner" | undefined;
244
- autoSkip?: boolean | undefined;
245
- autoSkipPadding?: number | undefined;
246
- crossAlign?: "center" | "near" | "far" | undefined;
247
- includeBounds: boolean;
248
- labelOffset?: number | undefined;
249
- minRotation?: number | undefined;
250
- maxRotation?: number | undefined;
251
- mirror?: boolean | undefined;
252
- maxTicksLimit?: number | undefined;
253
- format?: Intl.NumberFormatOptions | undefined;
254
- precision?: number | undefined;
255
- stepSize: number | null | undefined;
256
- count?: number | undefined;
257
- } | {
258
- font: {
259
- size: number;
260
- } | {
261
- family?: string | undefined;
262
- size: number;
263
- style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
264
- weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
265
- lineHeight?: string | number | undefined;
266
- } | {
267
- size: number;
268
- } | {
269
- family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableScaleContext>;
270
- size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
271
- style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableScaleContext>;
272
- weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableScaleContext>;
273
- lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableScaleContext>;
274
- };
275
- backdropColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
276
- backdropPadding?: number | import('chart.js').ChartArea | undefined;
277
- callback: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: Tick[]) => string | string[] | number | number[] | null | undefined) | ((tick: number, _: UnusedParameter, ticks: Tick[]) => string);
278
- display?: boolean | undefined;
279
- color?: import('chart.js').ScriptableAndArray<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
280
- padding?: number | undefined;
281
- showLabelBackdrop?: import('chart.js').Scriptable<boolean, import('chart.js').ScriptableScaleContext> | undefined;
282
- textStrokeColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
283
- textStrokeWidth?: import('chart.js').Scriptable<number, import('chart.js').ScriptableScaleContext> | undefined;
284
- z?: number | undefined;
285
- major?: {
286
- enabled: boolean;
287
- } | undefined;
288
- sampleSize?: number | undefined;
289
- align?: import('chart.js').Align | "inner" | undefined;
290
- autoSkip?: boolean | undefined;
291
- autoSkipPadding?: number | undefined;
292
- crossAlign?: "center" | "near" | "far" | undefined;
293
- includeBounds: boolean;
294
- labelOffset?: number | undefined;
295
- minRotation?: number | undefined;
296
- maxRotation?: number | undefined;
297
- mirror?: boolean | undefined;
298
- maxTicksLimit?: number | undefined;
299
- format?: Intl.NumberFormatOptions | undefined;
300
- precision?: number | undefined;
301
- stepSize?: number | undefined;
302
- count?: number | undefined;
303
- };
304
- grid: {
305
- lineTension?: number;
306
- spanGaps?: boolean;
307
- showDataLabels?: boolean;
308
- showMinorGridlines?: boolean;
309
- };
310
- };
311
- } | {
312
- y: {
313
- display: boolean;
314
- type: "linear" | "logarithmic" | undefined;
315
- position: import('../../common/common.interface').TAxisPosition | undefined;
316
- beginAtZero: boolean | undefined;
317
- reverse: boolean | undefined;
318
- suggestedMax: number | undefined;
319
- suggestedMin: number | undefined;
320
- min: string | number | undefined;
321
- max: string | number | undefined;
322
- title: {
323
- font: {
324
- size: number;
325
- } | {
326
- family?: string | undefined;
327
- size: number;
328
- style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
329
- weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
330
- lineHeight?: string | number | undefined;
331
- } | {
332
- size: number;
333
- } | {
334
- family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableCartesianScaleContext>;
335
- size: number | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
336
- style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableCartesianScaleContext>;
337
- weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableCartesianScaleContext>;
338
- lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableCartesianScaleContext>;
339
- };
340
- display: number | boolean | undefined;
341
- align?: import('chart.js').Align | undefined;
342
- text: string | string[] | undefined;
343
- color?: import('chart.js').Color | undefined;
344
- padding: number | {
345
- top: number;
346
- bottom: number;
347
- y: number;
348
- };
349
- };
350
- ticks: {
351
- font: {
352
- size: number;
353
- } | {
354
- family?: string | undefined;
355
- size: number;
356
- style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
357
- weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
358
- lineHeight?: string | number | undefined;
359
- } | {
360
- size: number;
361
- } | {
362
- family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableScaleContext>;
363
- size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
364
- style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableScaleContext>;
365
- weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableScaleContext>;
366
- lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableScaleContext>;
367
- };
368
- backdropColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
369
- backdropPadding?: number | import('chart.js').ChartArea | undefined;
370
- callback: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: Tick[]) => string | string[] | number | number[] | null | undefined) | ((tick: number, _: UnusedParameter, ticks: Tick[]) => string);
371
- display?: boolean | undefined;
372
- color?: import('chart.js').ScriptableAndArray<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
373
- padding?: number | undefined;
374
- showLabelBackdrop?: import('chart.js').Scriptable<boolean, import('chart.js').ScriptableScaleContext> | undefined;
375
- textStrokeColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
376
- textStrokeWidth?: import('chart.js').Scriptable<number, import('chart.js').ScriptableScaleContext> | undefined;
377
- z?: number | undefined;
378
- major?: {
379
- enabled: boolean;
380
- } | undefined;
381
- sampleSize?: number | undefined;
382
- align?: import('chart.js').Align | "inner" | undefined;
383
- autoSkip?: boolean | undefined;
384
- autoSkipPadding?: number | undefined;
385
- crossAlign?: "center" | "near" | "far" | undefined;
386
- includeBounds: boolean;
387
- labelOffset?: number | undefined;
388
- minRotation?: number | undefined;
389
- maxRotation?: number | undefined;
390
- mirror?: boolean | undefined;
391
- maxTicksLimit?: number | undefined;
392
- format?: Intl.NumberFormatOptions | undefined;
393
- precision?: number | undefined;
394
- stepSize: number | null | undefined;
395
- count?: number | undefined;
396
- } | {
397
- font: {
398
- size: number;
399
- } | {
400
- family?: string | undefined;
401
- size: number;
402
- style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
403
- weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
404
- lineHeight?: string | number | undefined;
405
- } | {
406
- size: number;
407
- } | {
408
- family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableScaleContext>;
409
- size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
410
- style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableScaleContext>;
411
- weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableScaleContext>;
412
- lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableScaleContext>;
413
- };
414
- backdropColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
415
- backdropPadding?: number | import('chart.js').ChartArea | undefined;
416
- callback: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: Tick[]) => string | string[] | number | number[] | null | undefined) | ((tick: number, _: UnusedParameter, ticks: Tick[]) => string);
417
- display?: boolean | undefined;
418
- color?: import('chart.js').ScriptableAndArray<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
419
- padding?: number | undefined;
420
- showLabelBackdrop?: import('chart.js').Scriptable<boolean, import('chart.js').ScriptableScaleContext> | undefined;
421
- textStrokeColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
422
- textStrokeWidth?: import('chart.js').Scriptable<number, import('chart.js').ScriptableScaleContext> | undefined;
423
- z?: number | undefined;
424
- major?: {
425
- enabled: boolean;
426
- } | undefined;
427
- sampleSize?: number | undefined;
428
- align?: import('chart.js').Align | "inner" | undefined;
429
- autoSkip?: boolean | undefined;
430
- autoSkipPadding?: number | undefined;
431
- crossAlign?: "center" | "near" | "far" | undefined;
432
- includeBounds: boolean;
433
- labelOffset?: number | undefined;
434
- minRotation?: number | undefined;
435
- maxRotation?: number | undefined;
436
- mirror?: boolean | undefined;
437
- maxTicksLimit?: number | undefined;
438
- format?: Intl.NumberFormatOptions | undefined;
439
- precision?: number | undefined;
440
- stepSize?: number | undefined;
441
- count?: number | undefined;
442
- };
443
- grid: {
444
- lineTension?: number;
445
- spanGaps?: boolean;
446
- showDataLabels?: boolean;
447
- showMinorGridlines?: boolean;
448
- };
449
- };
450
- x: {
451
- display: boolean;
452
- type: "linear" | "logarithmic" | undefined;
453
- position: import('../../common/common.interface').TAxisPosition | undefined;
454
- beginAtZero: boolean | undefined;
455
- reverse: boolean | undefined;
456
- suggestedMax: number | undefined;
457
- suggestedMin: number | undefined;
458
- min: string | number | undefined;
459
- max: string | number | undefined;
460
- title: {
461
- font: {
462
- size: number;
463
- } | {
464
- family?: string | undefined;
465
- size: number;
466
- style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
467
- weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
468
- lineHeight?: string | number | undefined;
469
- } | {
470
- size: number;
471
- } | {
472
- family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableCartesianScaleContext>;
473
- size: number | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
474
- style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableCartesianScaleContext>;
475
- weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableCartesianScaleContext>;
476
- lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableCartesianScaleContext>;
477
- };
478
- display: number | boolean | undefined;
479
- align?: import('chart.js').Align | undefined;
480
- text: string | string[] | undefined;
481
- color?: import('chart.js').Color | undefined;
482
- padding: number | {
483
- top: number;
484
- bottom: number;
485
- y: number;
486
- };
487
- };
488
- ticks: {
489
- font: {
490
- size: number;
491
- } | {
492
- family?: string | undefined;
493
- size: number;
494
- style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
495
- weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
496
- lineHeight?: string | number | undefined;
497
- } | {
498
- size: number;
499
- } | {
500
- family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableScaleContext>;
501
- size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
502
- style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableScaleContext>;
503
- weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableScaleContext>;
504
- lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableScaleContext>;
505
- };
506
- backdropColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
507
- backdropPadding?: number | import('chart.js').ChartArea | undefined;
508
- callback: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: Tick[]) => string | string[] | number | number[] | null | undefined) | ((tick: number, _: UnusedParameter, ticks: Tick[]) => string);
509
- display?: boolean | undefined;
510
- color?: import('chart.js').ScriptableAndArray<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
511
- padding?: number | undefined;
512
- showLabelBackdrop?: import('chart.js').Scriptable<boolean, import('chart.js').ScriptableScaleContext> | undefined;
513
- textStrokeColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
514
- textStrokeWidth?: import('chart.js').Scriptable<number, import('chart.js').ScriptableScaleContext> | undefined;
515
- z?: number | undefined;
516
- major?: {
517
- enabled: boolean;
518
- } | undefined;
519
- sampleSize?: number | undefined;
520
- align?: import('chart.js').Align | "inner" | undefined;
521
- autoSkip?: boolean | undefined;
522
- autoSkipPadding?: number | undefined;
523
- crossAlign?: "center" | "near" | "far" | undefined;
524
- includeBounds: boolean;
525
- labelOffset?: number | undefined;
526
- minRotation?: number | undefined;
527
- maxRotation?: number | undefined;
528
- mirror?: boolean | undefined;
529
- maxTicksLimit?: number | undefined;
530
- format?: Intl.NumberFormatOptions | undefined;
531
- precision?: number | undefined;
532
- stepSize: number | null | undefined;
533
- count?: number | undefined;
534
- } | {
535
- font: {
536
- size: number;
537
- } | {
538
- family?: string | undefined;
539
- size: number;
540
- style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
541
- weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
542
- lineHeight?: string | number | undefined;
543
- } | {
544
- size: number;
545
- } | {
546
- family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableScaleContext>;
547
- size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
548
- style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableScaleContext>;
549
- weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableScaleContext>;
550
- lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableScaleContext>;
551
- };
552
- backdropColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
553
- backdropPadding?: number | import('chart.js').ChartArea | undefined;
554
- callback: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: Tick[]) => string | string[] | number | number[] | null | undefined) | ((tick: number, _: UnusedParameter, ticks: Tick[]) => string);
555
- display?: boolean | undefined;
556
- color?: import('chart.js').ScriptableAndArray<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
557
- padding?: number | undefined;
558
- showLabelBackdrop?: import('chart.js').Scriptable<boolean, import('chart.js').ScriptableScaleContext> | undefined;
559
- textStrokeColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
560
- textStrokeWidth?: import('chart.js').Scriptable<number, import('chart.js').ScriptableScaleContext> | undefined;
561
- z?: number | undefined;
562
- major?: {
563
- enabled: boolean;
564
- } | undefined;
565
- sampleSize?: number | undefined;
566
- align?: import('chart.js').Align | "inner" | undefined;
567
- autoSkip?: boolean | undefined;
568
- autoSkipPadding?: number | undefined;
569
- crossAlign?: "center" | "near" | "far" | undefined;
570
- includeBounds: boolean;
571
- labelOffset?: number | undefined;
572
- minRotation?: number | undefined;
573
- maxRotation?: number | undefined;
574
- mirror?: boolean | undefined;
575
- maxTicksLimit?: number | undefined;
576
- format?: Intl.NumberFormatOptions | undefined;
577
- precision?: number | undefined;
578
- stepSize?: number | undefined;
579
- count?: number | undefined;
580
- };
581
- grid: {
582
- lineTension?: number;
583
- spanGaps?: boolean;
584
- showDataLabels?: boolean;
585
- showMinorGridlines?: boolean;
586
- };
587
- };
588
- };
3
+ import { ICommonScaleOptions } from '../../common/common.interface';
4
+ declare const getLineChartScales: (options: ILineChartOptions, state: IState) => Record<string, ICommonScaleOptions>;
589
5
  export default getLineChartScales;