I made indicator that plots custom candles over existing bars.
To make it independent of ChartStyles changes, in State.DataLoaded on each call of OnRender() I did this:
ChartBars.Properties.ChartStyle.IsVisible = false;
Chart_Execution_Style = ChartBars.Properties.PlotExecutions;
ChartBars.Properties.ChartStyle.IsVisible = false;
ChartBars.Properties.PlotExecutions = Chart_Execution_Style;
So I tried this:
ChartBars.Properties.ChartStyle.DownBrush = WmBrushes.Transparent;
ChartBars.Properties.ChartStyle.UpBrush = WmBrushes.Transparent;
CandleOutlineBrushes[0] = WmBrushes.Transparent;
But, I still can see Kagi lines, and need to move chart to trigger OnRender() to make brushes transparent again after ChartStyle changed. This is the brief video: http://somup.com/cqieQmnWRX
And I am sure new surprises coming on this way.
So, what ways may You to advise?
UPD:
Does NT have something like ChartStyle.Changed event:?

Comment