Axis label positions of a polar chart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
asupriya
Advanced
Posts: 179
Joined: Mon Dec 01, 2008 12:00 am

Axis label positions of a polar chart

Post by asupriya » Mon Jun 08, 2009 5:08 am

My polar chart axis labels are inside the polar chart. My users like to have them outside the circular display polar chart. Is there a way to put the axis labels at a offset?

Example code will be helpful.

Thanks,

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

Post by Sandra » Mon Jun 08, 2009 9:09 am

Hello asupriya,


I found a simple example, that solve your problem using polar1.CircleLabels=true that draw circle labels of Polars series. Also you can change all properties for example polar1.CircleLabelsRotate= true, puts labels rotate around the Chart, or polar1.CicleLabelsInside=true, puts labels inside the Chart.


InitializeChart:

Code: Select all

      Steema.TeeChart.Styles.Polar polar1;
        private void InitializeChart()
        {
            tChart1.Aspect.Orthogonal = false;
            tChart1.Aspect.Perspective = 0;
            tChart1.Aspect.Rotation = 360;
            tChart1.Aspect.View3D = false;
            polar1 = new Steema.TeeChart.Styles.Polar(tChart1.Chart);
            polar1.FillSampleValues(5);
            polar1.Circled = true;
            polar1.CircleLabels = true;
            polar1.CircleLabelsRotated = true;
       }
ç

I hope that 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

Post Reply