Friday, 9 August 2013

How to make point chart wiht Chart helper in asp.net mvc 4?

How to make point chart wiht Chart helper in asp.net mvc 4?

I created this chart:
Chart c =new Chart(width: 1000, height: 500)
.AddSeries(
name: "ChartArea1",
chartType: "Line",
xValue: query.Select(x => i++).ToArray(),
yValues: query.Select(x => x.FR_Current).ToArray()
);
and the result is this:

I want to hide the lines and show only the points.

No comments:

Post a Comment