예제 #1
0
파일: Form1.cs 프로젝트: JohnnyPP/OxyPlot
 void xAxisDateTime_AxisChanged(object sender, AxisChangedEventArgs e)
 {
     //PlotVariables.linearAxisY.Zoom(listdTemperature.Min(), listdTemperature.Max());
     //plot1.RefreshPlot(true);
 }
예제 #2
0
        /// <summary>
        /// Raises the AxisChanged event.
        /// </summary>
        /// <param name="args">
        /// The <see cref="OxyPlot.AxisChangedEventArgs"/> instance containing the event data.
        /// </param>
        protected virtual void OnAxisChanged(AxisChangedEventArgs args)
        {
            this.UpdateActualMaxMin();

            var handler = this.AxisChanged;
            if (handler != null)
            {
                handler(this, args);
            }
        }