@oliasoft-open-source/charts-library 4.4.2 → 4.5.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.
@@ -50,8 +50,11 @@ export interface ICommonAnnotationsData {
50
50
  id?: string;
51
51
  adjustScaleRange: boolean;
52
52
  annotationAxis: 'x' | 'y';
53
+ rotation: number;
53
54
  color: string;
54
55
  endValue: number;
56
+ borderWidth?: number;
57
+ backgroundColor?: string;
55
58
  label: string;
56
59
  labelConfig?: Record<string, any>;
57
60
  type: string;
@@ -13,6 +13,7 @@ declare const getAnnotation: ({ showAnnotations, annotationsData, }: IGetAnnotat
13
13
  display: boolean | undefined;
14
14
  annotationIndex: number;
15
15
  id: string;
16
+ rotation: number;
16
17
  scaleID: "x" | "y";
17
18
  label: {
18
19
  content: string;
@@ -0,0 +1,5 @@
1
+ import { Chart } from 'chart.js';
2
+ export declare const ellipsisAnnotationPlugin: {
3
+ id: string;
4
+ afterDraw: (chart: Chart<any>) => void;
5
+ };
@@ -1328,6 +1328,71 @@ export namespace DragAnnotations {
1328
1328
  }
1329
1329
  export { args_45 as args };
1330
1330
  }
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
+ }
1331
1396
  import { LineChart } from './line-chart';
1332
1397
  declare namespace basicChart { }
1333
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.4.2",
3
+ "version": "4.5.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": {