Example #1
0
 public void RenewChart()
 {
     if (ChartCache != null)
     {
         BottomAxis.ClearAxis();
         int n = ChartCache.AbsoluteCount;
         if (n > 0)
         {
             List <double> p = ChartCache.AbsoluteGetAt(n - 1);
             if (p != null && p.Count > 0)
             {
                 double v = p[0] / 1000.0;
                 BottomAxis.AbsoluteMaximum = v;
             }
         }
         RefreshChart(n);
     }
 }