score:5

Accepted answer

yes, it is possible.

you have the change the fillcolor attribute inside the marker inside the data attribute.

the color attribute inside data did not worked for me.

if you want the a green dot, you can look at this example i made.

score:2

yes - color is an option in the options object you are passing to addpoint. here's the api refernence for addpoint, and here's the description of the options available to you.

your code should end up looking more or less like this, if you say wanted a green point -

mcjs.chart.series[examplea].addpoint({ fillcolor: "#659355", y: exampleb, examplec });

right now though the object you're passing doesn't quite look valid - you need to match a key to each value; examplec has no key.


Related Query

More Query from same tag