Ray Rich
Ray Rich

Reputation: 11

Dygraphs - error - CSV is out of order; order it correctly to speed loading

I get a graph generated from an external txt file that is properly rendered, but get this error in console.

CSV is out of order; order it correctly to speed loading.

Think this is slowing down the rendering. Cannot find any information on how to fix correct the CSV. Txt file is correct csv format, or graph would be wrong.

Using dygraph script from cdnjs - 1.1.1

Has anyone any experience of this or ideas on a fix?

Search the dygraphs web site but could not find any information on this error. Blog last entry 2014!

Upvotes: 1

Views: 122

Answers (1)

squaregoldfish
squaregoldfish

Reputation: 800

The CSV file should be constructed such that the x-axis values are in ascending order.

Upvotes: 2

Related Questions