This is a migrated thread and some comments may be shown as answers.

Pie Chart Series Border

1 Answer 191 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
iConect Developer - Mike
Top achievements
Rank 1
iConect Developer - Mike asked on 01 Feb 2012, 06:55 PM
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;" })
)

1 Answer, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 02 Feb 2012, 11:17 AM
Hello Paul,

Thank you for contacting us.

I confirm that this is a bug and I am glad to inform you that this bug is now fixed. The fix will be included in the next official release of Telerik Components for ASP.NET MVC.

I have update your telerik point.

Regards,
Hristo Germanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Chart
Asked by
iConect Developer - Mike
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Share this question
or