Good morning,
I'm currently trying to get my donut charts to look flat with a bootstrap theme through the use of the kendo widget. I've been taking a look at your documentation and came across the following property, and was hoping that it would be as simple as adding this to the end of the series object in the mvc widget ".Overlay.Gradient("none")"
http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#configuration-series.overlay
But to no avail, there is no such property, not according to the syntax highlighting, and it doesn't work when I try brute forcing the thing. So I was wondering how to go about this using the syntax below.
@(Html.Kendo().Chart(Model)
.Name("chart")
.Title("Chart Data")
.Legend(legend => legend
.Position(ChartLegendPosition.Top)
)
.Series(series =>
{
series.Donut(
model => model.Value, // The data to use
model => model.Category, // The category Name
model => model.Color, // The color to use for the category
null // How far out the donut section should pop out
).Padding(10)
.Overlay.Gradient("none")
;
//.Labels(labels => labels
// .Visible(true)
// .Position(ChartPieLabelsPosition.OutsideEnd)
// .Template("#= category # - #= kendo.format('{0:P}', percentage)#")
// .Background("transparent")
//);
})
.Tooltip(tooltip => tooltip
.Visible(true)
.Template("#= category # - #= kendo.format('{0:P}', percentage) #")
)
)