I have for example
if (Rising(Lower)) PlotColors[2][0] = lineup;
if (Falling(Lower)) PlotColors[2][0] = linedown;
if (Rising(Upper)) PlotColors[1][0] = Color.Transparent;
if (Falling(Upper)) PlotColors[1][0] = Color.Transparent;
I'd like to individually set the Dash Style depending on certain conditions.
I have tried adding e.g.
if (Rising(Upper)) PlotColors[1][0] = Color.Transparent;
if (Rising(Upper)) Plots[1].Pen.DashStyle = DashStyle.Dash;
but it then uses this DashStyle for ALL Plots[1].
Plots[1][0].Pen.DashStyle = DashStyle.Dash; doesn't work either.
Is there a way to limit this to only apply to this condition, here Rising Upper but not apply it to Falling Upper?
sandman
PS: What is the practical difference between using either
PlotColors[0][0] = Color.Blue;
or
Plots[0].Pen.Color = Color.Blue;
Comment