Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
 public void RefreshWithoutAxis(AxisBase axis)
 {
     if (IsRefresh)
     {
         this.GenerateDatas();
     }
 }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 4
0
        /// <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;
            }
        }