2 Replies Latest reply on May 12, 2009 4:56 AM by apmyhr

    Generating new colors

    apmyhr Level 1

      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?