Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1655
Change Radius and Legend Font Size of XamPieChart
posted

Hi ,

Kindly let me know how can the following functionalities will be achived using XamChart 3dPie Control

1. Decrease the Radius of 3dPie XamChart control

2.  The Text in the Pie chart, show in diffrent directions. I want to sho them in contant direction.

3. Set all the fonts in the Legent to constant size.

Thank You,

Regards

Arun

Parents
  • 9836
    posted

    Hi Aran,

    With regards to your first requirement to decrease the radius of the 3d pie chart you can  apply a scale transformation to the chart setting the ScaleX and ScaleY values e.g.

    <igCA:XamChart.Transform3D>
                    <Transform3DGroup>
                            <ScaleTransform3D ScaleX="0.3" ScaleY="0.3" ScaleZ="0.3" />
                    </Transform3DGroup>
    </igCA:XamChart.Transform3D>

    If you need to change the ExploadedRadius you can set the following chart parameters:

    <igCA:Series.ChartParameters>
         <igCA:ChartParameter
                             Type="Exploded"
                              Value="True" />
         <igCA:ChartParameter
                             Type="ExplodedRadius" 
                             Value="0.1" />
    </igCA:Series.ChartParameters> 

    About your second requirement I'm affraid that this is not possible with the current release. By default only the Markers in the 2d pie chart will not be rotated. You can submit a feature request here

    One way to set the FontSize of the Legend items is shown below:

    <igCA:XamChart.Legend>
                    <igCA:Legend  FontSize="10" />
    </igCA:XamChart.Legend>

    Let me know if you have any questions with this matter.

    Vlad

     

Reply Children