@statisticsfinland/pxvisualizer 1.1.2 → 1.1.3-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/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/Utility/formatters.d.ts +3 -3
- package/dist/types/core/chartOptions/chartOptions.d.ts +3 -6
- package/dist/types/react/components/chart/chart.d.ts +3 -0
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AxisLabelsFormatterCallbackFunction, DataLabelsFormatterCallbackFunction, FormatterCallbackFunction, Point, ScreenReaderFormatterCallbackFunction, Series, TooltipFormatterCallbackFunction
|
|
1
|
+
import { AxisLabelsFormatterCallbackFunction, DataLabelsFormatterCallbackFunction, FormatterCallbackFunction, Point, ScreenReaderFormatterCallbackFunction, Series, TooltipFormatterCallbackFunction } from "highcharts";
|
|
2
2
|
import { IUnitInfo, View } from "../../types/view";
|
|
3
3
|
export declare function getToolTipFormatterFunction(view: View, locale: string): TooltipFormatterCallbackFunction;
|
|
4
4
|
export declare function getScreenReaderFormatterCallbackFunction(view: View, locale: string): ScreenReaderFormatterCallbackFunction<Point>;
|
|
@@ -11,7 +11,7 @@ export declare function getLegendLabelShorteningFunction(): FormatterCallbackFun
|
|
|
11
11
|
export declare const shortenStringValue: (value: string | number, limit?: number) => string;
|
|
12
12
|
export declare function getScatterPlotScreenReaderFormatterCallbackFunction(view: View, locale: string): ScreenReaderFormatterCallbackFunction<Point>;
|
|
13
13
|
export declare function getScatterPlotTooltipFormatterFunction(view: View, locale: string): TooltipFormatterCallbackFunction;
|
|
14
|
-
export declare function getLineChartToolTipFormatterFunction(view: View, locale: string): TooltipFormatterCallbackFunction;
|
|
14
|
+
export declare function getLineChartToolTipFormatterFunction(view: View, locale: string): Highcharts.TooltipFormatterCallbackFunction;
|
|
15
15
|
export declare function getFormattedUnits(unitInfos: IUnitInfo[], locale: string): string;
|
|
16
|
-
export declare function getDataFormattedForChartType(view: View, point:
|
|
16
|
+
export declare function getDataFormattedForChartType(view: View, point: Point, locale: string, precision: number): string;
|
|
17
17
|
export declare function parseScreenReaderFriendlyTimePeriods(value: string, locale: string): string;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import { Options, YAxisOptions } from 'highcharts';
|
|
1
|
+
import { LegendOptions, Options, PlotSeriesDataLabelsOptions, YAxisOptions } from 'highcharts';
|
|
2
2
|
import { View } from "../types/view";
|
|
3
3
|
export declare const commonChartOptions: (view: View, locale: string) => Options;
|
|
4
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
|
-
formatter: import("highcharts").DataLabelsFormatterCallbackFunction;
|
|
9
|
-
};
|
|
5
|
+
export declare const commonDatalabelsOptions: (view: View, locale: string) => PlotSeriesDataLabelsOptions;
|
|
10
6
|
export declare const commonBasicHorizontalBarChartYAxisOptions: (view: View, locale: string) => YAxisOptions;
|
|
11
7
|
export declare const commonHorizontalBarChartOptions: (view: View, locale: string) => Options;
|
|
12
8
|
export declare const commonStackedHorizontalBarChartOptions: (view: View, locale: string) => Options;
|
|
13
9
|
export declare const commonVerticalBarChartOptions: (view: View, locale: string) => Options;
|
|
14
10
|
export declare const commonBasicVerticalBarChartOptions: (view: View, locale: string) => Options;
|
|
15
11
|
export declare const commonStackedVerticalBarChartOptions: (view: View, locale: string) => Options;
|
|
12
|
+
export declare const commonLegendStyleOptions: LegendOptions;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { IQueryVisualizationResponse } from "../../../core";
|
|
3
|
+
import "highcharts/modules/accessibility.js";
|
|
4
|
+
import 'highcharts/modules/exporting.js';
|
|
5
|
+
import 'highcharts/modules/offline-exporting.js';
|
|
3
6
|
import { IFunctionalMenuItem, ILinkMenuItem } from "../burgerMenu/burgerMenu";
|
|
4
7
|
export interface IChartProps {
|
|
5
8
|
pxGraphData: IQueryVisualizationResponse;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@statisticsfinland/pxvisualizer",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3-d.0",
|
|
4
4
|
"description": "Component library for visualizing PxGraf data",
|
|
5
5
|
"main": "./dist/pxv.cjs",
|
|
6
6
|
"jestSonar": {
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"babel-loader": "^8.4.1",
|
|
69
69
|
"clean-publish": "^4.4.0",
|
|
70
70
|
"decimal.js": "^10.5.0",
|
|
71
|
-
"highcharts": "^
|
|
71
|
+
"highcharts": "^12.1.2",
|
|
72
72
|
"highcharts-react-official": "^3.2.1",
|
|
73
73
|
"jest": "^29.7.0",
|
|
74
74
|
"jest-environment-jsdom": "^29.7.0",
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
"uuid": "^11.0.5"
|
|
89
89
|
},
|
|
90
90
|
"dependencies": {
|
|
91
|
+
"highcharts": "^12.1.2",
|
|
91
92
|
"decimal.js": "^10.5.0",
|
|
92
93
|
"fflate": "^0.8.2",
|
|
93
|
-
"highcharts": "^10.3.3",
|
|
94
94
|
"highcharts-react-official": "^3.2.1"
|
|
95
95
|
},
|
|
96
96
|
"peerDependencies": {
|