Home forums Using CanvasJS How can I plot values from .txt file ? Reply To: How can I plot values from .txt file ?

#14779

Suyash Singh
Moderator

@fbk,

Kindly refer this jsfiddle on creating chart from text file.

The format of the text file( e.g. dataPoints.txt ) should be:

10 20
15 25
20 15
25 33
30 9
35 15
40 20

Also refer the documentation on working with date time values in chart for more info on using date-time values on axisX.

___
Suyash Singh
Team CanvasJS