2X faster development
The ultimate ASP.NET MVC UI toolkit to boost your development speed.
The StartAngle property determines the angle to draw the segment for first point in pie and doughnut series. Segments for other points are drawn after the previous segment. In other words, StartAngle property determines the angle from which the pie or doughnut series are to be rendered. By default, the pie or doughnut series start from the center and top center co-ordinates of chart area. CSHTML @(Html.EJ().Chart("chart") .Title(title=>title.Text("With Start Angle 90 degree")) .Legend(leg=>leg.Visible(false)) .Series(ser=> { ser.Type(SeriesType.Pie) .StartAngle(90) .Marker(m => m.DataLabel(l => l.Visible(true) .Font(f => f.Color("white"))) ) .Points(p => { p.X("1").Y(30).Add(); p.X("2").Y(40).Add(); p.X("3").Y(50).Add(); p.X("4").Y(60).Add(); }) .Add(); } ) ) The following screenshot illustrates the pie chart with start angle 0, rendering from center and top center co-ordinates of chart area. Figure 1: Pie chart with start angle 0 The following screenshot illustrates the pie chart with start angle 90, rendering from center and right center co-ordinates of chart area. Figure 2: Pie chart with start angle 90 |
2X faster development
The ultimate ASP.NET MVC UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.