JordanT
Posts: 1
Joined: Thu Oct 28, 2021 8:26 pm

Highcharts issues using CSV

I am having issues creating my Highcharts graph out of my csv data. I have the following code that seems that it should work but it produces a blank graph on my server, I think it has something to do with the way that I'm pulling my data. I am using a ajax requests to pull from the csv file and plot the points. My csv is formatted like this.
  • 0,0,0,12:45:37
    5,26,130,12:45:37
    1,28,28,12:45:42
    4,35,140,12:45:47
    1,32,32,12:45:52
    3,16,48,12:45:57
    1,29,29,12:46:02
    1,25,25,12:46:07
    5,16,80,12:46:12
    4,35,140,12:46:17
    5,25,125,12:46:22
    4,37,148,12:46:27
With new points being added to the csv file every 30 seconds.

This is my code producing a blank graph.
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Highcharts issues using CSV

Hello JordanT,

Welcome to our forum and thanks for contacting us with your question!

Please recreate your chart in a form of a live demo. Data should be hardcoded, just make sure that the chart is plotted correctly. You can start here: https://jsfiddle.net/BlackLabel/Lcf36abd/

With correct chart reproduction I will try to parse your sample CSV data.

Regards!
Mateusz Bernacik
Highcharts Developer

Return to “Highcharts Stock”