Nevron Forum

Elliptical Pie-Chart Setting?

https://www.nevron.com/Forum/Topic4682.aspx

By Bill Elliott - Wednesday, December 29, 2010

Hello!

Is there a setting in the Pie Chart mechanism to allow me to 'tilt' the pie chart back a little more?  A standard pie chart seems to have about 15-20 degrees tilt (slant away from the pag/screen plane), but I'd really like to push it back a little more and make it appear more elliptical and less circular.

  • What I want (see Pie_Slanted.jpg)
  • What I get (see Pie_Slanted_NOT.jpg)

Thank you! 


Bill Elliott
By Nevron Support - Thursday, December 30, 2010

Hello Bill,

You can change the Elevation property of the pie chart projection:


   NPieChart chart = new NPieChart();
   chart.Enable3D = true;
   nChartControl1.Charts.Clear();
   nChartControl1.Panels.Add(chart);

   chart.Projection.Type = ProjectionType.Perspective;
   chart.Projection.Rotation = 0;
   chart.Projection.Elevation = -60;


Values around -60 produce similar results to the image that you sent us.
By Bill Elliott - Thursday, January 6, 2011

Sweeeeeeet!!  That totally did the trick (with some additional tweaking, due to other customization).

Thank you VERY much! 

Bill Elliott  

By Bill Elliott - Thursday, January 6, 2011

Thought I'd upload a quick snapshot of the new results.  I am developing an Intranet website for the Data Operations Center department in DirecTV, so getting these pie charts 'laid over' was pretty critical to the look-n-feel of the chart they were/are using in Excel.  See attached image (PieTitled.jpg) for a visual;

Bill Elliott