Delete line form first to last point

Hello,

First of all thanks a lot for plot.ly, it’s very amazing !

I have a little problem with my chart, I have a line from the first to the last point and I don’t find how delete it :

Do you know how can I delete this line ?

Regards,

Martin

The order of data determines which points are connected with line. What you see in your graph could easily be caused by the first point being pushed to the end of the list, or the last point being at the beginning.

For example:
[1,1],
[2,4],
[3,9],
[4,16]

is different than
[4,16],
[1,1],
[2,4],
[3,9]

The latter would create a line which would appear to travel between the first and last points.

2 Likes

That was the problem, thanks a lot rifland :+1:t2: