0

When I load all my data into a chart the xaxis gets cluttered and unreadable. I have maybe 120 records per hour that with a certain value. Is there a way in highcharts to load all the data I have and have the xaxis showing the values per hour? As pictured below:

https://i.stack.imgur.com/AIAT3.png

user2011736
  • 141
  • 8

1 Answers1

1

Have you tried http://api.highcharts.com/highcharts#plotOptions.line.pointInterval? I would assume setting pointInterval to 3600*1000 = 1 h would achieve what you want? By default this value is 1, hence the cluttering.

plotOptions: {
        series: {
            pointInterval:  3600 * 1000 // 1 h
        }
    },

Also check this fiddle; samples/highcharts/plotoptions/series-pointstart-datetime/

Henning
  • 156
  • 2
  • 5