Chart sample!

Coordinator
Jan 18, 2008 at 12:19 PM
A very light source code to create a chart...

TemporalChart chart = new TemporalChart();
chart.Title = "The title";

ChartLine line = new ChartLine("Line title");
line.Points.Add(new ChartPoint(new DateTime(2008, 1, 1), 10));
line.Points.Add(new ChartPoint(new DateTime(2008, 1, 2), 20));
line.Points.Add(new ChartPoint(new DateTime(2008, 1, 3), 15));

chart.Lines.Add(line);

Bruno