@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.
@@ -32,21 +32,21 @@ export declare const useScatterChartConfig: (chart: IScatterChartDefaultProps, c
32
32
  } | {
33
33
  size: number;
34
34
  } | {
35
- family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableCartesianScaleContext>;
35
+ family?: string | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
36
36
  size: number | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
37
- style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableCartesianScaleContext>;
38
- weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableCartesianScaleContext>;
39
- lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableCartesianScaleContext>;
37
+ 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;
38
+ 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;
39
+ lineHeight?: string | number | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
40
40
  };
41
41
  display: boolean;
42
- align?: import('chart.js').Align | undefined;
43
- text: string | string[] | undefined;
44
- color?: import('chart.js').Color | undefined;
45
- padding: number | {
42
+ align?: "end" | "start" | "center" | undefined;
43
+ text: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialArray<string> | undefined;
44
+ color?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | undefined;
45
+ padding: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
46
46
  top: number;
47
47
  bottom: number;
48
48
  y: number;
49
- };
49
+ }>;
50
50
  };
51
51
  ticks: {
52
52
  font: {
@@ -60,27 +60,90 @@ export declare const useScatterChartConfig: (chart: IScatterChartDefaultProps, c
60
60
  } | {
61
61
  size: number;
62
62
  } | {
63
- family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableScaleContext>;
63
+ family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
64
+ size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
65
+ 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;
66
+ 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;
67
+ lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
68
+ };
69
+ includeBounds: boolean;
70
+ stepSize: number | undefined;
71
+ } | {
72
+ font: {
73
+ size: number;
74
+ } | {
75
+ family?: string | undefined;
76
+ size: number;
77
+ style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
78
+ weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
79
+ lineHeight?: string | number | undefined;
80
+ } | {
81
+ size: number;
82
+ } | {
83
+ family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
84
+ size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
85
+ 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;
86
+ 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;
87
+ lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
88
+ };
89
+ 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;
90
+ backdropPadding?: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<import('chart.js').ChartArea> | undefined;
91
+ callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
92
+ display?: boolean | undefined;
93
+ 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;
94
+ padding?: number | undefined;
95
+ showLabelBackdrop?: boolean | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => boolean | undefined) | undefined;
96
+ 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;
97
+ textStrokeWidth?: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined) | undefined;
98
+ z?: number | undefined;
99
+ major?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
100
+ enabled: boolean;
101
+ }> | undefined;
102
+ sampleSize?: number | undefined;
103
+ align?: "end" | "start" | "center" | "inner" | undefined;
104
+ autoSkip?: boolean | undefined;
105
+ autoSkipPadding?: number | undefined;
106
+ crossAlign?: "center" | "near" | "far" | undefined;
107
+ includeBounds: boolean;
108
+ labelOffset?: number | undefined;
109
+ minRotation?: number | undefined;
110
+ maxRotation?: number | undefined;
111
+ mirror?: boolean | undefined;
112
+ maxTicksLimit?: number | undefined;
113
+ stepSize: number | undefined;
114
+ } | {
115
+ font: {
116
+ size: number;
117
+ } | {
118
+ family?: string | undefined;
119
+ size: number;
120
+ style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
121
+ weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
122
+ lineHeight?: string | number | undefined;
123
+ } | {
124
+ size: number;
125
+ } | {
126
+ family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
64
127
  size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
65
- style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableScaleContext>;
66
- weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableScaleContext>;
67
- lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableScaleContext>;
128
+ 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;
129
+ 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;
130
+ lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
68
131
  };
69
- backdropColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
70
- backdropPadding?: number | import('chart.js').ChartArea | undefined;
132
+ 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;
133
+ backdropPadding?: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<import('chart.js').ChartArea> | undefined;
71
134
  callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
72
135
  display?: boolean | undefined;
73
- color?: import('chart.js').ScriptableAndArray<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
136
+ 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;
74
137
  padding?: number | undefined;
75
- showLabelBackdrop?: import('chart.js').Scriptable<boolean, import('chart.js').ScriptableScaleContext> | undefined;
76
- textStrokeColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
77
- textStrokeWidth?: import('chart.js').Scriptable<number, import('chart.js').ScriptableScaleContext> | undefined;
138
+ showLabelBackdrop?: boolean | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => boolean | undefined) | undefined;
139
+ 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;
140
+ textStrokeWidth?: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined) | undefined;
78
141
  z?: number | undefined;
79
- major?: {
142
+ major?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
80
143
  enabled: boolean;
81
- } | undefined;
144
+ }> | undefined;
82
145
  sampleSize?: number | undefined;
83
- align?: import('chart.js').Align | "inner" | undefined;
146
+ align?: "end" | "start" | "center" | "inner" | undefined;
84
147
  autoSkip?: boolean | undefined;
85
148
  autoSkipPadding?: number | undefined;
86
149
  crossAlign?: "center" | "near" | "far" | undefined;
@@ -90,10 +153,98 @@ export declare const useScatterChartConfig: (chart: IScatterChartDefaultProps, c
90
153
  maxRotation?: number | undefined;
91
154
  mirror?: boolean | undefined;
92
155
  maxTicksLimit?: number | undefined;
93
- format?: Intl.NumberFormatOptions | undefined;
156
+ format?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<Intl.NumberFormatOptions> | undefined;
94
157
  precision?: number | undefined;
95
158
  stepSize: number | undefined;
96
159
  count?: number | undefined;
160
+ } | {
161
+ font: {
162
+ size: number;
163
+ } | {
164
+ family?: string | undefined;
165
+ size: number;
166
+ style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
167
+ weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
168
+ lineHeight?: string | number | undefined;
169
+ } | {
170
+ size: number;
171
+ } | {
172
+ family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
173
+ size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
174
+ 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;
175
+ 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;
176
+ lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
177
+ };
178
+ 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;
179
+ backdropPadding?: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<import('chart.js').ChartArea> | undefined;
180
+ callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
181
+ display?: boolean | undefined;
182
+ 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;
183
+ padding?: number | undefined;
184
+ showLabelBackdrop?: boolean | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => boolean | undefined) | undefined;
185
+ 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;
186
+ textStrokeWidth?: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined) | undefined;
187
+ z?: number | undefined;
188
+ major?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
189
+ enabled: boolean;
190
+ }> | undefined;
191
+ sampleSize?: number | undefined;
192
+ align?: "end" | "start" | "center" | "inner" | undefined;
193
+ autoSkip?: boolean | undefined;
194
+ autoSkipPadding?: number | undefined;
195
+ crossAlign?: "center" | "near" | "far" | undefined;
196
+ includeBounds: boolean;
197
+ labelOffset?: number | undefined;
198
+ minRotation?: number | undefined;
199
+ maxRotation?: number | undefined;
200
+ mirror?: boolean | undefined;
201
+ maxTicksLimit?: number | undefined;
202
+ format?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<Intl.NumberFormatOptions> | undefined;
203
+ stepSize: number | undefined;
204
+ } | {
205
+ font: {
206
+ size: number;
207
+ } | {
208
+ family?: string | undefined;
209
+ size: number;
210
+ style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
211
+ weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
212
+ lineHeight?: string | number | undefined;
213
+ } | {
214
+ size: number;
215
+ } | {
216
+ family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
217
+ size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
218
+ 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;
219
+ 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;
220
+ lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
221
+ };
222
+ 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;
223
+ backdropPadding?: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<import('chart.js').ChartArea> | undefined;
224
+ callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
225
+ display?: boolean | undefined;
226
+ 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;
227
+ padding?: number | undefined;
228
+ showLabelBackdrop?: boolean | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => boolean | undefined) | undefined;
229
+ 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;
230
+ textStrokeWidth?: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined) | undefined;
231
+ z?: number | undefined;
232
+ major?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
233
+ enabled: boolean;
234
+ }> | undefined;
235
+ sampleSize?: number | undefined;
236
+ align?: "end" | "start" | "center" | "inner" | undefined;
237
+ autoSkip?: boolean | undefined;
238
+ autoSkipPadding?: number | undefined;
239
+ crossAlign?: "center" | "near" | "far" | undefined;
240
+ includeBounds: boolean;
241
+ labelOffset?: number | undefined;
242
+ minRotation?: number | undefined;
243
+ maxRotation?: number | undefined;
244
+ mirror?: boolean | undefined;
245
+ maxTicksLimit?: number | undefined;
246
+ source?: "data" | "auto" | "labels" | undefined;
247
+ stepSize: number | undefined;
97
248
  };
98
249
  grid: {};
99
250
  };
@@ -118,21 +269,21 @@ export declare const useScatterChartConfig: (chart: IScatterChartDefaultProps, c
118
269
  } | {
119
270
  size: number;
120
271
  } | {
121
- family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableCartesianScaleContext>;
272
+ family?: string | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
122
273
  size: number | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
123
- style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableCartesianScaleContext>;
124
- weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableCartesianScaleContext>;
125
- lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableCartesianScaleContext>;
274
+ 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;
275
+ 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;
276
+ lineHeight?: string | number | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
126
277
  };
127
278
  display: boolean;
128
- align?: import('chart.js').Align | undefined;
129
- text: string | string[] | undefined;
130
- color?: import('chart.js').Color | undefined;
131
- padding: number | {
279
+ align?: "end" | "start" | "center" | undefined;
280
+ text: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialArray<string> | undefined;
281
+ color?: string | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | undefined;
282
+ padding: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
132
283
  top: number;
133
284
  bottom: number;
134
285
  y: number;
135
- };
286
+ }>;
136
287
  };
137
288
  ticks: {
138
289
  font: {
@@ -146,27 +297,90 @@ export declare const useScatterChartConfig: (chart: IScatterChartDefaultProps, c
146
297
  } | {
147
298
  size: number;
148
299
  } | {
149
- family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableScaleContext>;
300
+ family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
301
+ size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
302
+ 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;
303
+ 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;
304
+ lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
305
+ };
306
+ includeBounds: boolean;
307
+ stepSize: number | undefined;
308
+ } | {
309
+ font: {
310
+ size: number;
311
+ } | {
312
+ family?: string | undefined;
313
+ size: number;
314
+ style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
315
+ weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
316
+ lineHeight?: string | number | undefined;
317
+ } | {
318
+ size: number;
319
+ } | {
320
+ family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
321
+ size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
322
+ 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;
323
+ 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;
324
+ lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
325
+ };
326
+ 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;
327
+ backdropPadding?: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<import('chart.js').ChartArea> | undefined;
328
+ callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
329
+ display?: boolean | undefined;
330
+ 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;
331
+ padding?: number | undefined;
332
+ showLabelBackdrop?: boolean | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => boolean | undefined) | undefined;
333
+ 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;
334
+ textStrokeWidth?: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined) | undefined;
335
+ z?: number | undefined;
336
+ major?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
337
+ enabled: boolean;
338
+ }> | undefined;
339
+ sampleSize?: number | undefined;
340
+ align?: "end" | "start" | "center" | "inner" | undefined;
341
+ autoSkip?: boolean | undefined;
342
+ autoSkipPadding?: number | undefined;
343
+ crossAlign?: "center" | "near" | "far" | undefined;
344
+ includeBounds: boolean;
345
+ labelOffset?: number | undefined;
346
+ minRotation?: number | undefined;
347
+ maxRotation?: number | undefined;
348
+ mirror?: boolean | undefined;
349
+ maxTicksLimit?: number | undefined;
350
+ stepSize: number | undefined;
351
+ } | {
352
+ font: {
353
+ size: number;
354
+ } | {
355
+ family?: string | undefined;
356
+ size: number;
357
+ style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
358
+ weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
359
+ lineHeight?: string | number | undefined;
360
+ } | {
361
+ size: number;
362
+ } | {
363
+ family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
150
364
  size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
151
- style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableScaleContext>;
152
- weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableScaleContext>;
153
- lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableScaleContext>;
365
+ 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;
366
+ 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;
367
+ lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
154
368
  };
155
- backdropColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
156
- backdropPadding?: number | import('chart.js').ChartArea | undefined;
369
+ 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;
370
+ backdropPadding?: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<import('chart.js').ChartArea> | undefined;
157
371
  callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
158
372
  display?: boolean | undefined;
159
- color?: import('chart.js').ScriptableAndArray<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
373
+ 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;
160
374
  padding?: number | undefined;
161
- showLabelBackdrop?: import('chart.js').Scriptable<boolean, import('chart.js').ScriptableScaleContext> | undefined;
162
- textStrokeColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
163
- textStrokeWidth?: import('chart.js').Scriptable<number, import('chart.js').ScriptableScaleContext> | undefined;
375
+ showLabelBackdrop?: boolean | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => boolean | undefined) | undefined;
376
+ 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;
377
+ textStrokeWidth?: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined) | undefined;
164
378
  z?: number | undefined;
165
- major?: {
379
+ major?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
166
380
  enabled: boolean;
167
- } | undefined;
381
+ }> | undefined;
168
382
  sampleSize?: number | undefined;
169
- align?: import('chart.js').Align | "inner" | undefined;
383
+ align?: "end" | "start" | "center" | "inner" | undefined;
170
384
  autoSkip?: boolean | undefined;
171
385
  autoSkipPadding?: number | undefined;
172
386
  crossAlign?: "center" | "near" | "far" | undefined;
@@ -176,10 +390,98 @@ export declare const useScatterChartConfig: (chart: IScatterChartDefaultProps, c
176
390
  maxRotation?: number | undefined;
177
391
  mirror?: boolean | undefined;
178
392
  maxTicksLimit?: number | undefined;
179
- format?: Intl.NumberFormatOptions | undefined;
393
+ format?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<Intl.NumberFormatOptions> | undefined;
180
394
  precision?: number | undefined;
181
395
  stepSize: number | undefined;
182
396
  count?: number | undefined;
397
+ } | {
398
+ font: {
399
+ size: number;
400
+ } | {
401
+ family?: string | undefined;
402
+ size: number;
403
+ style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
404
+ weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
405
+ lineHeight?: string | number | undefined;
406
+ } | {
407
+ size: number;
408
+ } | {
409
+ family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
410
+ size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
411
+ 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;
412
+ 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;
413
+ lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
414
+ };
415
+ 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;
416
+ backdropPadding?: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<import('chart.js').ChartArea> | undefined;
417
+ callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
418
+ display?: boolean | undefined;
419
+ 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;
420
+ padding?: number | undefined;
421
+ showLabelBackdrop?: boolean | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => boolean | undefined) | undefined;
422
+ 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;
423
+ textStrokeWidth?: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined) | undefined;
424
+ z?: number | undefined;
425
+ major?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
426
+ enabled: boolean;
427
+ }> | undefined;
428
+ sampleSize?: number | undefined;
429
+ align?: "end" | "start" | "center" | "inner" | undefined;
430
+ autoSkip?: boolean | undefined;
431
+ autoSkipPadding?: number | undefined;
432
+ crossAlign?: "center" | "near" | "far" | undefined;
433
+ includeBounds: boolean;
434
+ labelOffset?: number | undefined;
435
+ minRotation?: number | undefined;
436
+ maxRotation?: number | undefined;
437
+ mirror?: boolean | undefined;
438
+ maxTicksLimit?: number | undefined;
439
+ format?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<Intl.NumberFormatOptions> | undefined;
440
+ stepSize: number | undefined;
441
+ } | {
442
+ font: {
443
+ size: number;
444
+ } | {
445
+ family?: string | undefined;
446
+ size: number;
447
+ style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
448
+ weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
449
+ lineHeight?: string | number | undefined;
450
+ } | {
451
+ size: number;
452
+ } | {
453
+ family?: string | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | undefined) | undefined;
454
+ size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
455
+ 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;
456
+ 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;
457
+ lineHeight?: string | number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => string | number | undefined) | undefined;
458
+ };
459
+ 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;
460
+ backdropPadding?: number | import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<import('chart.js').ChartArea> | undefined;
461
+ callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
462
+ display?: boolean | undefined;
463
+ 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;
464
+ padding?: number | undefined;
465
+ showLabelBackdrop?: boolean | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => boolean | undefined) | undefined;
466
+ 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;
467
+ textStrokeWidth?: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined) | undefined;
468
+ z?: number | undefined;
469
+ major?: import('node_modules/chart.js/dist/types/utils')._DeepPartialObject<{
470
+ enabled: boolean;
471
+ }> | undefined;
472
+ sampleSize?: number | undefined;
473
+ align?: "end" | "start" | "center" | "inner" | undefined;
474
+ autoSkip?: boolean | undefined;
475
+ autoSkipPadding?: number | undefined;
476
+ crossAlign?: "center" | "near" | "far" | undefined;
477
+ includeBounds: boolean;
478
+ labelOffset?: number | undefined;
479
+ minRotation?: number | undefined;
480
+ maxRotation?: number | undefined;
481
+ mirror?: boolean | undefined;
482
+ maxTicksLimit?: number | undefined;
483
+ source?: "data" | "auto" | "labels" | undefined;
484
+ stepSize: number | undefined;
183
485
  };
184
486
  grid: {};
185
487
  };