Instead if the last plot is negative it turns all bars red, and if the last plot is positive it turns all bars green. There must be something funky with my indexing but when I tried to change it I got an error.
Here's the code:
if(Value[0] > 0) { Plots[0].Brush = Brushes.Green; } else { Plots[0].Brush = Brushes.Red; }
What am I doing wrong?
Thanks
DaveN
Comment