This is the code, but it seems to make all bars show cyan and magenta depend on my condition. I am not sure how to make setting the color affecting only the current bar I am evaluating
if (Band[0] > Lastband) {
Plots[0].Pen = new Pen(Color.Cyan);
Plot0.Set (Band[0]); //cyan);
} else {
Plots[0].Pen = new Pen(Color.Magenta);
Plot0.Set (Band[0]); // magenta);
}
Comment