E.g., I build the series data in a loop that pushes data in the following way:
Code: Select all
data.push({x: dtimevalue, y: thevalue, color: chromafunction(thevalue).css()});
I have tried several things to no avail:
-- colorByPoint set true doesn't work; it uses the class names to generate random colors. The class overrides the SVG fill which does show my preferred color.
-- setting fillColor and marker: fillColor in the data series does not work, they seem to be ignored.
Any help appreciated. In summary, I would like to use the styled mode to leverage classes to separate markup from styling, but I need to dynamically override colors on occasion, preferably while setting up the data (and not later with a load function), and without setting up hundreds of specific classes.