Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > Chart > Pie Chart Series Border

Not answered Pie Chart Series Border

Feed from this thread
  • iConect Developer - Mike avatar

    Posted on Feb 1, 2012 (permalink)

    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;" })
    )

    Reply

  • Hristo Germanov Hristo Germanov admin's avatar

    Posted on Feb 2, 2012 (permalink)

    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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > Chart > Pie Chart Series Border
Related resources for "Pie Chart Series Border"

ASP.NET MVC Chart Features  |  Documentation  |  Demos  |  Telerik TV ]