i also tried with this code below but chart is not coming properly
public ActionResult Index()
{
Chart chart = new Chart(width: 1080, height: 1280);
chart.AddSeries(
chartType: "stackedbar",
xValue: new[] { "a", "b", "c", "d", "e", "f", "g", "h", "i" , "j", "k", "l", "m", "n", "o" , "p", "q", "r", "s", "t", "u" },
yValues: new[] { "200", "400", "600", "200", "400", "600", "200", "400", "600" , "200", "400", "600", "200", "400", "600" , "200", "400", "600", "200", "400", "600" }
).Write();
return null;
}