internal void SetViewportX(Charts.IntRange xRange) { foreach (DictionaryEntry item in this) { if ((item.Value as baseClass.controls.graphPanel).Visible) { (item.Value as baseClass.controls.graphPanel).myGraphObj.myViewportX = xRange; } } }
public void RestoreChart() { Charts.IntRange range = pricePanel.myGraphObj.myViewportX; UpdateChart(); pricePanel.myGraphObj.myViewportX = range; }