Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace WindowsFormsApplication4.Models
- {
- public class Entry
- {
- public string Segment { get; set; }
- public int Time { get; set; }
- public double Speed { get; set; }
- }
- }
- chart1 = new Chart();
- chart1.DataSource = list;
- chart1.Series.Add("Speed").YValueMembers = "Speed";
- chart1.Series["Speed"].ChartType = SeriesChartType.Bar;
- chart1.Series["Speed"].XValueType = ChartValueType.Double;
- chart1.Series["Speed"].YValueType = ChartValueType.Double;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement