Open sinnbeck opened 7 years ago
You can't access the series object within the pattern definition. The closest you get I think is to predefined the color scheme, then define the patterns after that: http://jsfiddle.net/jzy1unsv/213/
Made a few adjustments and it now works as I was hoping. People can merge this with the original plugin if they want the same functionality. :) http://jsfiddle.net/jzy1unsv/215/
Sorry if this is not an actual issue. I am trying to get the plugin to use an object to define by pattern as I need to be able to set the color for each series individually. If I look at the version 1 example it seems that the old version can take an object color overrides does not seem to work. My guess would be to set it up something like this. http://jsfiddle.net/jzy1unsv/212/