/// <summary> /// Intended to used by derived classes, fires the DataChanged event and the Changed event /// </summary> public override void OnDataChanged() { // first inform our AbstractXYPlotStyle of the change, so it can invalidate its cached data if (null != this.m_PlotStyle) { m_PlotStyle.EhDataChanged(this); } base.OnDataChanged(); }
protected override void OnChanged(EventArgs e) { if (e is PlotItemDataChangedEventArgs) { // first inform our AbstractXYPlotStyle of the change, so it can invalidate its cached data if (null != _plotStyle) { _plotStyle.EhDataChanged(this); } } base.OnChanged(e); }