for (int bars = ChartBars.FromIndex; bars >= ChartBars.ToIndex; bars--)
{
CandleOutlineBrushes[barIndex] = myBrush;
}
and this:
ChartBars.Properties.ChartStyle.Stroke.Brush = myBrush;
ChartBars.Properties.ChartStyle.Stroke2.Brush = myBrush;
I found that when I do this:
CandleOutlineBrushes[barIndex] = Color.Transparent;
and then click on the 'Open Data Series' button, I get an exception from Ninja (see attached trace). This did not happen in NT 7.
I used both the above techniques in NT 7 but it seems something has changed.
The desired result is to make the normal candle stick elements totally transparent when user spreads out bars and then switch back to be normal candles when user scrunches up the bars.
So I am wondering what is the recommended technique for NT 8?
Thanks,
Gary
Comment