@oliasoft-open-source/charts-library 3.6.0-beta-1 → 3.6.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 +36 -7
- package/dist/index.js.map +1 -1
- package/dist/src/components/line-chart/line-chart.stories.d.ts +39 -0
- package/dist/src/components/line-chart/utils/__tests__/get-line-chart-tooltips.test.d.ts +1 -0
- package/dist/src/components/line-chart/utils/get-axis-range-by-type.d.ts +10 -0
- package/package.json +1 -1
- /package/dist/src/components/line-chart/utils/{get-line-chart-tooltips.test.d.ts → __tests__/get-axis-range-by-type.test.d.ts} +0 -0
|
@@ -1003,6 +1003,45 @@ export namespace TestLongLegendLabels {
|
|
|
1003
1003
|
export { args_37 as args };
|
|
1004
1004
|
}
|
|
1005
1005
|
export function TestResizingContainer(): import("react/jsx-runtime").JSX.Element;
|
|
1006
|
+
export function PartialRange(args: any): import("react/jsx-runtime").JSX.Element;
|
|
1007
|
+
export namespace PartialRange {
|
|
1008
|
+
export namespace args_38 {
|
|
1009
|
+
export namespace chart_36 {
|
|
1010
|
+
export namespace data_18 {
|
|
1011
|
+
const datasets_18: {
|
|
1012
|
+
label: string;
|
|
1013
|
+
data: {
|
|
1014
|
+
x: number;
|
|
1015
|
+
y: number;
|
|
1016
|
+
}[];
|
|
1017
|
+
}[];
|
|
1018
|
+
export { datasets_18 as datasets };
|
|
1019
|
+
}
|
|
1020
|
+
export { data_18 as data };
|
|
1021
|
+
export namespace options_32 {
|
|
1022
|
+
export namespace additionalAxesOptions_5 {
|
|
1023
|
+
export namespace range_2 {
|
|
1024
|
+
export namespace x_7 {
|
|
1025
|
+
const max_4: number;
|
|
1026
|
+
export { max_4 as max };
|
|
1027
|
+
}
|
|
1028
|
+
export { x_7 as x };
|
|
1029
|
+
export namespace y_6 {
|
|
1030
|
+
const min_4: number;
|
|
1031
|
+
export { min_4 as min };
|
|
1032
|
+
}
|
|
1033
|
+
export { y_6 as y };
|
|
1034
|
+
}
|
|
1035
|
+
export { range_2 as range };
|
|
1036
|
+
}
|
|
1037
|
+
export { additionalAxesOptions_5 as additionalAxesOptions };
|
|
1038
|
+
}
|
|
1039
|
+
export { options_32 as options };
|
|
1040
|
+
}
|
|
1041
|
+
export { chart_36 as chart };
|
|
1042
|
+
}
|
|
1043
|
+
export { args_38 as args };
|
|
1044
|
+
}
|
|
1006
1045
|
import { LineChart } from './line-chart';
|
|
1007
1046
|
declare namespace basicChart { }
|
|
1008
1047
|
declare const customLegendContainerID: "custom-legend-container";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
import { Chart } from 'chart.js';
|
|
3
|
+
import { ICommonAnnotationsData } from '../../common/common.interface.ts';
|
|
4
|
+
export type TAxisType = 'x' | 'y' | 'x1' | 'y1';
|
|
5
|
+
interface IMinMax {
|
|
6
|
+
min: number;
|
|
7
|
+
max: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const getAxisRangeByType: (chartRef: RefObject<Chart>, axesType: TAxisType, annotationsData: ICommonAnnotationsData[]) => IMinMax | null;
|
|
10
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oliasoft-open-source/charts-library",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.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": {
|