3D Pie

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
mikethelad
Newbie
Newbie
Posts: 58
Joined: Thu Jul 05, 2012 12:00 am

3D Pie

Post by mikethelad » Mon Sep 17, 2012 12:39 pm

Is it possible to increase the tilt of the 3D Pie?

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: 3D Pie

Post by Sandra » Mon Sep 17, 2012 2:34 pm

Hello mikethelad,

Is possible increase the size of Title of 3D Pie, you need only change the font size as do in next line of code:

Code: Select all

        tChart1.Title.Font.Size = 15;

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

mikethelad
Newbie
Newbie
Posts: 58
Joined: Thu Jul 05, 2012 12:00 am

Re: 3D Pie

Post by mikethelad » Mon Sep 17, 2012 2:41 pm

No, I meant the angle on the pie, see sample file, the top is what I am getting from Steema, the bottom one is what is required,
Attachments
graph.JPG
graph.JPG (27.49 KiB) Viewed 7197 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: 3D Pie

Post by Sandra » Mon Sep 17, 2012 3:45 pm

Hello Mikethelad,

Sorry , I got confused. In your case you, first you must change Chart3D as do in next line of code:

Code: Select all

    tChart1.Aspect.Chart3DPercent = 40;
If previous line of code doesn't solve your problem you can change the Orthogonal angle as do in next lines of code:

Code: Select all

  
tChart1.Aspect.Orthogonal = true;
tChart1.Aspect.OrthoAngle = 30;
If you have any problems please let me know.

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

mikethelad
Newbie
Newbie
Posts: 58
Joined: Thu Jul 05, 2012 12:00 am

Re: 3D Pie

Post by mikethelad » Tue Sep 18, 2012 2:17 pm

Have tried both of these ways and neither change the pie

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: 3D Pie

Post by Sandra » Tue Sep 18, 2012 2:54 pm

Hello mikethelad,

Ok. Please check next code if works in your end?

Code: Select all

 Steema.TeeChart.Chart tChart1;

    protected void Page_Load(object sender, EventArgs e)
    {
        tChart1 = WebChart3.Chart;
        InitializeChart();

    }
    private Steema.TeeChart.Styles.Pie pie1;
    private void InitializeChart()
    {
        pie1 = new Pie(tChart1);
        tChart1.Aspect.Chart3DPercent = 40;
        //tChart1.Aspect.Orthogonal = true; //uncomment if you want work with Orthogonal property. 
        //tChart1.Aspect.OrthoAngle = 30;//uncomment if you want works with a Orthogonal property and a determinate angle
        pie1.FillSampleValues();
    }

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

mikethelad
Newbie
Newbie
Posts: 58
Joined: Thu Jul 05, 2012 12:00 am

Re: 3D Pie

Post by mikethelad » Tue Sep 18, 2012 4:18 pm

Work out why and the Chart3DPercent now works thanks

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: 3D Pie

Post by Sandra » Wed Sep 19, 2012 7:49 am

Hello mikethelad,

I am glad your problem have been solved. :).

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply