Sign in to follow this  

Bold value does not apply to YAxis in styling

Recommended Posts

In our charts we have a single style that applies to a lot of labels on the chart (which include YAXISVALUES and DATALABELS). However for some reason the bold property does not apply on yAxis data labels. The chart we are using is the column 2D chart. The styling XML is as follows :




<style name='connexica' type='font' color='000000' bgColor='ffffff' font='Arial' size='10' bold='1' italic='1'/>

<style name='displayValues' type='font' font='Arial' size='10' color='AAFF00'  bold='1' italic='1'/>



<apply toObject='BACKGROUND' styles='connexica'/>

<apply toObject='CANVAS' styles='connexica'/>

<apply toObject='CAPTION' styles='connexica'/>

<apply toObject='DATALABELS' styles='connexica'/>

<apply toObject='DATAPLOT' styles='connexica'/>

<apply toObject='DIVLINES' styles='connexica'/>

<apply toObject='HGRID' styles='connexica'/>

<apply toObject='SUBCAPTION' styles='connexica'/>

<apply toObject='TRENDLINES' styles='connexica'/>

<apply toObject='TRENDVALUES' styles='connexica'/>

<apply toObject='VLINES' styles='connexica'/>

<apply toObject='XAXISNAME' styles='connexica'/>

<apply toObject='YAXISNAME' styles='connexica'/>

<apply toObject='YAXISVALUES' styles='connexica'/

><apply toObject='LEGEND' styles='connexica'/>

<apply toObject='SCROLLPANE' styles='connexica'/>

<apply toObject='DATAVALUES' styles='connexica'/>




Can you confirm if this is a bug or if there is a solution to this problem? 




Thomas Pooler (Connexica)



Share this post

Link to post
Share on other sites


The STYLE element has been deprecated. Customization is now possible through chart attributes.
Please upgrade to the latest version of FusionCharts  i.e. (3.11.3)
For downloading the latest version please refer here.
You can explore how the charts are configured with different attribute in this link 
For further reference please check this sample fiddle link 

Share this post

Link to post
Share on other sites



Looking at the sample fiddle link it seems that the bold attribute is being controlled by  "outcnvbaseFont": "Roboto",. Yet applying that to our own charts did not apply the bold effect at all. It merely changed the font to the one named in the attribute. Putting this on the other fiddle samples had a similar effect. with none of them applying the bold text at all. Is there an attribute where we can specify if the outside base font is bold or not? Like  "outcnvbaseFontBold". We are on the most up to date version of fusion.




Thomas Pooler (Connexica)

Edited by thomaspooler4

Share this post

Link to post
Share on other sites
Thanks for replying back.
Natively It is not possible to only specify y-axis scale values as bold. Only workaround will be that you specify `baseFont` or `outCnvBaseFont` with font that will visualize as bold.

You can refer the above JSFiddle which we have provided earlier for reference.

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