This question is locked. New answers and comments are not allowed.
I modified the Razor Pie Chart example to demonstrate this, but it appears that the Border() has no affect on the pie chart series at all no matter what I put in the line between slices doesn't change. Is this a known issue?
@(Html.Telerik().Chart<ElectricitySource>()
.Name(
"pieChart"
)
.Theme(Html.GetCurrentTheme())
.Title(
"Break-up of Spain Electricity Production for 2008"
)
.Legend(legend => legend
.Position(ChartLegendPosition.Bottom)
//.Visible(false)
)
.Series(series => {
series.Pie(
"Percentage"
,
"Source"
)
.Border(5,
"#ff0000"
, ChartDashType.Solid)
.Labels(labels => labels.Visible((
bool
)ViewBag.showLabels).Template(
"<#= category #>"
)
.Align((ChartPieLabelsAlign)ViewBag.align)
.Position((ChartPieLabelsPosition)ViewBag.position))
.StartAngle((
int
)ViewBag.startAngle).Padding((
int
)ViewBag.padding);
})
.DataBinding(dataBinding => dataBinding
.Ajax().Select(
"_SpainElectricity"
,
"Chart"
)
)
//.Tooltip(tooltip => tooltip.Visible(true).Template("<#= value #>%"))
.HtmlAttributes(
new
{ style =
"width: 500px; height: 400px;"
})
)