Page 1 of 1

Axis label positions of a polar chart

Posted: Mon Jun 08, 2009 5:08 am
by 13051032
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,

Posted: Mon Jun 08, 2009 9:09 am
by 10050769
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,