@statisticsfinland/pxvisualizer 1.0.8-d.5 → 1.0.8-d.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.
@@ -6,6 +6,7 @@ export declare function getAxisLabelFormatterFunction(locale: string): AxisLabel
6
6
  export declare const formatLocale: (locale: string) => string;
7
7
  export declare function getAxisLabelShorteningFunction(valueAmount?: number | null): AxisLabelsFormatterCallbackFunction;
8
8
  export declare function getDataLabelShorteningFunction(showData: boolean): DataLabelsFormatterCallbackFunction;
9
+ export declare function getDataLabelFormatterFunction(locale: string): DataLabelsFormatterCallbackFunction;
9
10
  export declare function getLegendLabelShorteningFunction(): FormatterCallbackFunction<Series | Point>;
10
11
  export declare const shortenStringValue: (value: string | number, limit?: number) => string;
11
12
  export declare function getScatterPlotScreenReaderFormatterCallbackFunction(view: View, locale: string): ScreenReaderFormatterCallbackFunction<Point>;
@@ -10,6 +10,7 @@ export declare const buildHighchartSeries: (view: View, type: SeriesType, locale
10
10
  name: string;
11
11
  custom: {
12
12
  preliminary: boolean;
13
+ precision: number;
13
14
  };
14
15
  }[];
15
16
  }[];
@@ -1,3 +1,2 @@
1
- import { IDataCell } from "../types/view";
2
- export declare function formatNumericValue(dataCell: IDataCell, locale: string, addThousandSeparator?: boolean): string;
1
+ export declare function formatNumericValue(value: number | null, precision: number, locale: string, addThousandSeparator?: boolean): string;
3
2
  export declare function formatMissingData(missingCode: number | undefined, locale: string, htmlTable?: boolean): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statisticsfinland/pxvisualizer",
3
- "version": "1.0.8-d.5",
3
+ "version": "1.0.8-d.6",
4
4
  "description": "Component library for visualizing PxGraf data",
5
5
  "main": "./dist/pxv.cjs",
6
6
  "jestSonar": {