@oliasoft-open-source/charts-library 5.13.0 → 5.14.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.d.ts +15 -1217
- package/dist/index.js +453 -68
- package/dist/src/components/bar-chart/bar-chart-const.d.ts +2 -0
- package/dist/src/components/bar-chart/bar-chart-default-props.d.ts +3 -0
- package/dist/src/components/bar-chart/bar-chart.d.ts +3 -0
- package/dist/src/components/bar-chart/bar-chart.interface.d.ts +141 -0
- package/dist/src/components/bar-chart/utils/get-bar-chart-data-labels.d.ts +10 -0
- package/dist/src/components/bar-chart/utils/get-bar-chart-scales.d.ts +3 -0
- package/dist/src/components/bar-chart/utils/get-bar-chart-tooltips.d.ts +6 -0
- package/dist/src/components/bar-chart/utils/use-bar-chart-config.d.ts +13 -0
- package/dist/src/components/bar-chart/utils/use-bar-chart-options.d.ts +55 -0
- package/dist/src/components/common/common.interface.d.ts +275 -0
- package/dist/src/components/common/controls-portal.d.ts +7 -0
- package/dist/src/components/common/enums.d.ts +87 -0
- package/dist/src/components/common/helpers/add-transparency/add-transparency.d.ts +1 -0
- package/dist/src/components/common/helpers/callout-helpers/callout-helpers.d.ts +25 -0
- package/dist/src/components/common/helpers/chart-border-plugin.d.ts +16 -0
- package/dist/src/components/common/helpers/chart-consts.d.ts +39 -0
- package/dist/src/components/common/helpers/chart-utils.d.ts +86 -0
- package/dist/src/components/common/helpers/container.d.ts +18 -0
- package/dist/src/components/common/helpers/custom-format-number.d.ts +1 -0
- package/dist/src/components/common/helpers/download-pgn.d.ts +3 -0
- package/dist/src/components/common/helpers/get-chart-annotation.d.ts +139 -0
- package/dist/src/components/common/helpers/get-chart-from-ctx.d.ts +1 -0
- package/dist/src/components/common/helpers/get-custom-legend-plugin-example.d.ts +8 -0
- package/dist/src/components/common/helpers/get-draggableData.d.ts +18 -0
- package/dist/src/components/common/helpers/get-grouped-color-scheme/get-grouped-color-scheme.d.ts +1 -0
- package/dist/src/components/common/helpers/input-normalizers.d.ts +15 -0
- package/dist/src/components/common/helpers/range/estimate-data-series-have-close-values.d.ts +8 -0
- package/dist/src/components/common/helpers/range/range.d.ts +33 -0
- package/dist/src/components/common/helpers/text.d.ts +1 -0
- package/dist/src/components/common/helpers/to-annotation.d.ts +4 -0
- package/dist/src/components/common/hooks/use-generated-labels.d.ts +4 -0
- package/dist/src/components/common/hooks/use-legend-state.d.ts +28 -0
- package/dist/src/components/common/hooks/use-legend.d.ts +4 -0
- package/dist/src/components/common/hooks/use-update-annotations.d.ts +4 -0
- package/dist/src/components/common/legend-component/legend-dropzone.d.ts +3 -0
- package/dist/src/components/common/legend-component/legend-interface.d.ts +47 -0
- package/dist/src/components/common/legend-component/legend-item/LegendItemLine.d.ts +5 -0
- package/dist/src/components/common/legend-component/legend-item/legend-item.d.ts +3 -0
- package/dist/src/components/common/legend-component/legend-panel.d.ts +3 -0
- package/dist/src/components/common/legend-component/legend.d.ts +3 -0
- package/dist/src/components/common/legend-component/state/legend-action-types.d.ts +3 -0
- package/dist/src/components/common/legend-component/state/legend-context.d.ts +14 -0
- package/dist/src/components/common/legend-component/state/legend-state-reducer.d.ts +30 -0
- package/dist/src/components/common/legend-component/utils/create-style-object.d.ts +27 -0
- package/dist/src/components/common/legend-component/utils/get-generated-labels.d.ts +2 -0
- package/dist/src/components/common/plugins/annotation-dragger-plugin/annotation-dragger-plugin.d.ts +15 -0
- package/dist/src/components/common/plugins/annotation-dragger-plugin/annotation-position-storage.d.ts +7 -0
- package/dist/src/components/common/plugins/annotation-dragger-plugin/enums.d.ts +21 -0
- package/dist/src/components/common/plugins/annotation-dragger-plugin/event-helpers.d.ts +6 -0
- package/dist/src/components/common/plugins/annotation-dragger-plugin/helpers.d.ts +53 -0
- package/dist/src/components/common/plugins/annotation-dragger-plugin/point-annotation-label.d.ts +5 -0
- package/dist/src/components/common/plugins/ellipsis-annotation-plugin/compute-ellipse-geometry.d.ts +9 -0
- package/dist/src/components/common/plugins/ellipsis-annotation-plugin/ellipsis-annotation-plugin.d.ts +18 -0
- package/dist/src/components/common/plugins/gradient-background-plugin/enums.d.ts +10 -0
- package/dist/src/components/common/plugins/gradient-background-plugin/gradient-background-plugin.d.ts +2 -0
- package/dist/src/components/line-chart/constants/default-translations.d.ts +25 -0
- package/dist/src/components/line-chart/constants/line-chart-consts.d.ts +13 -0
- package/dist/src/components/line-chart/controls/axes-options/axes-options-interfaces.d.ts +57 -0
- package/dist/src/components/line-chart/controls/axes-options/axes-options.d.ts +6 -0
- package/dist/src/components/line-chart/controls/axes-options/axes-validation.d.ts +8 -0
- package/dist/src/components/line-chart/controls/controls-interfaces.d.ts +19 -0
- package/dist/src/components/line-chart/controls/controls.d.ts +3 -0
- package/dist/src/components/line-chart/controls/drag-options-interfaces.d.ts +14 -0
- package/dist/src/components/line-chart/controls/drag-options.d.ts +23 -0
- package/dist/src/components/line-chart/controls/line-options.d.ts +19 -0
- package/dist/src/components/line-chart/hooks/use-chart-functions.d.ts +32 -0
- package/dist/src/components/line-chart/hooks/use-chart-options.d.ts +19 -0
- package/dist/src/components/line-chart/hooks/use-chart-plugins.d.ts +7 -0
- package/dist/src/components/line-chart/hooks/use-chart-state.d.ts +12 -0
- package/dist/src/components/line-chart/hooks/use-toggle-handler.d.ts +12 -0
- package/dist/src/components/line-chart/initialize/config.d.ts +12 -0
- package/dist/src/components/line-chart/initialize/initialize-line-chart.d.ts +12 -0
- package/dist/src/components/line-chart/line-chart-get-default-props.d.ts +3 -0
- package/dist/src/components/line-chart/line-chart.d.ts +3 -0
- package/dist/src/components/line-chart/line-chart.interface.d.ts +236 -0
- package/dist/src/components/line-chart/plugins/callout-plugin/callout-plugin.d.ts +11 -0
- package/dist/src/components/line-chart/plugins/callout-plugin/helpers.d.ts +42 -0
- package/dist/src/components/line-chart/plugins/chart-area-text-plugin.d.ts +17 -0
- package/dist/src/components/line-chart/plugins/line-chart.minor-gridlines-plugin.d.ts +8 -0
- package/dist/src/components/line-chart/plugins/line-markers-plugin/draw.d.ts +39 -0
- package/dist/src/components/line-chart/plugins/line-markers-plugin/line-markers-plugin.d.ts +10 -0
- package/dist/src/components/line-chart/plugins/line-markers-plugin/types.d.ts +109 -0
- package/dist/src/components/line-chart/plugins/line-markers-plugin/utils.d.ts +40 -0
- package/dist/src/components/line-chart/plugins/plugin-constants.d.ts +11 -0
- package/dist/src/components/line-chart/plugins/plugins.interface.d.ts +9 -0
- package/dist/src/components/line-chart/state/action-types.d.ts +12 -0
- package/dist/src/components/line-chart/state/helpers.d.ts +13 -0
- package/dist/src/components/line-chart/state/initial-state.d.ts +11 -0
- package/dist/src/components/line-chart/state/line-chart-reducer.d.ts +2 -0
- package/dist/src/components/line-chart/state/manage-state-in-local-storage.d.ts +15 -0
- package/dist/src/components/line-chart/state/state.interfaces.d.ts +26 -0
- package/dist/src/components/line-chart/utils/axis-formatting/axis-formatting.d.ts +2 -0
- package/dist/src/components/line-chart/utils/axis-scales/axis-scales.d.ts +18 -0
- package/dist/src/components/line-chart/utils/check-custom-option/check-custom-option.d.ts +12 -0
- package/dist/src/components/line-chart/utils/datalabels-alignment/datalabels-alignment.interface.d.ts +20 -0
- package/dist/src/components/line-chart/utils/datalabels-alignment/get-alignment-condition.d.ts +8 -0
- package/dist/src/components/line-chart/utils/datalabels-alignment/get-alignment-data.d.ts +11 -0
- package/dist/src/components/line-chart/utils/datalabels-alignment/get-datalabels-position.d.ts +6 -0
- package/dist/src/components/line-chart/utils/enums.d.ts +4 -0
- package/dist/src/components/line-chart/utils/generate-line-chart-datasets.d.ts +8 -0
- package/dist/src/components/line-chart/utils/get-annotations-data.d.ts +1 -0
- package/dist/src/components/line-chart/utils/get-axes-data-from-metasets.d.ts +1 -0
- package/dist/src/components/line-chart/utils/get-axes-ranges-from-chart.d.ts +9 -0
- package/dist/src/components/line-chart/utils/get-axis-range-by-type.d.ts +10 -0
- package/dist/src/components/line-chart/utils/get-generated-labels.d.ts +2 -0
- package/dist/src/components/line-chart/utils/get-line-chart-data-labels.d.ts +16 -0
- package/dist/src/components/line-chart/utils/get-line-chart-scales.d.ts +589 -0
- package/dist/src/components/line-chart/utils/get-line-chart-tooltips.d.ts +30 -0
- package/dist/src/components/line-chart/utils/line-chart-utils.d.ts +24 -0
- package/dist/src/components/line-chart/utils/translations/get-translations.d.ts +8 -0
- package/dist/src/components/pie-chart/pie-chart-defalut-props.interface.d.ts +50 -0
- package/dist/src/components/pie-chart/pie-chart-get-default-props.d.ts +3 -0
- package/dist/src/components/pie-chart/pie-chart.d.ts +3 -0
- package/dist/src/components/pie-chart/pie-chart.interface.d.ts +58 -0
- package/dist/src/components/pie-chart/use-pie-chart-config.d.ts +42 -0
- package/dist/src/components/scatter-chart/hooks/use-scatter-chart-config.d.ts +239 -0
- package/dist/src/components/scatter-chart/scatter-chart-default-props.interface.d.ts +72 -0
- package/dist/src/components/scatter-chart/scatter-chart-get-default-props.d.ts +4 -0
- package/dist/src/components/scatter-chart/scatter-chart.d.ts +3 -0
- package/dist/src/components/scatter-chart/scatter-chart.interface.d.ts +111 -0
- package/dist/src/components/scatter-chart/utils/get-scales-config.d.ts +176 -0
- package/dist/src/components/scatter-chart/utils/get-tooltip-config.d.ts +21 -0
- package/package.json +11 -12
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { IDefaultScatterOptions } from '../scatter-chart-default-props.interface';
|
|
2
|
+
import { CartesianScaleOptions } from 'chart.js';
|
|
3
|
+
export declare const getScatterChartScales: (options: IDefaultScatterOptions) => {
|
|
4
|
+
x: {
|
|
5
|
+
type: "linear";
|
|
6
|
+
position: CartesianScaleOptions["position"];
|
|
7
|
+
beginAtZero: boolean | undefined;
|
|
8
|
+
reverse: boolean | undefined;
|
|
9
|
+
suggestedMax: number | undefined;
|
|
10
|
+
suggestedMin: number | undefined;
|
|
11
|
+
min: number | undefined;
|
|
12
|
+
max: number | undefined;
|
|
13
|
+
title: {
|
|
14
|
+
font: {
|
|
15
|
+
size: number;
|
|
16
|
+
} | {
|
|
17
|
+
family?: string | undefined;
|
|
18
|
+
size: number;
|
|
19
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
|
|
20
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
|
|
21
|
+
lineHeight?: string | number | undefined;
|
|
22
|
+
} | {
|
|
23
|
+
size: number;
|
|
24
|
+
} | {
|
|
25
|
+
family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableCartesianScaleContext>;
|
|
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').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableCartesianScaleContext>;
|
|
28
|
+
weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableCartesianScaleContext>;
|
|
29
|
+
lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableCartesianScaleContext>;
|
|
30
|
+
};
|
|
31
|
+
display: boolean;
|
|
32
|
+
align?: import('chart.js').Align | undefined;
|
|
33
|
+
text: string | string[] | undefined;
|
|
34
|
+
color?: import('chart.js').Color | undefined;
|
|
35
|
+
padding: number | {
|
|
36
|
+
top: number;
|
|
37
|
+
bottom: number;
|
|
38
|
+
y: number;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
ticks: {
|
|
42
|
+
font: {
|
|
43
|
+
size: number;
|
|
44
|
+
} | {
|
|
45
|
+
family?: string | undefined;
|
|
46
|
+
size: number;
|
|
47
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
|
|
48
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
|
|
49
|
+
lineHeight?: string | number | undefined;
|
|
50
|
+
} | {
|
|
51
|
+
size: number;
|
|
52
|
+
} | {
|
|
53
|
+
family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableScaleContext>;
|
|
54
|
+
size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
|
|
55
|
+
style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableScaleContext>;
|
|
56
|
+
weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableScaleContext>;
|
|
57
|
+
lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableScaleContext>;
|
|
58
|
+
};
|
|
59
|
+
backdropColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
|
|
60
|
+
backdropPadding?: number | import('chart.js').ChartArea | undefined;
|
|
61
|
+
callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
|
|
62
|
+
display?: boolean | undefined;
|
|
63
|
+
color?: import('chart.js').ScriptableAndArray<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
|
|
64
|
+
padding?: number | undefined;
|
|
65
|
+
showLabelBackdrop?: import('chart.js').Scriptable<boolean, import('chart.js').ScriptableScaleContext> | undefined;
|
|
66
|
+
textStrokeColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
|
|
67
|
+
textStrokeWidth?: import('chart.js').Scriptable<number, import('chart.js').ScriptableScaleContext> | undefined;
|
|
68
|
+
z?: number | undefined;
|
|
69
|
+
major?: {
|
|
70
|
+
enabled: boolean;
|
|
71
|
+
} | undefined;
|
|
72
|
+
sampleSize?: number | undefined;
|
|
73
|
+
align?: import('chart.js').Align | "inner" | undefined;
|
|
74
|
+
autoSkip?: boolean | undefined;
|
|
75
|
+
autoSkipPadding?: number | undefined;
|
|
76
|
+
crossAlign?: "center" | "near" | "far" | undefined;
|
|
77
|
+
includeBounds: boolean;
|
|
78
|
+
labelOffset?: number | undefined;
|
|
79
|
+
minRotation?: number | undefined;
|
|
80
|
+
maxRotation?: number | undefined;
|
|
81
|
+
mirror?: boolean | undefined;
|
|
82
|
+
maxTicksLimit?: number | undefined;
|
|
83
|
+
format?: Intl.NumberFormatOptions | undefined;
|
|
84
|
+
precision?: number | undefined;
|
|
85
|
+
stepSize: number | undefined;
|
|
86
|
+
count?: number | undefined;
|
|
87
|
+
};
|
|
88
|
+
grid: {};
|
|
89
|
+
};
|
|
90
|
+
y: {
|
|
91
|
+
type: "linear";
|
|
92
|
+
position: CartesianScaleOptions["position"];
|
|
93
|
+
beginAtZero: boolean | undefined;
|
|
94
|
+
reverse: boolean | undefined;
|
|
95
|
+
suggestedMax: number | undefined;
|
|
96
|
+
suggestedMin: number | undefined;
|
|
97
|
+
min: number | undefined;
|
|
98
|
+
max: number | undefined;
|
|
99
|
+
title: {
|
|
100
|
+
font: {
|
|
101
|
+
size: number;
|
|
102
|
+
} | {
|
|
103
|
+
family?: string | undefined;
|
|
104
|
+
size: number;
|
|
105
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
|
|
106
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
|
|
107
|
+
lineHeight?: string | number | undefined;
|
|
108
|
+
} | {
|
|
109
|
+
size: number;
|
|
110
|
+
} | {
|
|
111
|
+
family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableCartesianScaleContext>;
|
|
112
|
+
size: number | ((ctx: import('chart.js').ScriptableCartesianScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
|
|
113
|
+
style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableCartesianScaleContext>;
|
|
114
|
+
weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableCartesianScaleContext>;
|
|
115
|
+
lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableCartesianScaleContext>;
|
|
116
|
+
};
|
|
117
|
+
display: boolean;
|
|
118
|
+
align?: import('chart.js').Align | undefined;
|
|
119
|
+
text: string | string[] | undefined;
|
|
120
|
+
color?: import('chart.js').Color | undefined;
|
|
121
|
+
padding: number | {
|
|
122
|
+
top: number;
|
|
123
|
+
bottom: number;
|
|
124
|
+
y: number;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
ticks: {
|
|
128
|
+
font: {
|
|
129
|
+
size: number;
|
|
130
|
+
} | {
|
|
131
|
+
family?: string | undefined;
|
|
132
|
+
size: number;
|
|
133
|
+
style?: "initial" | "normal" | "italic" | "oblique" | "inherit" | undefined;
|
|
134
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
|
|
135
|
+
lineHeight?: string | number | undefined;
|
|
136
|
+
} | {
|
|
137
|
+
size: number;
|
|
138
|
+
} | {
|
|
139
|
+
family?: import('chart.js').Scriptable<string | undefined, import('chart.js').ScriptableScaleContext>;
|
|
140
|
+
size: number | ((ctx: import('chart.js').ScriptableScaleContext, options: import('node_modules/chart.js/dist/types/basic').AnyObject) => number | undefined);
|
|
141
|
+
style?: import('chart.js').Scriptable<"initial" | "normal" | "italic" | "oblique" | "inherit" | undefined, import('chart.js').ScriptableScaleContext>;
|
|
142
|
+
weight?: import('chart.js').Scriptable<number | "bold" | "normal" | "lighter" | "bolder" | null | undefined, import('chart.js').ScriptableScaleContext>;
|
|
143
|
+
lineHeight?: import('chart.js').Scriptable<string | number | undefined, import('chart.js').ScriptableScaleContext>;
|
|
144
|
+
};
|
|
145
|
+
backdropColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
|
|
146
|
+
backdropPadding?: number | import('chart.js').ChartArea | undefined;
|
|
147
|
+
callback?: ((this: import('chart.js').Scale, tickValue: number | string, index: number, ticks: import('chart.js').Tick[]) => string | string[] | number | number[] | null | undefined) | undefined;
|
|
148
|
+
display?: boolean | undefined;
|
|
149
|
+
color?: import('chart.js').ScriptableAndArray<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
|
|
150
|
+
padding?: number | undefined;
|
|
151
|
+
showLabelBackdrop?: import('chart.js').Scriptable<boolean, import('chart.js').ScriptableScaleContext> | undefined;
|
|
152
|
+
textStrokeColor?: import('chart.js').Scriptable<import('chart.js').Color, import('chart.js').ScriptableScaleContext> | undefined;
|
|
153
|
+
textStrokeWidth?: import('chart.js').Scriptable<number, import('chart.js').ScriptableScaleContext> | undefined;
|
|
154
|
+
z?: number | undefined;
|
|
155
|
+
major?: {
|
|
156
|
+
enabled: boolean;
|
|
157
|
+
} | undefined;
|
|
158
|
+
sampleSize?: number | undefined;
|
|
159
|
+
align?: import('chart.js').Align | "inner" | undefined;
|
|
160
|
+
autoSkip?: boolean | undefined;
|
|
161
|
+
autoSkipPadding?: number | undefined;
|
|
162
|
+
crossAlign?: "center" | "near" | "far" | undefined;
|
|
163
|
+
includeBounds: boolean;
|
|
164
|
+
labelOffset?: number | undefined;
|
|
165
|
+
minRotation?: number | undefined;
|
|
166
|
+
maxRotation?: number | undefined;
|
|
167
|
+
mirror?: boolean | undefined;
|
|
168
|
+
maxTicksLimit?: number | undefined;
|
|
169
|
+
format?: Intl.NumberFormatOptions | undefined;
|
|
170
|
+
precision?: number | undefined;
|
|
171
|
+
stepSize: number | undefined;
|
|
172
|
+
count?: number | undefined;
|
|
173
|
+
};
|
|
174
|
+
grid: {};
|
|
175
|
+
};
|
|
176
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TooltipItem } from 'chart.js';
|
|
2
|
+
import { IDefaultScatterOptions } from '../scatter-chart-default-props.interface';
|
|
3
|
+
interface IRawData {
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
label?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IScatterTooltipItem extends TooltipItem<'scatter'> {
|
|
9
|
+
raw: IRawData;
|
|
10
|
+
}
|
|
11
|
+
export declare const getTooltipsConfig: (options: IDefaultScatterOptions) => {
|
|
12
|
+
enabled: boolean;
|
|
13
|
+
callbacks: {
|
|
14
|
+
title: (tooltipItems: TooltipItem<"scatter">[]) => string | undefined;
|
|
15
|
+
label: (tooltipItems: IScatterTooltipItem) => string;
|
|
16
|
+
};
|
|
17
|
+
backgroundColor: string;
|
|
18
|
+
displayColors: boolean;
|
|
19
|
+
padding: number;
|
|
20
|
+
};
|
|
21
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oliasoft-open-source/charts-library",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.14.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": {
|
|
@@ -44,17 +44,17 @@
|
|
|
44
44
|
"react-use": "^17.6.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@oliasoft-open-source/react-ui-library": "^5.
|
|
48
|
-
"@oliasoft-open-source/units": "^
|
|
47
|
+
"@oliasoft-open-source/react-ui-library": "^5.3.0",
|
|
48
|
+
"@oliasoft-open-source/units": "^4.3.1",
|
|
49
49
|
"@storybook/addon-docs": "^10.2.17",
|
|
50
50
|
"@storybook/addon-themes": "^10.2.17",
|
|
51
|
-
"@storybook/react-vite": "^10.
|
|
51
|
+
"@storybook/react-vite": "^10.3.6",
|
|
52
52
|
"@storybook/testing-library": "^0.2.2",
|
|
53
53
|
"@types/node": "^22.15.17",
|
|
54
54
|
"@types/object-hash": "^3.0.6",
|
|
55
55
|
"@types/react": "^18.2.24",
|
|
56
|
-
"@vitejs/plugin-react": "^6.0.
|
|
57
|
-
"@vitest/coverage-v8": "4.
|
|
56
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
57
|
+
"@vitest/coverage-v8": "4.1.6",
|
|
58
58
|
"ajv": "8.17.1",
|
|
59
59
|
"ajv-errors": "^3.0.0",
|
|
60
60
|
"ajv-keywords": "^5.1.0",
|
|
@@ -73,13 +73,12 @@
|
|
|
73
73
|
"react-dom": "^18.2.0",
|
|
74
74
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
75
75
|
"storybook": "^10.2.17",
|
|
76
|
-
"
|
|
77
|
-
"vite": "
|
|
78
|
-
"vite-plugin-
|
|
79
|
-
"vite-plugin-dts": "^4.5.4",
|
|
76
|
+
"vite": "8.0.12",
|
|
77
|
+
"vite-plugin-css-injected-by-js": "^5.0.1",
|
|
78
|
+
"vite-plugin-dts": "^5.0.0",
|
|
80
79
|
"vite-plugin-optimize-persist": "^0.1.2",
|
|
81
|
-
"vite-plugin-svgr": "^
|
|
82
|
-
"vitest": "^4.
|
|
80
|
+
"vite-plugin-svgr": "^5.2.0",
|
|
81
|
+
"vitest": "^4.1.6"
|
|
83
82
|
},
|
|
84
83
|
"peerDependencies": {
|
|
85
84
|
"@oliasoft-open-source/react-ui-library": "^5",
|