void xAxisDateTime_AxisChanged(object sender, AxisChangedEventArgs e) { //PlotVariables.linearAxisY.Zoom(listdTemperature.Min(), listdTemperature.Max()); //plot1.RefreshPlot(true); }
/// <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); } }