I would like to display the color and marker of a series of line charts next to the table where I show the data. I did not set the color manually.
How can I get the color and series marker via JavaScript?
You can use the following:
var clr0 = chart.series[0].color; var mrk0 = chart.series[0].symbol;
Here is a jsfiddle example.
Source: https://habr.com/ru/post/925474/More articles:how to request an item from a list in pymongo - pythonHow should we implement compatible with std :: error_code API? - c ++MySQL PDO fetchAll as an array with integer index - phpE: Could not find git package - Ubuntu on EC2 - gitCan I remove the default MongoDB index? - indexingExclusive Scala End Class Range - scalaDebugging problems with libC ++ in Xcode 4.4 - c ++Any way to find a word in a string without splitting - stringLocked memory in CUDA - memoryheroku deployment takes a very long time - herokuAll Articles