yamid

yamid

  • NA
  • 98
  • 0

Choose distinct and ordered colours for multiple 2D line

Jul 23 2013 6:25 PM
Hi
I am writing a program that can draw many 2D lines (for example 10 line plots) using C#.
I want to use distinct and ordered colours for each line.  I want to define a fixed order of colours, where the first 2D line graph be always colour1(like blue), the second graph to be of colour2 (for example red),... . Can you please help how to do this?
1. define an array of colours[]
2. Use colour[0] for line 1, colour[1] for line 2,....

Thanks.


Answers (1)