@oliasoft-open-source/charts-library 5.14.1 → 5.15.0-beta-1
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/dist/index.js +40 -20
- package/dist/src/components/common/common.interface.d.ts +5 -7
- package/dist/src/components/common/enums.d.ts +3 -1
- package/dist/src/components/line-chart/line-chart.interface.d.ts +3 -3
- package/dist/src/components/line-chart/utils/get-line-chart-scales.d.ts +2 -586
- package/dist/src/components/scatter-chart/hooks/use-scatter-chart-config.d.ts +348 -46
- package/dist/src/components/scatter-chart/utils/get-scales-config.d.ts +348 -46
- package/package.json +4 -2
|
@@ -22,21 +22,21 @@ export declare const getScatterChartScales: (options: IDefaultScatterOptions) =>
|
|
|
22
22
|
} | {
|
|
23
23
|
size: number;
|
|
24
24
|
} | {
|
|
25
|
-
family?: import('chart.js').
|
|
25
|
+
family?: string | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
|
|
26
26
|
size: number | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
|
|
27
|
-
style?: import('chart.js').
|
|
28
|
-
weight?: import('chart.js').
|
|
29
|
-
lineHeight?: import('chart.js').
|
|
27
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined) | undefined;
|
|
28
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | "bold" | "normal" | "lighter" | "bolder" | null | undefined) | null | undefined;
|
|
29
|
+
lineHeight?: string | number | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
|
|
30
30
|
};
|
|
31
31
|
display: boolean;
|
|
32
|
-
align?:
|
|
33
|
-
text: string | string
|
|
34
|
-
color?: import('chart.js').
|
|
35
|
-
padding: number | {
|
|
32
|
+
align?: "end" | "start" | "center" | undefined;
|
|
33
|
+
text: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialArray<string> | undefined;
|
|
34
|
+
color?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | undefined;
|
|
35
|
+
padding: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
|
|
36
36
|
top: number;
|
|
37
37
|
bottom: number;
|
|
38
38
|
y: number;
|
|
39
|
-
}
|
|
39
|
+
}>;
|
|
40
40
|
};
|
|
41
41
|
ticks: {
|
|
42
42
|
font: {
|
|
@@ -50,27 +50,90 @@ export declare const getScatterChartScales: (options: IDefaultScatterOptions) =>
|
|
|
50
50
|
} | {
|
|
51
51
|
size: number;
|
|
52
52
|
} | {
|
|
53
|
-
family?: import('chart.js').
|
|
53
|
+
family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
|
|
54
|
+
size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
|
|
55
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined) | undefined;
|
|
56
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | "bold" | "normal" | "lighter" | "bolder" | null | undefined) | null | undefined;
|
|
57
|
+
lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
|
|
58
|
+
};
|
|
59
|
+
includeBounds: boolean;
|
|
60
|
+
stepSize: number | undefined;
|
|
61
|
+
} | {
|
|
62
|
+
font: {
|
|
63
|
+
size: number;
|
|
64
|
+
} | {
|
|
65
|
+
family?: string | undefined;
|
|
66
|
+
size: number;
|
|
67
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
|
|
68
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
|
|
69
|
+
lineHeight?: string | number | undefined;
|
|
70
|
+
} | {
|
|
71
|
+
size: number;
|
|
72
|
+
} | {
|
|
73
|
+
family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
|
|
74
|
+
size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
|
|
75
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined) | undefined;
|
|
76
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | "bold" | "normal" | "lighter" | "bolder" | null | undefined) | null | undefined;
|
|
77
|
+
lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
|
|
78
|
+
};
|
|
79
|
+
backdropColor?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
80
|
+
backdropPadding?: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<import('chart.js').ChartArea> | undefined;
|
|
81
|
+
callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
|
|
82
|
+
display?: boolean | undefined;
|
|
83
|
+
color?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | readonly (string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | undefined)[] | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
84
|
+
padding?: number | undefined;
|
|
85
|
+
showLabelBackdrop?: boolean | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => boolean | undefined) | undefined;
|
|
86
|
+
textStrokeColor?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
87
|
+
textStrokeWidth?: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined) | undefined;
|
|
88
|
+
z?: number | undefined;
|
|
89
|
+
major?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
|
|
90
|
+
enabled: boolean;
|
|
91
|
+
}> | undefined;
|
|
92
|
+
sampleSize?: number | undefined;
|
|
93
|
+
align?: "end" | "start" | "center" | "inner" | undefined;
|
|
94
|
+
autoSkip?: boolean | undefined;
|
|
95
|
+
autoSkipPadding?: number | undefined;
|
|
96
|
+
crossAlign?: "center" | "near" | "far" | undefined;
|
|
97
|
+
includeBounds: boolean;
|
|
98
|
+
labelOffset?: number | undefined;
|
|
99
|
+
minRotation?: number | undefined;
|
|
100
|
+
maxRotation?: number | undefined;
|
|
101
|
+
mirror?: boolean | undefined;
|
|
102
|
+
maxTicksLimit?: number | undefined;
|
|
103
|
+
stepSize: number | undefined;
|
|
104
|
+
} | {
|
|
105
|
+
font: {
|
|
106
|
+
size: number;
|
|
107
|
+
} | {
|
|
108
|
+
family?: string | undefined;
|
|
109
|
+
size: number;
|
|
110
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
|
|
111
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
|
|
112
|
+
lineHeight?: string | number | undefined;
|
|
113
|
+
} | {
|
|
114
|
+
size: number;
|
|
115
|
+
} | {
|
|
116
|
+
family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
|
|
54
117
|
size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
|
|
55
|
-
style?: import('chart.js').
|
|
56
|
-
weight?: import('chart.js').
|
|
57
|
-
lineHeight?: import('chart.js').
|
|
118
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined) | undefined;
|
|
119
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | "bold" | "normal" | "lighter" | "bolder" | null | undefined) | null | undefined;
|
|
120
|
+
lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
|
|
58
121
|
};
|
|
59
|
-
backdropColor?: import('chart.js').
|
|
60
|
-
backdropPadding?: number | import('chart.js').ChartArea | undefined;
|
|
122
|
+
backdropColor?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
123
|
+
backdropPadding?: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<import('chart.js').ChartArea> | undefined;
|
|
61
124
|
callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
|
|
62
125
|
display?: boolean | undefined;
|
|
63
|
-
color?: import('chart.js').
|
|
126
|
+
color?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | readonly (string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | undefined)[] | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
64
127
|
padding?: number | undefined;
|
|
65
|
-
showLabelBackdrop?: import('chart.js').
|
|
66
|
-
textStrokeColor?: import('chart.js').
|
|
67
|
-
textStrokeWidth?: import('chart.js').
|
|
128
|
+
showLabelBackdrop?: boolean | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => boolean | undefined) | undefined;
|
|
129
|
+
textStrokeColor?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
130
|
+
textStrokeWidth?: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined) | undefined;
|
|
68
131
|
z?: number | undefined;
|
|
69
|
-
major?: {
|
|
132
|
+
major?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
|
|
70
133
|
enabled: boolean;
|
|
71
|
-
} | undefined;
|
|
134
|
+
}> | undefined;
|
|
72
135
|
sampleSize?: number | undefined;
|
|
73
|
-
align?:
|
|
136
|
+
align?: "end" | "start" | "center" | "inner" | undefined;
|
|
74
137
|
autoSkip?: boolean | undefined;
|
|
75
138
|
autoSkipPadding?: number | undefined;
|
|
76
139
|
crossAlign?: "center" | "near" | "far" | undefined;
|
|
@@ -80,10 +143,98 @@ export declare const getScatterChartScales: (options: IDefaultScatterOptions) =>
|
|
|
80
143
|
maxRotation?: number | undefined;
|
|
81
144
|
mirror?: boolean | undefined;
|
|
82
145
|
maxTicksLimit?: number | undefined;
|
|
83
|
-
format?: Intl.NumberFormatOptions | undefined;
|
|
146
|
+
format?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<Intl.NumberFormatOptions> | undefined;
|
|
84
147
|
precision?: number | undefined;
|
|
85
148
|
stepSize: number | undefined;
|
|
86
149
|
count?: number | undefined;
|
|
150
|
+
} | {
|
|
151
|
+
font: {
|
|
152
|
+
size: number;
|
|
153
|
+
} | {
|
|
154
|
+
family?: string | undefined;
|
|
155
|
+
size: number;
|
|
156
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
|
|
157
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
|
|
158
|
+
lineHeight?: string | number | undefined;
|
|
159
|
+
} | {
|
|
160
|
+
size: number;
|
|
161
|
+
} | {
|
|
162
|
+
family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
|
|
163
|
+
size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
|
|
164
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined) | undefined;
|
|
165
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | "bold" | "normal" | "lighter" | "bolder" | null | undefined) | null | undefined;
|
|
166
|
+
lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
|
|
167
|
+
};
|
|
168
|
+
backdropColor?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
169
|
+
backdropPadding?: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<import('chart.js').ChartArea> | undefined;
|
|
170
|
+
callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
|
|
171
|
+
display?: boolean | undefined;
|
|
172
|
+
color?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | readonly (string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | undefined)[] | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
173
|
+
padding?: number | undefined;
|
|
174
|
+
showLabelBackdrop?: boolean | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => boolean | undefined) | undefined;
|
|
175
|
+
textStrokeColor?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
176
|
+
textStrokeWidth?: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined) | undefined;
|
|
177
|
+
z?: number | undefined;
|
|
178
|
+
major?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
|
|
179
|
+
enabled: boolean;
|
|
180
|
+
}> | undefined;
|
|
181
|
+
sampleSize?: number | undefined;
|
|
182
|
+
align?: "end" | "start" | "center" | "inner" | undefined;
|
|
183
|
+
autoSkip?: boolean | undefined;
|
|
184
|
+
autoSkipPadding?: number | undefined;
|
|
185
|
+
crossAlign?: "center" | "near" | "far" | undefined;
|
|
186
|
+
includeBounds: boolean;
|
|
187
|
+
labelOffset?: number | undefined;
|
|
188
|
+
minRotation?: number | undefined;
|
|
189
|
+
maxRotation?: number | undefined;
|
|
190
|
+
mirror?: boolean | undefined;
|
|
191
|
+
maxTicksLimit?: number | undefined;
|
|
192
|
+
format?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<Intl.NumberFormatOptions> | undefined;
|
|
193
|
+
stepSize: number | undefined;
|
|
194
|
+
} | {
|
|
195
|
+
font: {
|
|
196
|
+
size: number;
|
|
197
|
+
} | {
|
|
198
|
+
family?: string | undefined;
|
|
199
|
+
size: number;
|
|
200
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
|
|
201
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
|
|
202
|
+
lineHeight?: string | number | undefined;
|
|
203
|
+
} | {
|
|
204
|
+
size: number;
|
|
205
|
+
} | {
|
|
206
|
+
family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
|
|
207
|
+
size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
|
|
208
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined) | undefined;
|
|
209
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | "bold" | "normal" | "lighter" | "bolder" | null | undefined) | null | undefined;
|
|
210
|
+
lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
|
|
211
|
+
};
|
|
212
|
+
backdropColor?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
213
|
+
backdropPadding?: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<import('chart.js').ChartArea> | undefined;
|
|
214
|
+
callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
|
|
215
|
+
display?: boolean | undefined;
|
|
216
|
+
color?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | readonly (string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | undefined)[] | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
217
|
+
padding?: number | undefined;
|
|
218
|
+
showLabelBackdrop?: boolean | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => boolean | undefined) | undefined;
|
|
219
|
+
textStrokeColor?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
220
|
+
textStrokeWidth?: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined) | undefined;
|
|
221
|
+
z?: number | undefined;
|
|
222
|
+
major?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
|
|
223
|
+
enabled: boolean;
|
|
224
|
+
}> | undefined;
|
|
225
|
+
sampleSize?: number | undefined;
|
|
226
|
+
align?: "end" | "start" | "center" | "inner" | undefined;
|
|
227
|
+
autoSkip?: boolean | undefined;
|
|
228
|
+
autoSkipPadding?: number | undefined;
|
|
229
|
+
crossAlign?: "center" | "near" | "far" | undefined;
|
|
230
|
+
includeBounds: boolean;
|
|
231
|
+
labelOffset?: number | undefined;
|
|
232
|
+
minRotation?: number | undefined;
|
|
233
|
+
maxRotation?: number | undefined;
|
|
234
|
+
mirror?: boolean | undefined;
|
|
235
|
+
maxTicksLimit?: number | undefined;
|
|
236
|
+
source?: "data" | "auto" | "labels" | undefined;
|
|
237
|
+
stepSize: number | undefined;
|
|
87
238
|
};
|
|
88
239
|
grid: {};
|
|
89
240
|
};
|
|
@@ -108,21 +259,21 @@ export declare const getScatterChartScales: (options: IDefaultScatterOptions) =>
|
|
|
108
259
|
} | {
|
|
109
260
|
size: number;
|
|
110
261
|
} | {
|
|
111
|
-
family?: import('chart.js').
|
|
262
|
+
family?: string | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
|
|
112
263
|
size: number | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
|
|
113
|
-
style?: import('chart.js').
|
|
114
|
-
weight?: import('chart.js').
|
|
115
|
-
lineHeight?: import('chart.js').
|
|
264
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined) | undefined;
|
|
265
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | "bold" | "normal" | "lighter" | "bolder" | null | undefined) | null | undefined;
|
|
266
|
+
lineHeight?: string | number | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
|
|
116
267
|
};
|
|
117
268
|
display: boolean;
|
|
118
|
-
align?:
|
|
119
|
-
text: string | string
|
|
120
|
-
color?: import('chart.js').
|
|
121
|
-
padding: number | {
|
|
269
|
+
align?: "end" | "start" | "center" | undefined;
|
|
270
|
+
text: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialArray<string> | undefined;
|
|
271
|
+
color?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | undefined;
|
|
272
|
+
padding: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
|
|
122
273
|
top: number;
|
|
123
274
|
bottom: number;
|
|
124
275
|
y: number;
|
|
125
|
-
}
|
|
276
|
+
}>;
|
|
126
277
|
};
|
|
127
278
|
ticks: {
|
|
128
279
|
font: {
|
|
@@ -136,27 +287,90 @@ export declare const getScatterChartScales: (options: IDefaultScatterOptions) =>
|
|
|
136
287
|
} | {
|
|
137
288
|
size: number;
|
|
138
289
|
} | {
|
|
139
|
-
family?: import('chart.js').
|
|
290
|
+
family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
|
|
291
|
+
size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
|
|
292
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined) | undefined;
|
|
293
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | "bold" | "normal" | "lighter" | "bolder" | null | undefined) | null | undefined;
|
|
294
|
+
lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
|
|
295
|
+
};
|
|
296
|
+
includeBounds: boolean;
|
|
297
|
+
stepSize: number | undefined;
|
|
298
|
+
} | {
|
|
299
|
+
font: {
|
|
300
|
+
size: number;
|
|
301
|
+
} | {
|
|
302
|
+
family?: string | undefined;
|
|
303
|
+
size: number;
|
|
304
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
|
|
305
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
|
|
306
|
+
lineHeight?: string | number | undefined;
|
|
307
|
+
} | {
|
|
308
|
+
size: number;
|
|
309
|
+
} | {
|
|
310
|
+
family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
|
|
311
|
+
size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
|
|
312
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined) | undefined;
|
|
313
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | "bold" | "normal" | "lighter" | "bolder" | null | undefined) | null | undefined;
|
|
314
|
+
lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
|
|
315
|
+
};
|
|
316
|
+
backdropColor?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
317
|
+
backdropPadding?: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<import('chart.js').ChartArea> | undefined;
|
|
318
|
+
callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
|
|
319
|
+
display?: boolean | undefined;
|
|
320
|
+
color?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | readonly (string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | undefined)[] | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
321
|
+
padding?: number | undefined;
|
|
322
|
+
showLabelBackdrop?: boolean | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => boolean | undefined) | undefined;
|
|
323
|
+
textStrokeColor?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
324
|
+
textStrokeWidth?: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined) | undefined;
|
|
325
|
+
z?: number | undefined;
|
|
326
|
+
major?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
|
|
327
|
+
enabled: boolean;
|
|
328
|
+
}> | undefined;
|
|
329
|
+
sampleSize?: number | undefined;
|
|
330
|
+
align?: "end" | "start" | "center" | "inner" | undefined;
|
|
331
|
+
autoSkip?: boolean | undefined;
|
|
332
|
+
autoSkipPadding?: number | undefined;
|
|
333
|
+
crossAlign?: "center" | "near" | "far" | undefined;
|
|
334
|
+
includeBounds: boolean;
|
|
335
|
+
labelOffset?: number | undefined;
|
|
336
|
+
minRotation?: number | undefined;
|
|
337
|
+
maxRotation?: number | undefined;
|
|
338
|
+
mirror?: boolean | undefined;
|
|
339
|
+
maxTicksLimit?: number | undefined;
|
|
340
|
+
stepSize: number | undefined;
|
|
341
|
+
} | {
|
|
342
|
+
font: {
|
|
343
|
+
size: number;
|
|
344
|
+
} | {
|
|
345
|
+
family?: string | undefined;
|
|
346
|
+
size: number;
|
|
347
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
|
|
348
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
|
|
349
|
+
lineHeight?: string | number | undefined;
|
|
350
|
+
} | {
|
|
351
|
+
size: number;
|
|
352
|
+
} | {
|
|
353
|
+
family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
|
|
140
354
|
size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
|
|
141
|
-
style?: import('chart.js').
|
|
142
|
-
weight?: import('chart.js').
|
|
143
|
-
lineHeight?: import('chart.js').
|
|
355
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined) | undefined;
|
|
356
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | "bold" | "normal" | "lighter" | "bolder" | null | undefined) | null | undefined;
|
|
357
|
+
lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
|
|
144
358
|
};
|
|
145
|
-
backdropColor?: import('chart.js').
|
|
146
|
-
backdropPadding?: number | import('chart.js').ChartArea | undefined;
|
|
359
|
+
backdropColor?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
360
|
+
backdropPadding?: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<import('chart.js').ChartArea> | undefined;
|
|
147
361
|
callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
|
|
148
362
|
display?: boolean | undefined;
|
|
149
|
-
color?: import('chart.js').
|
|
363
|
+
color?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | readonly (string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | undefined)[] | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
150
364
|
padding?: number | undefined;
|
|
151
|
-
showLabelBackdrop?: import('chart.js').
|
|
152
|
-
textStrokeColor?: import('chart.js').
|
|
153
|
-
textStrokeWidth?: import('chart.js').
|
|
365
|
+
showLabelBackdrop?: boolean | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => boolean | undefined) | undefined;
|
|
366
|
+
textStrokeColor?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
367
|
+
textStrokeWidth?: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined) | undefined;
|
|
154
368
|
z?: number | undefined;
|
|
155
|
-
major?: {
|
|
369
|
+
major?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
|
|
156
370
|
enabled: boolean;
|
|
157
|
-
} | undefined;
|
|
371
|
+
}> | undefined;
|
|
158
372
|
sampleSize?: number | undefined;
|
|
159
|
-
align?:
|
|
373
|
+
align?: "end" | "start" | "center" | "inner" | undefined;
|
|
160
374
|
autoSkip?: boolean | undefined;
|
|
161
375
|
autoSkipPadding?: number | undefined;
|
|
162
376
|
crossAlign?: "center" | "near" | "far" | undefined;
|
|
@@ -166,10 +380,98 @@ export declare const getScatterChartScales: (options: IDefaultScatterOptions) =>
|
|
|
166
380
|
maxRotation?: number | undefined;
|
|
167
381
|
mirror?: boolean | undefined;
|
|
168
382
|
maxTicksLimit?: number | undefined;
|
|
169
|
-
format?: Intl.NumberFormatOptions | undefined;
|
|
383
|
+
format?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<Intl.NumberFormatOptions> | undefined;
|
|
170
384
|
precision?: number | undefined;
|
|
171
385
|
stepSize: number | undefined;
|
|
172
386
|
count?: number | undefined;
|
|
387
|
+
} | {
|
|
388
|
+
font: {
|
|
389
|
+
size: number;
|
|
390
|
+
} | {
|
|
391
|
+
family?: string | undefined;
|
|
392
|
+
size: number;
|
|
393
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
|
|
394
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
|
|
395
|
+
lineHeight?: string | number | undefined;
|
|
396
|
+
} | {
|
|
397
|
+
size: number;
|
|
398
|
+
} | {
|
|
399
|
+
family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
|
|
400
|
+
size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
|
|
401
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined) | undefined;
|
|
402
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | "bold" | "normal" | "lighter" | "bolder" | null | undefined) | null | undefined;
|
|
403
|
+
lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
|
|
404
|
+
};
|
|
405
|
+
backdropColor?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
406
|
+
backdropPadding?: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<import('chart.js').ChartArea> | undefined;
|
|
407
|
+
callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
|
|
408
|
+
display?: boolean | undefined;
|
|
409
|
+
color?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | readonly (string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | undefined)[] | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
410
|
+
padding?: number | undefined;
|
|
411
|
+
showLabelBackdrop?: boolean | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => boolean | undefined) | undefined;
|
|
412
|
+
textStrokeColor?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
413
|
+
textStrokeWidth?: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined) | undefined;
|
|
414
|
+
z?: number | undefined;
|
|
415
|
+
major?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
|
|
416
|
+
enabled: boolean;
|
|
417
|
+
}> | undefined;
|
|
418
|
+
sampleSize?: number | undefined;
|
|
419
|
+
align?: "end" | "start" | "center" | "inner" | undefined;
|
|
420
|
+
autoSkip?: boolean | undefined;
|
|
421
|
+
autoSkipPadding?: number | undefined;
|
|
422
|
+
crossAlign?: "center" | "near" | "far" | undefined;
|
|
423
|
+
includeBounds: boolean;
|
|
424
|
+
labelOffset?: number | undefined;
|
|
425
|
+
minRotation?: number | undefined;
|
|
426
|
+
maxRotation?: number | undefined;
|
|
427
|
+
mirror?: boolean | undefined;
|
|
428
|
+
maxTicksLimit?: number | undefined;
|
|
429
|
+
format?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<Intl.NumberFormatOptions> | undefined;
|
|
430
|
+
stepSize: number | undefined;
|
|
431
|
+
} | {
|
|
432
|
+
font: {
|
|
433
|
+
size: number;
|
|
434
|
+
} | {
|
|
435
|
+
family?: string | undefined;
|
|
436
|
+
size: number;
|
|
437
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
|
|
438
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
|
|
439
|
+
lineHeight?: string | number | undefined;
|
|
440
|
+
} | {
|
|
441
|
+
size: number;
|
|
442
|
+
} | {
|
|
443
|
+
family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
|
|
444
|
+
size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
|
|
445
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined) | undefined;
|
|
446
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | "bold" | "normal" | "lighter" | "bolder" | null | undefined) | null | undefined;
|
|
447
|
+
lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
|
|
448
|
+
};
|
|
449
|
+
backdropColor?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
450
|
+
backdropPadding?: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<import('chart.js').ChartArea> | undefined;
|
|
451
|
+
callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
|
|
452
|
+
display?: boolean | undefined;
|
|
453
|
+
color?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | readonly (string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | undefined)[] | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
454
|
+
padding?: number | undefined;
|
|
455
|
+
showLabelBackdrop?: boolean | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => boolean | undefined) | undefined;
|
|
456
|
+
textStrokeColor?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => import('chart.js').Color | undefined) | undefined;
|
|
457
|
+
textStrokeWidth?: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined) | undefined;
|
|
458
|
+
z?: number | undefined;
|
|
459
|
+
major?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
|
|
460
|
+
enabled: boolean;
|
|
461
|
+
}> | undefined;
|
|
462
|
+
sampleSize?: number | undefined;
|
|
463
|
+
align?: "end" | "start" | "center" | "inner" | undefined;
|
|
464
|
+
autoSkip?: boolean | undefined;
|
|
465
|
+
autoSkipPadding?: number | undefined;
|
|
466
|
+
crossAlign?: "center" | "near" | "far" | undefined;
|
|
467
|
+
includeBounds: boolean;
|
|
468
|
+
labelOffset?: number | undefined;
|
|
469
|
+
minRotation?: number | undefined;
|
|
470
|
+
maxRotation?: number | undefined;
|
|
471
|
+
mirror?: boolean | undefined;
|
|
472
|
+
maxTicksLimit?: number | undefined;
|
|
473
|
+
source?: "data" | "auto" | "labels" | undefined;
|
|
474
|
+
stepSize: number | undefined;
|
|
173
475
|
};
|
|
174
476
|
grid: {};
|
|
175
477
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oliasoft-open-source/charts-library",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.15.0-beta-1",
|
|
4
4
|
"description": "React Chart Library (based on Chart.js and react-chart-js-2)",
|
|
5
5
|
"homepage": "https://gitlab.com/oliasoft-open-source/charts-library",
|
|
6
6
|
"bugs": {
|
|
@@ -28,11 +28,13 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@fontsource/noto-sans": "^5.2.7",
|
|
30
30
|
"chart.js": "^4.4.9",
|
|
31
|
+
"chartjs-adapter-date-fns": "^3.0.0",
|
|
31
32
|
"chartjs-plugin-annotation": "^3.1.0",
|
|
32
33
|
"chartjs-plugin-datalabels": "^2.2.0",
|
|
33
34
|
"chartjs-plugin-dragdata": "2.2.5",
|
|
34
35
|
"chartjs-plugin-zoom": "2.2.0",
|
|
35
36
|
"colord": "^2.9.3",
|
|
37
|
+
"date-fns": "^4.1.0",
|
|
36
38
|
"fast-deep-equal": "^3.1.3",
|
|
37
39
|
"html-to-image": "^1.11.13",
|
|
38
40
|
"object-hash": "^3.0.0",
|
|
@@ -73,10 +75,10 @@
|
|
|
73
75
|
"react-dom": "^18.2.0",
|
|
74
76
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
75
77
|
"storybook": "^10.2.17",
|
|
78
|
+
"typescript": "^5.9.3",
|
|
76
79
|
"vite": "8.0.12",
|
|
77
80
|
"vite-plugin-css-injected-by-js": "^5.0.1",
|
|
78
81
|
"vite-plugin-dts": "^5.0.0",
|
|
79
|
-
"typescript": "^5.9.3",
|
|
80
82
|
"vite-plugin-optimize-persist": "^0.1.2",
|
|
81
83
|
"vite-plugin-svgr": "^5.2.0",
|
|
82
84
|
"vitest": "^4.1.6"
|