TOUDIdel
TOUDIdel

Reputation: 1304

Dragable only one of plot series

I have 3 series on my chart. Is it possible to give user only one serie to modify (as dragable line) whilst other can't be modify?

Upvotes: 1

Views: 97

Answers (1)

Mark
Mark

Reputation: 108557

This is totally undocumented, but browsing the source for the dragable plugin it is as simple as setting the isDragable property for that series to false.

series:[{},{isDragable:false}] //set the second series to be undraggable.

See working example here.

Upvotes: 1

Related Questions