@oliasoft-open-source/charts-library 4.3.4-beta-1 → 4.4.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 +132 -54
- package/dist/index.js.map +1 -1
- package/dist/src/components/bar-chart/bar-chart.stories.d.ts +1 -1
- package/dist/src/components/common/common.interface.d.ts +2 -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/line-chart.stories.d.ts +66 -2
- package/package.json +1 -1
|
@@ -157,7 +157,7 @@ export namespace CustomLegend {
|
|
|
157
157
|
export namespace legend {
|
|
158
158
|
namespace customLegend {
|
|
159
159
|
export const customLegendPlugin: {
|
|
160
|
-
afterUpdate(chart: import("chart.js").Chart<keyof import("chart.js").ChartTypeRegistry, (number | import("chart.js").Point |
|
|
160
|
+
afterUpdate(chart: import("chart.js").Chart<keyof import("chart.js").ChartTypeRegistry, (number | [number, number] | import("chart.js").Point | import("chart.js").BubbleDataPoint | null)[], unknown>, _args: import("chart.js").Plugin<keyof import("chart.js").ChartTypeRegistry, import("../../../node_modules/chart.js/dist/types/basic").AnyObject>, _options: import("chart.js").ChartConfiguration<keyof import("chart.js").ChartTypeRegistry, (number | [number, number] | import("chart.js").Point | import("chart.js").BubbleDataPoint | null)[], unknown>): void;
|
|
161
161
|
};
|
|
162
162
|
export { customLegendContainerID };
|
|
163
163
|
}
|
|
@@ -9,6 +9,7 @@ interface TChart extends Chart {
|
|
|
9
9
|
hoveredAnnotationId?: string | null;
|
|
10
10
|
}
|
|
11
11
|
declare const getAnnotation: ({ showAnnotations, annotationsData, }: IGetAnnotationsProps) => ICommonAnnotationElement[] | {
|
|
12
|
+
drawTime: string;
|
|
12
13
|
display: boolean | undefined;
|
|
13
14
|
annotationIndex: number;
|
|
14
15
|
id: string;
|
|
@@ -679,7 +679,7 @@ export namespace CustomLegend {
|
|
|
679
679
|
export namespace legend_4 {
|
|
680
680
|
namespace customLegend {
|
|
681
681
|
export const customLegendPlugin: {
|
|
682
|
-
afterUpdate(chart: import("chart.js").Chart<keyof import("chart.js").ChartTypeRegistry, (number | import("chart.js").Point |
|
|
682
|
+
afterUpdate(chart: import("chart.js").Chart<keyof import("chart.js").ChartTypeRegistry, (number | [number, number] | import("chart.js").Point | import("chart.js").BubbleDataPoint | null)[], unknown>, _args: import("chart.js").Plugin<keyof import("chart.js").ChartTypeRegistry, import("../../../node_modules/chart.js/dist/types/basic").AnyObject>, _options: import("chart.js").ChartConfiguration<keyof import("chart.js").ChartTypeRegistry, (number | [number, number] | import("chart.js").Point | import("chart.js").BubbleDataPoint | null)[], unknown>): void;
|
|
683
683
|
};
|
|
684
684
|
export { customLegendContainerID };
|
|
685
685
|
}
|
|
@@ -1328,7 +1328,71 @@ export namespace DragAnnotations {
|
|
|
1328
1328
|
}
|
|
1329
1329
|
export { args_45 as args };
|
|
1330
1330
|
}
|
|
1331
|
-
export function
|
|
1331
|
+
export function EllipsisAnnotations(args: any): import("react/jsx-runtime").JSX.Element;
|
|
1332
|
+
export namespace EllipsisAnnotations {
|
|
1333
|
+
export namespace args_46 {
|
|
1334
|
+
export namespace chart_44 {
|
|
1335
|
+
export namespace data_24 {
|
|
1336
|
+
const datasets_24: {
|
|
1337
|
+
label: string;
|
|
1338
|
+
data: {
|
|
1339
|
+
x: number;
|
|
1340
|
+
y: number;
|
|
1341
|
+
}[];
|
|
1342
|
+
}[];
|
|
1343
|
+
export { datasets_24 as datasets };
|
|
1344
|
+
}
|
|
1345
|
+
export { data_24 as data };
|
|
1346
|
+
export namespace options_37 {
|
|
1347
|
+
export namespace additionalAxesOptions_6 {
|
|
1348
|
+
export namespace range_3 {
|
|
1349
|
+
export namespace x_8 {
|
|
1350
|
+
const min_5: number;
|
|
1351
|
+
export { min_5 as min };
|
|
1352
|
+
const max_5: number;
|
|
1353
|
+
export { max_5 as max };
|
|
1354
|
+
}
|
|
1355
|
+
export { x_8 as x };
|
|
1356
|
+
export namespace y_7 {
|
|
1357
|
+
const min_6: number;
|
|
1358
|
+
export { min_6 as min };
|
|
1359
|
+
const max_6: number;
|
|
1360
|
+
export { max_6 as max };
|
|
1361
|
+
}
|
|
1362
|
+
export { y_7 as y };
|
|
1363
|
+
}
|
|
1364
|
+
export { range_3 as range };
|
|
1365
|
+
}
|
|
1366
|
+
export { additionalAxesOptions_6 as additionalAxesOptions };
|
|
1367
|
+
export namespace legend_6 {
|
|
1368
|
+
const display_3: boolean;
|
|
1369
|
+
export { display_3 as display };
|
|
1370
|
+
}
|
|
1371
|
+
export { legend_6 as legend };
|
|
1372
|
+
export namespace annotations_6 {
|
|
1373
|
+
const showAnnotations_6: boolean;
|
|
1374
|
+
export { showAnnotations_6 as showAnnotations };
|
|
1375
|
+
const annotationsData_6: {
|
|
1376
|
+
type: string;
|
|
1377
|
+
xMin: number;
|
|
1378
|
+
xMax: number;
|
|
1379
|
+
yMin: number;
|
|
1380
|
+
yMax: number;
|
|
1381
|
+
backgroundColor: string;
|
|
1382
|
+
rotation: number;
|
|
1383
|
+
borderWidth: number;
|
|
1384
|
+
color: string;
|
|
1385
|
+
}[];
|
|
1386
|
+
export { annotationsData_6 as annotationsData };
|
|
1387
|
+
}
|
|
1388
|
+
export { annotations_6 as annotations };
|
|
1389
|
+
}
|
|
1390
|
+
export { options_37 as options };
|
|
1391
|
+
}
|
|
1392
|
+
export { chart_44 as chart };
|
|
1393
|
+
}
|
|
1394
|
+
export { args_46 as args };
|
|
1395
|
+
}
|
|
1332
1396
|
import { LineChart } from './line-chart';
|
|
1333
1397
|
declare namespace basicChart { }
|
|
1334
1398
|
declare const customLegendContainerID: "custom-legend-container";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oliasoft-open-source/charts-library",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.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": {
|