@oliasoft-open-source/charts-library 3.4.5-beta-2 → 3.4.6
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 +98 -99
- package/dist/index.js.map +1 -1
- package/dist/src/components/bar-chart/get-bar-chart-tooltips.d.ts +3 -0
- package/dist/src/components/controls/axes-options/axes-options.d.ts +6 -0
- package/dist/src/components/line-chart/utils/axis-scales/axis-scales.d.ts +1 -1
- package/dist/src/components/line-chart/utils/get-annotations-data.d.ts +1 -0
- package/dist/src/components/line-chart/utils/get-axes-data-from-metasets.d.ts +1 -0
- package/dist/src/components/line-chart/utils/get-line-chart-tooltips.d.ts +5 -0
- package/dist/src/helpers/chart-consts.d.ts +3 -1
- package/package.json +1 -1
|
@@ -7,6 +7,9 @@ declare const getBarChartToolTips: (options: any) => {
|
|
|
7
7
|
mode: ChartHoverMode;
|
|
8
8
|
intersect: boolean;
|
|
9
9
|
padding: number;
|
|
10
|
+
boxWidth: number;
|
|
11
|
+
boxHeight: number;
|
|
12
|
+
boxPadding: number;
|
|
10
13
|
callbacks: {
|
|
11
14
|
title: (tooltipItem: any, data: any) => string;
|
|
12
15
|
label: (tooltipItem: any) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function getAnnotationsData(data: any[]): Object;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function getAxesDataFromMetasets(chartRef: Object, scalesKeys: any[], annotationsData: Object): Object;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ChartHoverMode } from '../../../helpers/enums';
|
|
2
2
|
import { ILineChartOptions } from '../line-chart.interface';
|
|
3
|
+
export declare const getUnitsFromLabel: (label: string) => string;
|
|
3
4
|
/**
|
|
4
5
|
* @param {import('../line-chart.interface').ILineChartOptions} options - line chart options object
|
|
5
6
|
*/
|
|
@@ -8,6 +9,10 @@ declare const getLineChartToolTips: (options: ILineChartOptions) => {
|
|
|
8
9
|
mode: ChartHoverMode;
|
|
9
10
|
intersect: boolean;
|
|
10
11
|
padding: number;
|
|
12
|
+
usePointStyle: boolean;
|
|
13
|
+
boxWidth: number;
|
|
14
|
+
boxHeight: number;
|
|
15
|
+
boxPadding: number;
|
|
11
16
|
callbacks: {
|
|
12
17
|
title: (tooltipItem: any, _data: any) => string;
|
|
13
18
|
label: (tooltipItem: any) => string;
|
|
@@ -7,7 +7,9 @@ export declare const ANNOTATION_DASH: number[];
|
|
|
7
7
|
export declare const DEFAULT_FONT_SIZE = 13;
|
|
8
8
|
export declare const DEFAULT_FONT_FAMILY = "\"Lato\", sans-serif";
|
|
9
9
|
export declare const DEFAULT_COLOR = "rgba(0,0,0,.87)";
|
|
10
|
-
export declare const LEGEND_LABEL_BOX_SIZE =
|
|
10
|
+
export declare const LEGEND_LABEL_BOX_SIZE = 12;
|
|
11
|
+
export declare const TOOLTIP_PADDING = 8;
|
|
12
|
+
export declare const TOOLTIP_BOX_PADDING = 4;
|
|
11
13
|
export declare const LOGARITHMIC_STEPS: number[];
|
|
12
14
|
export declare const COLORS: string[];
|
|
13
15
|
/**
|
package/package.json
CHANGED