AddPlot(...Brushes.Green..);
in DataLoaded:
myBrush = Plots[0].Brush;
in OnBarUpdate();
--> myBrush is Green.
However, if in DataLoaded, I code:
myBrush = Plots[0].Brush; //even tried: new SolidColorBrush((Plots[0].Brush as SolidColorBrush).Color);
Plots[0].Brush = Brushes.Transparent;
then `myBrush` is also transparent in OnBarUpdate.
what to do?
Comment