@oliasoft-open-source/charts-library 5.9.0-beta-13 → 5.9.0-beta-14
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.d.ts +16 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -730,6 +730,7 @@ export declare type ILineChartOptionsInput = Omit<DeepPartial<ILineChartOptions>
|
|
|
730
730
|
annotationsData?: ILooseLineAnnotation[];
|
|
731
731
|
}) | ILooseLineAnnotation[] | null;
|
|
732
732
|
additionalAxesOptions?: DeepPartial<ILineChartAdditionalAxesOptions> & {
|
|
733
|
+
stepSize?: unknown;
|
|
733
734
|
range?: ILineRange | ILineChartRange | Record<string, ILineChartRange | undefined>;
|
|
734
735
|
} & Record<string, unknown>;
|
|
735
736
|
};
|
|
@@ -786,9 +787,19 @@ declare type ILooseBarAxis = DeepPartial<ICommonAxis<string>> & {
|
|
|
786
787
|
[key: string]: unknown;
|
|
787
788
|
};
|
|
788
789
|
|
|
789
|
-
declare type ILooseLineAnnotation =
|
|
790
|
+
declare type ILooseLineAnnotation = {
|
|
790
791
|
[key: string]: unknown;
|
|
791
|
-
|
|
792
|
+
id?: string;
|
|
793
|
+
label?: string;
|
|
794
|
+
color?: string;
|
|
795
|
+
borderColor?: string;
|
|
796
|
+
backgroundColor?: string;
|
|
797
|
+
borderWidth?: number;
|
|
798
|
+
display?: boolean;
|
|
799
|
+
adjustScaleRange?: boolean;
|
|
800
|
+
opacity?: number;
|
|
801
|
+
hideLegend?: boolean;
|
|
802
|
+
labelOffsetPx?: number;
|
|
792
803
|
annotationAxis?: string;
|
|
793
804
|
type?: string;
|
|
794
805
|
value?: number | string | null;
|
|
@@ -798,6 +809,9 @@ declare type ILooseLineAnnotation = DeepPartial<ICommonAnnotationsData> & {
|
|
|
798
809
|
yMax?: number | string | null;
|
|
799
810
|
xValue?: number | string | null;
|
|
800
811
|
yValue?: number | string | null;
|
|
812
|
+
onDragStart?: (...args: unknown[]) => void;
|
|
813
|
+
onDrag?: (...args: unknown[]) => void;
|
|
814
|
+
onDragEnd?: (...args: unknown[]) => void;
|
|
801
815
|
};
|
|
802
816
|
|
|
803
817
|
declare type ILooseLineAxis = DeepPartial<ILineChartAxis<string>> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oliasoft-open-source/charts-library",
|
|
3
|
-
"version": "5.9.0-beta-
|
|
3
|
+
"version": "5.9.0-beta-14",
|
|
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
|
"bugs": {
|