categories property

List<String>? categories
getter/setter pair

If categories are present for the xAxis, names are used instead of numbers for that axis.

Since Highcharts 3.0, categories can also be extracted by giving each point a name and setting axis type to category. However, if you have multiple series, best practice remains defining the categories array.

Example: categories: ['Apples', 'Bananas', 'Oranges']

API Docs: https://api.highcharts.com/highcharts/yAxis.categories

Implementation

List<String>? categories;