I have written an indicator that puts a button on the current window's main toolbar. The button hides all chart objects, but I need it to do this for ALL charts. Currently, regardless of which tab is visible, it only does it for the chart that contains the indicator.
Is there a way to apply changes to drawing objects to ALL charts at the same time?
Here's the code:
foreach (DrawingTool draw in DrawObjects) //DrawingTool { if (draw.IsUserDrawn) { draw.IsVisible = false; ChartControl.InvalidateVisual(); ForceRefresh(); } }
Adam
Comment