diff --git a/package.json b/package.json index 09ecda1..9022f4d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@statisticsfinland/pxvisualizer", - "version": "1.4.8", + "version": "1.4.9", "description": "Component library for visualizing PxGraf data", "main": "./dist/pxv.cjs", "jestSonar": { diff --git a/src/core/chartOptions/chartOptions.ts b/src/core/chartOptions/chartOptions.ts index 7c81414..b356fc1 100644 --- a/src/core/chartOptions/chartOptions.ts +++ b/src/core/chartOptions/chartOptions.ts @@ -37,7 +37,12 @@ export const commonChartOptions = (view: View, locale: string, options?: IChartO tooltip: { formatter: getToolTipFormatterFunction(view, locale) }, - yAxis: [commonYAxisOptions] + yAxis: [commonYAxisOptions], + lang: { + accessibility: { + chartContainerLabel: view.header[locale] // Reads the title of the chart but omits the 'Highcharts interactive chart' part which is read by default and is redundant in our case + } + } }; }