Web Pages
Web Pages - Chart Helper syntax
Chart Helper - One of many useful ASP.NET web helpers. The "Chart Helper" can create different types of chart images with a variety of formatting options and labels. It can create standard charts like area charts, bar charts, column charts, line charts, pie charts, and more, as well as more professional charts like stock charts.
Web Pages - Chart Helper example
@{ var myChart = new Chart(width: 600, height: 400) .AddTitle("Employees") .AddSeries(chartType: "column", xValue: new[] { "Peter", "Andrew", "Julie", "Mary", "Dave" }, yValues: new[] { "2", "6", "4", "5", "3" }) .Write(); }