besabestin
besabestin

Reputation: 492

Is data grouping supported in Highcharts?

I tried to work with something like merging a set of data from days to months, but Highcharts doesn't group them. The chart tries to show all the data. I am not using Highstock.

Is data grouping supported in Highcharts?

Upvotes: 2

Views: 3323

Answers (1)

SteveP
SteveP

Reputation: 19103

Highcharts itself doesn't suport data grouping. You have two options:

  1. Use highstock, which does have support for it: http://api.highcharts.com/highstock/#plotOptions.series.dataGrouping
  2. Group the data yourself.

If you want to process your data to group it, you will need to loop through your daily data, adding each value into a new data array, indexed on month.

Upvotes: 1

Related Questions