@oliasoft-open-source/charts-library 4.3.0-beta-3 → 4.3.0-beta-4
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.
|
@@ -11,6 +11,7 @@ export declare const DEFAULT_COLOR = "hsl(60, 10.34482759%, 12.5%)";
|
|
|
11
11
|
export declare const LEGEND_LABEL_BOX_SIZE = 12;
|
|
12
12
|
export declare const TOOLTIP_PADDING = 8;
|
|
13
13
|
export declare const TOOLTIP_BOX_PADDING = 4;
|
|
14
|
+
export declare const TRANSPARENT = "transparent";
|
|
14
15
|
export declare const LOGARITHMIC_STEPS: number[];
|
|
15
16
|
export declare const COLORS: string[];
|
|
16
17
|
/**
|
|
@@ -13,7 +13,13 @@ declare const getAnnotation: ({ showAnnotations, annotationsData, }: IGetAnnotat
|
|
|
13
13
|
annotationIndex: number;
|
|
14
14
|
id: string;
|
|
15
15
|
scaleID: "x" | "y";
|
|
16
|
-
label:
|
|
16
|
+
label: {
|
|
17
|
+
content: string;
|
|
18
|
+
display: boolean;
|
|
19
|
+
font: {
|
|
20
|
+
weight: string;
|
|
21
|
+
};
|
|
22
|
+
} | {
|
|
17
23
|
backgroundColor: string;
|
|
18
24
|
content: string;
|
|
19
25
|
display: boolean;
|
|
@@ -35,19 +41,6 @@ declare const getAnnotation: ({ showAnnotations, annotationsData, }: IGetAnnotat
|
|
|
35
41
|
padding: number;
|
|
36
42
|
borderRadius: number;
|
|
37
43
|
borderColor: any;
|
|
38
|
-
} | {
|
|
39
|
-
content: string;
|
|
40
|
-
display: boolean;
|
|
41
|
-
font: {
|
|
42
|
-
weight: string;
|
|
43
|
-
};
|
|
44
|
-
backgroundColor?: undefined;
|
|
45
|
-
position?: undefined;
|
|
46
|
-
color?: undefined;
|
|
47
|
-
borderWidth?: undefined;
|
|
48
|
-
padding?: undefined;
|
|
49
|
-
borderRadius?: undefined;
|
|
50
|
-
borderColor?: undefined;
|
|
51
44
|
};
|
|
52
45
|
backgroundColor: string;
|
|
53
46
|
borderColor: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oliasoft-open-source/charts-library",
|
|
3
|
-
"version": "4.3.0-beta-
|
|
3
|
+
"version": "4.3.0-beta-4",
|
|
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": {
|