@statisticsfinland/pxvisualizer 1.0.1-d.0 → 1.0.2-d.0
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/README.md +53 -2
- package/dist/pxv.cjs +1 -1
- package/dist/pxv.cjs.map +1 -1
- package/dist/pxv.modern.js +19 -19
- package/dist/pxv.modern.js.map +1 -1
- package/dist/pxv.module.js +1 -1
- package/dist/pxv.module.js.map +1 -1
- package/dist/pxv.umd.js +1 -1
- package/dist/pxv.umd.js.map +1 -1
- package/dist/types/core/chartOptions/chartOptions.d.ts +14 -0
- package/dist/types/core/highcharts/drawChart.d.ts +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Options, YAxisOptions } from 'highcharts';
|
|
2
|
+
import { View } from "../types/view";
|
|
3
|
+
export declare const commonChartOptions: (view: View, locale: string) => Options;
|
|
4
|
+
export declare const commonYAxisOptions: YAxisOptions;
|
|
5
|
+
export declare const commonDatalabelsOptions: (view: View, locale: string) => {
|
|
6
|
+
enabled: boolean | undefined;
|
|
7
|
+
style: import("highcharts").CSSObject | undefined;
|
|
8
|
+
};
|
|
9
|
+
export declare const commonBasicHorizontalBarChartYAxisOptions: (view: View, locale: string) => YAxisOptions;
|
|
10
|
+
export declare const commonHorizontalBarChartOptions: (view: View, locale: string) => Options;
|
|
11
|
+
export declare const commonStackedHorizontalBarChartOptions: (view: View, locale: string) => Options;
|
|
12
|
+
export declare const commonVerticalBarChartOptions: (view: View, locale: string) => Options;
|
|
13
|
+
export declare const commonBasicVerticalBarChartOptions: (view: View, locale: string) => Options;
|
|
14
|
+
export declare const commonStackedVerticalBarChartOptions: (view: View, locale: string) => Options;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as Highcharts from "highcharts";
|
|
2
2
|
import { IQueryVisualizationResponse } from "../types";
|
|
3
3
|
import { TVariableSelections } from "../types/variableSelections";
|
|
4
|
-
export declare const drawChart: (container: string, pxGraphData: IQueryVisualizationResponse, locale: string,
|
|
4
|
+
export declare const drawChart: (container: string, pxGraphData: IQueryVisualizationResponse, locale: string, selectedVariableCodes?: TVariableSelections | null) => Highcharts.Chart;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@statisticsfinland/pxvisualizer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2-d.0",
|
|
4
4
|
"description": "Component library for visualizing PxGraf data",
|
|
5
5
|
"main": "./dist/pxv.cjs",
|
|
6
6
|
"jestSonar": {
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"@storybook/addon-interactions": "^6.5.16",
|
|
53
53
|
"@storybook/addon-links": "^6.5.16",
|
|
54
54
|
"@storybook/builder-webpack4": "^6.5.16",
|
|
55
|
+
"@storybook/core": "^6.5.16",
|
|
55
56
|
"@storybook/manager-webpack4": "^6.5.16",
|
|
56
57
|
"@storybook/react": "^6.5.16",
|
|
57
58
|
"@storybook/testing-library": "^0.0.13",
|