Page 1 of 1
3D Pie
Posted: Mon Sep 17, 2012 12:39 pm
by 15662902
Is it possible to increase the tilt of the 3D Pie?
Re: 3D Pie
Posted: Mon Sep 17, 2012 2:34 pm
by 10050769
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:
I hope will helps.
Thanks,
Re: 3D Pie
Posted: Mon Sep 17, 2012 2:41 pm
by 15662902
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,
Re: 3D Pie
Posted: Mon Sep 17, 2012 3:45 pm
by 10050769
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,
Re: 3D Pie
Posted: Tue Sep 18, 2012 2:17 pm
by 15662902
Have tried both of these ways and neither change the pie
Re: 3D Pie
Posted: Tue Sep 18, 2012 2:54 pm
by 10050769
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,
Re: 3D Pie
Posted: Tue Sep 18, 2012 4:18 pm
by 15662902
Work out why and the Chart3DPercent now works thanks
Re: 3D Pie
Posted: Wed Sep 19, 2012 7:49 am
by 10050769
Hello mikethelad,
I am glad your problem have been solved.
.
Thanks,