Advertisement
Guest User

Untitled

a guest
May 26th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. var _bigDataPoints = new List<DataPoints>();
  2.  
  3. _bigDataPoints.Add(410.8070281 , 4943000.0000000 );
  4. _bigDataPoints.Add(432.7935746 , 5041000.0000000 );
  5. _bigDataPoints.Add(436.8319199 , 5059000.0000000 );
  6. _bigDataPoints.Add(9918.193582 , 47320000.0000000 );
  7. _bigDataPoints.Add(10099.91912 , 48130000.0000000 );
  8. _bigDataPoints.Add(10216.58243 , 48650000.0000000 );
  9. _bigDataPoints.Add(104904.5616 , 470700000.0000000 );
  10. _bigDataPoints.Add(107282.6983 , 481300000.0000000 );
  11. _bigDataPoints.Add(108337.1551 , 486000000.0000000 );
  12. _bigDataPoints.Add(991388.6853 , 4422000128.0000000 );
  13. _bigDataPoints.Add(1000362.786 , 4462000128.0000000 );
  14. _bigDataPoints.Add(1006195.923 , 4488000000 );
  15.  
  16. var logAxisX = new LogarithmicAxis() { Position = AxisPosition.Bottom, Title = "Log(x)", UseSuperExponentialFormat = false, Base = 10 };
  17. var linearAxisY = new LinearAxis() { Position = AxisPosition.Left, Title = "Y", UseSuperExponentialFormat = false };
  18.  
  19. ChartPlot.Axes.Add(linearAxisY);
  20. ChartPlot.Axes.Add(logAxisX);
  21.  
  22. var lineSeriesBigData = new OxyPlot.Series.LineSeries();
  23. lineSeriesBigData.Points.AddRange(_bigDataPoints);
  24.  
  25. ChartPlot.Series.Clear();
  26. ChartPlot.Annotations.Clear();
  27. ChartPlot.Series.Add(lineSeriesBigData);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement