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
164
DataPoint Label Font Properties - change font size, etc
posted

Hi All,

I'm evaluating the xamcharts for my firm.  I can see how to change the font size for the chart captions and the legend.   But I can't figure out how to change the font size for the DataPoint Labels on my bar charts.

The labels are so small I can't read them.  Changing from a 3D to a 2D helps, but I prefer the 3D charts.  There is so much wasted white space around the 3D charts that could be used for larger datapoint labels, but how do you change it?

 thanks!!

 Kathy

Parents
  • 28496
    Offline posted

     set the FontSize property of the Marker in context, e.g.

     

            <igCA:XamChart>
                <igCA:XamChart.Series>
                    <igCA:Series>
                        <igCA:Series.DataPoints>
                            <igCA:DataPoint Value="1" Label="Point A" />
                            <igCA:DataPoint Value="2" Label="Point B" />
                            <igCA:DataPoint Value="3" Label="Point C" />
                        </igCA:Series.DataPoints>
                        <igCA:Series.Marker>
                            <igCA:Marker FontSize="24" />
                        </igCA:Series.Marker>
                    </igCA:Series>
                </igCA:XamChart.Series>
            </igCA:XamChart>

Reply Children