I am trying to customize some aspects of the donut chart that I am populating with the following ASP.NET razor code:
@(Html.Kendo().Chart()
.Name("chart")
.ChartArea(chartArea => chartArea
.Background("transparent"))
.SeriesDefaults(series =>
series.Donut().StartAngle(0)
)
.Series(series =>
{
series.Donut(new dynamic[] {
new {category = "Asia", value = 25.0, color = "#124324" },
new {category = "Europe",value = 25.0, color = "#90cc38"},
new {category = "Latin America",value = 25.0, color = "#068c35"},
new {category = "Africa",value = 25.0, color = "#006634"}
}) ...
I searched the documentation and I can't find how to customize the following:
- Create a gap between each category
- Setting a border color per category
How to customize these aspects?