@oliasoft-open-source/charts-library 5.0.8-beta-1 → 5.1.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.js +107 -105
- package/dist/index.js.js.map +1 -1
- package/dist/src/components/common/common.interface.d.ts +3 -0
- package/dist/src/components/common/helpers/get-chart-annotation.d.ts +1 -0
- package/dist/src/components/common/plugins/ellipsis-annotation-plugin/ellipsis-annotation-plugin.d.ts +5 -0
- package/dist/src/components/line-chart/utils/get-axes-data-from-metasets.d.ts +1 -1
- package/package.json +2 -2
- package/dist/src/components/line-chart/plugins/tooltip-null-guard.d.ts +0 -2
|
@@ -51,8 +51,11 @@ export interface ICommonAnnotationsData {
|
|
|
51
51
|
id?: string;
|
|
52
52
|
adjustScaleRange: boolean;
|
|
53
53
|
annotationAxis: 'x' | 'y';
|
|
54
|
+
rotation: number;
|
|
54
55
|
color: string;
|
|
55
56
|
endValue: number;
|
|
57
|
+
borderWidth?: number;
|
|
58
|
+
backgroundColor?: string;
|
|
56
59
|
label: string;
|
|
57
60
|
labelConfig?: Record<string, any>;
|
|
58
61
|
type: AnnotationType;
|
|
@@ -67,6 +67,7 @@ declare const getAnnotation: ({ showAnnotations, annotationsData, }: IGetAnnotat
|
|
|
67
67
|
displayDragCoordinates: boolean;
|
|
68
68
|
hideLegend?: boolean;
|
|
69
69
|
annotationAxis: "x" | "y";
|
|
70
|
+
rotation: number;
|
|
70
71
|
color: string;
|
|
71
72
|
endValue: number;
|
|
72
73
|
labelConfig?: Record<string, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function getAxesDataFromMetasets(
|
|
1
|
+
export function getAxesDataFromMetasets(chartRef: Object, scalesKeys: any[], annotationsData: Object): Object;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oliasoft-open-source/charts-library",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.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
|
"resolutions": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@fontsource/noto-sans": "^5.2.6",
|
|
47
|
-
"chart.js": "^4.4.
|
|
47
|
+
"chart.js": "^4.4.8",
|
|
48
48
|
"chartjs-plugin-annotation": "^3.1.0",
|
|
49
49
|
"chartjs-plugin-datalabels": "^2.2.0",
|
|
50
50
|
"chartjs-plugin-dragdata": "2.2.5",
|