Ejemplo n.º 1
0
        /// <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();
        }
Ejemplo n.º 2
0
        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);
        }