'NinjaTrader.Gui.Chart.ChartControl' does not contain a definition for 'ChartBackground' and no extension method 'ChartBackground' accepting a first argument of type 'NinjaTrader.Gui.Chart.ChartControl' could be found (are you missing a using directive or an assembly reference?)
with this statement
ChartControl.ChartBackground = Brushes.Gold;
(ChartBackground is a documented property of ChartControl)
i have this using
using NinjaTrader.Gui.Chart;
how to fix?
what I'm trying to do is to change the background color of all panels on the chart without changing the objects...
in Ninja 7 I used this...
ChartControl.BackColor = Color.Gold;

Comment