Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private class MeasurementType1 : IDataPointProvider
- {
- public double Abscissa { get; set; }
- public double Ordinate { get; set; }
- public DateTime dateTime { get; set; }
- public BitmapImage thumbnail { get; set; }
- public MeasurementType1(double abscissa, double ordinate, BitmapImage thumb)
- {
- this.Abscissa = abscissa;
- this.Ordinate = ordinate;
- this.dateTime = DateTimeAxis.ToDateTime(abscissa);
- this.thumbnail = thumb;
- }
- public DataPoint GetDataPoint()
- {
- return new DataPoint(Abscissa, Ordinate);
- }
- }
- List<MeasurementType1> itemsSource = new List<MeasurementType1>();
- LineSeries m_series1 = new LineSeries();
- m_series1.ItemsSource = itemsSource;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement