MVC also provides a chart helper , and MS documentation shows all types of chart images, but i am unable to use two y values , i tried a lot and now i think there is no way or it just doesn't support column chart with multiple y values.
what i want is , to show each department's performance each month like shown in below figure
suppose x axis (1,2,3,4,5,6,7) are department , y axis (performance in jan,feb and march)
i have tried below code, there is no way to use two y values ,
if i add two series then it generates multiple x's.
- @{
- var chart = new Chart(width: 500, height: 500, theme: ChartTheme.Yellow)
- .AddTitle("......")
- .AddSeries("Default", chartType: "column",
- xValue: Model, xField: "Department",
- yValues: Model, yFields: "Month" // no option to include multiple y
-
-
- )
-
- .Write();
- }