Home forums Using CanvasJS Graph a CSV file Reply To: Graph a CSV file

#21402

pkhan
Member

Hi I just started following canvasjs to create graphs, I am new to canvasjs and not able to completely understand logic on how timeseries graphs can be drawn using canvasjs. I have a large csv and the format is like. This file updates through some java code every minute, I have planned a control option type form, where there ia drop down and when I click on show graph for last 5 minutes, then it should be able to draw graph from this data for the last 5 minutes and so on for 10 , 20 minutes etc. Is it possible to do in canvasjs, if yes, please whow how ?
DateTime SizeCurrent sizelast
13-06-2018 00:00 10 80
13-06-2018 00:00 10 80
13-06-2018 00:01 90 65
13-06-2018 00:01 90 65
13-06-2018 00:02 100 60
13-06-2018 00:02 100 60
13-06-2018 00:03 01 100
13-06-2018 00:03 01 100
13-06-2018 00:04 91 90