Hary
Hary

Reputation: 125

Highcharts multiple values for 1 date?

I have multiple readings for same day. When I plot the dotted chart, I get one date for each value. So I have same date on x axis repeating for the number of readings for that same day. Is there any way I can put all the readings for a same day under 1 x-axis date label?

Upvotes: 0

Views: 1031

Answers (1)

wergeld
wergeld

Reputation: 14442

It would be advisable to use a 'datetime' xAxis.type in this case and send in your data as [time, value] pairs. Alternative would be to create multiple series with the xAxis index/value pairs needed - but this gets ugly quick.

Upvotes: 2

Related Questions