I'd like to display the color and the marker of the series of a line chart next to the table where i display the data. I didnt set the the color manually.
How can i get the series color and marker via JavaScript?
You can use the following:
var clr0 = chart.series[0].color;
var mrk0 = chart.series[0].symbol;
Here's an example on jsfiddle.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With