locale property

List<String>? locale
getter/setter pair

The browser locale to use for date and number formatting. The actual locale used for each chart is determined in three steps:

  1. If this lang.locale option is specified, it is used.
  2. Else, look for the closest ancestor HTML element with a lang attribute, typically the <html> element.
  3. If no 'lang' attribute is found, use the default browser locale.

Use en-GB, British English, for approximate consistency with Highcharts v < 12.

API Docs: https://api.highcharts.com/highcharts/lang.locale

Implementation

List<String>? locale;