@oliasoft-open-source/charts-library 3.7.5 → 3.8.0-beta-2
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 +81 -12
- package/dist/index.js.map +1 -1
- package/dist/src/components/line-chart/line-chart.interface.d.ts +24 -1
- package/dist/src/components/line-chart/line-chart.stories.d.ts +212 -170
- package/dist/src/components/line-chart/plugins/custom-point-ellipsis-plugin.d.ts +6 -0
- package/dist/src/components/line-chart/plugins/plugin-constants.d.ts +1 -0
- package/package.json +1 -1
|
@@ -67,6 +67,16 @@ 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
|
+
}
|
|
70
80
|
export interface ILineChartOptions extends ICommonOptions {
|
|
71
81
|
title?: string | string[];
|
|
72
82
|
axes: ILineChartAxes;
|
|
@@ -75,7 +85,7 @@ export interface ILineChartOptions extends ICommonOptions {
|
|
|
75
85
|
chartStyling: ILineChartStyling;
|
|
76
86
|
tooltip: ILineChartTooltip;
|
|
77
87
|
graph: ILineChartGraph;
|
|
78
|
-
annotations:
|
|
88
|
+
annotations: ILineAnnotation;
|
|
79
89
|
legend: ILineLegend;
|
|
80
90
|
chartOptions: ILChartOptions;
|
|
81
91
|
interactions: ILineInteractions;
|
|
@@ -106,3 +116,16 @@ export interface ILineChartProps {
|
|
|
106
116
|
chart: ILineChartData;
|
|
107
117
|
table?: any;
|
|
108
118
|
}
|
|
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 {};
|