In my program I dynamically generate a certain number of linecharts and corresponding checkboxes (they toggle the chart's visibility). To make the program more visually effective I want to somehow apply a different color to each linechart/checkbox pair. So basically I'm asking two different questions:
Does anyone have a good strategy for generating a dynamic number of different colors?
How would you suggest applying a color to a checkbox and linechart pair?
Do you mean different charts or series in charts?
Charts implements appling different colors for each series if it's not setted by user. You can get the same. For checkBox you can get color from series.
I mean different Charts. It's funny you post that question though, because in my prior implementation, it was different series on the same chart. And I did indeed match the colors of the series to the font color of the checkboxes. Thanks though.