@oliasoft-open-source/charts-library 3.8.0-beta-2 → 3.8.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.
- package/dist/index.js +121 -204
- package/dist/index.js.map +1 -1
- package/dist/src/components/common/helpers/chart-consts.d.ts +3 -3
- package/dist/src/components/line-chart/controls/line-options.d.ts +1 -2
- package/dist/src/components/line-chart/line-chart.interface.d.ts +1 -24
- package/dist/src/components/line-chart/line-chart.stories.d.ts +178 -213
- package/dist/src/components/line-chart/plugins/plugin-constants.d.ts +0 -1
- package/package.json +2 -2
- package/dist/src/components/line-chart/plugins/custom-point-ellipsis-plugin.d.ts +0 -6
|
@@ -4,9 +4,9 @@ export declare const BORDER_WIDTH: {
|
|
|
4
4
|
};
|
|
5
5
|
export declare const BORDER_COLOR = "rgba(0,0,0,0.1)";
|
|
6
6
|
export declare const ANNOTATION_DASH: number[];
|
|
7
|
-
export declare const DEFAULT_FONT_SIZE =
|
|
8
|
-
export declare const DEFAULT_FONT_FAMILY = "\"
|
|
9
|
-
export declare const DEFAULT_COLOR = "
|
|
7
|
+
export declare const DEFAULT_FONT_SIZE = 12;
|
|
8
|
+
export declare const DEFAULT_FONT_FAMILY = "\"Roobert\", sans-serif";
|
|
9
|
+
export declare const DEFAULT_COLOR = "hsl(60, 10.34482759%, 12.5%)";
|
|
10
10
|
export declare const LEGEND_LABEL_BOX_SIZE = 12;
|
|
11
11
|
export declare const TOOLTIP_PADDING = 8;
|
|
12
12
|
export declare const TOOLTIP_BOX_PADDING = 4;
|
|
@@ -4,7 +4,6 @@ interface ILineOptions {
|
|
|
4
4
|
onTogglePoints: () => void;
|
|
5
5
|
pointsEnabled: boolean;
|
|
6
6
|
translations: Record<string, string>;
|
|
7
|
-
hasCustomOpt: boolean;
|
|
8
7
|
}
|
|
9
|
-
export declare const LineOptions: ({ lineEnabled, onToggleLine, onTogglePoints, pointsEnabled, translations,
|
|
8
|
+
export declare const LineOptions: ({ lineEnabled, onToggleLine, onTogglePoints, pointsEnabled, translations, }: ILineOptions) => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export {};
|
|
@@ -67,16 +67,6 @@ export interface ILineLegend extends ICommonLegend {
|
|
|
67
67
|
customLegend?: ICommonCustomLegend<any>;
|
|
68
68
|
usePointStyle?: boolean;
|
|
69
69
|
}
|
|
70
|
-
interface IPointEllipsisAnnotation {
|
|
71
|
-
radiusX?: number;
|
|
72
|
-
radiusY?: number;
|
|
73
|
-
color?: string;
|
|
74
|
-
rotation?: number;
|
|
75
|
-
lineWidth?: number;
|
|
76
|
-
}
|
|
77
|
-
export interface ILineAnnotation extends ICommonAnnotations {
|
|
78
|
-
pointEllipsisAnnotation?: IPointEllipsisAnnotation;
|
|
79
|
-
}
|
|
80
70
|
export interface ILineChartOptions extends ICommonOptions {
|
|
81
71
|
title?: string | string[];
|
|
82
72
|
axes: ILineChartAxes;
|
|
@@ -85,7 +75,7 @@ export interface ILineChartOptions extends ICommonOptions {
|
|
|
85
75
|
chartStyling: ILineChartStyling;
|
|
86
76
|
tooltip: ILineChartTooltip;
|
|
87
77
|
graph: ILineChartGraph;
|
|
88
|
-
annotations:
|
|
78
|
+
annotations: ICommonAnnotations;
|
|
89
79
|
legend: ILineLegend;
|
|
90
80
|
chartOptions: ILChartOptions;
|
|
91
81
|
interactions: ILineInteractions;
|
|
@@ -116,16 +106,3 @@ export interface ILineChartProps {
|
|
|
116
106
|
chart: ILineChartData;
|
|
117
107
|
table?: any;
|
|
118
108
|
}
|
|
119
|
-
export interface IEllipseOptions {
|
|
120
|
-
radiusX?: number;
|
|
121
|
-
radiusY?: number;
|
|
122
|
-
rotation?: number;
|
|
123
|
-
lineWidth?: number;
|
|
124
|
-
color?: string;
|
|
125
|
-
}
|
|
126
|
-
export interface IDatasetDataPoint {
|
|
127
|
-
x: number;
|
|
128
|
-
y: number;
|
|
129
|
-
ellipseOptions?: IEllipseOptions;
|
|
130
|
-
}
|
|
131
|
-
export {};
|