How to force Highcharts to show all points?

3

I use the highcharts API to generate graphs from information collected in a database, the problem is that when it comes to many points in your series, it HIDES and GENERATES a Mean in periods. .

See the example in this jsfiddle . The highest point shown is 6,888

Butthisistheaverageofthecollectionsmadeat6:00(4.62),6:05(9.14)and6:10(5.13)/strong>.Theproblemisthatwhendoingananalysisyoucannotknowhowfaryoureachedunlessyouzoom.see:

I do not want it to show average! I want you to show point by point, how should I set up my chart? I already looked in the documentation but I did not find anything: / can someone help me?

    
asked by anonymous 20.04.2018 / 16:25

1 answer

5

Highcharts works with the concept of data grouping for better visualization of the data.

Using grouping, sampling is done on the basis of possible values such as mean or sum.

You can disable dataGrouping , just add this code:

plotOptions: {
      series: {
        dataGrouping: {
          enabled: false
      }
   }
}

View your updated example.

From version v4.2.7 you can also use a callback function to extract the data, as this example.

    
20.04.2018 / 16:38