Home forums Using CanvasJS edit stripline and add colors to multiple occurences on the same coordinates Reply To: edit stripline and add colors to multiple occurences on the same coordinates

#23271

Vishwas R
Keymaster

Eran,

question 2: how can I delete a marked stripline?

You can remove selected stripLine dynamically using remove method. Please take a look at this JSFiddle where stripLines are deleted dynamically on double clicking them.

question 3: please refer to the following image: https://imgur.com/XI0P34N
I am actually plotting a scatter graph with a lot of data: can I somehow assign a color to a point depending on the number of occurences? Example: if I have 10 points which are equal (same x- & y-axis value), then plot the point yellow, if I have 20 points which are equal, plot the point blue etc.

You can set color to the dataPoint based on number of occurrences. Please refer this stackoverflow thread for more info on finding the number of occurrences of an element in an array of objects.

question 1: how can I drag and drop stripline boarders, meaning: I set them with the mouse, and then I want to move the boarders to the left/right

We are looking into this and will get back to you at the earliest.


Vishwas R
Team CanvasJS