/// <summary> /// Checks the min maxand interval. /// </summary> /// <param name="value">The value.</param> /// <param name="axis">The axis.</param> internal void CheckMinMaxandInterval(Double value, AxisBase axis) { axis.MMinValue = Math.Min(axis.MMinValue, value); axis.MMaxValue = Math.Max(axis.MMaxValue, value); }
public void RefreshWithoutAxis(AxisBase axis) { if (IsRefresh) { this.GenerateDatas(); } }
internal void CheckMinMaxandInterval(Double value, AxisBase axis) { axis.m_MinValue = Math.Min(axis.m_MinValue, value); axis.m_MaxValue = Math.Max(axis.m_MaxValue, value); }
/// <summary> /// Refreshes the without axis. /// </summary> /// <param name="axis">The axis.</param> public void RefreshWithoutAxis(AxisBase axis) { if (!IsRefreshed && IsRefresh) { #if WPF Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(this.GenerateDatas)); #elif WINRT IAsyncAction action = Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, this.GenerateDatas); #else Dispatcher.BeginInvoke(new Action(this.GenerateDatas)); #endif IsRefreshed = true; } }