Sign in to follow this  

Single Series 2DColumn chart vs Multi Series 2D Column Chart - x axis label font

Recommended Posts



I have a question, I have got few Multi series 2D column chart and 1 single series column chart.


I have labels in x-axis in both the charts- I want to reduce the label font in both places- I can do in multi series 2d column, but cannot in single series 2d Column.


Here is my code for multi series column





"<chart caption='"+chartNameToDisplay1+"' xAxisName='"+xAxisValue+"' yAxisName='Transaction Count'  showsum='0' " + 
" showValues='0' showBorder='1' plotSpacePercent='10' plotFillAlpha='80' bgColor='FFFFFF'><categories fontSize='8'>";
here fontSize='8  works for me
How can I achieve same success in single series 2d column
Plz refer to the image - look at Purchase/Redempt become 2 lines in label for single series 2d column.




Share this post

Link to post
Share on other sites



Can you try using Styles to apply specific font size for Data labels? "Styles" can be applied in both Multi Series/ Single series chart types.


Ref. Code:

<!-- Your data here -->
        <style name='MyFirstFontStyle' type='font' font='Verdana' size='8'  />
        <apply toObject='Datalabels' styles='MyFirstFontStyle' />

For more information, please refer to the following link:


Hope this helps.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this