add reset colorCounter method
When updating all series on chart it would be nice to have option to reset colorCounter - rather than having to define colours when adding in the new series
i.e
chart.resetColorCounter = resetColorCounter;
function resetColorCounter(){colorCounter=0;}
7
votes
Sam
shared this idea
-
Sam commented
I guess to make most useful you could make function something like
function adjustColorCounter(changeBy){if(changeBy){colorCounter += changeBy} else{colorCounter=0;}}