senthily88 Report post Posted February 12, 2014 i Need Change y-Axis Font Color, Font Family And Font Size, Like A Attachement Please Give Sample Example Share this post Link to post Share on other sites
Guest Sumedh Report post Posted February 13, 2014 Hello, You can use FusionCharts XT Font styles for YAXISVALUES chart element. The font style allows you to configure the font face, font size, color etc. Ref. Code: <styles> <definition> <style name='MyFirstFontStyle' type='font' font='Calibri' size='12' color='FF0000' bold='1'/> </definition> <application> <apply toObject='YAXISVALUES' styles='MyFirstFontStyle' /> </application> </styles> Please find attached chart XML and screen-shot for your reference. For more information, please refer the following link: http://docs.fusioncharts.com/charts/contents/?Styles/Font.html YaxisValuesFont_data.xml Share this post Link to post Share on other sites
Marlon Report post Posted August 28, 2017 FC v3.11.0 removes the <style> element. I can't find how to change y-Axis font color, font family and font size now, only x-Axis. Share this post Link to post Share on other sites
Ayan Bhadury Report post Posted August 29, 2017 Hi, <style> element has been deprecated and has been replaced by <chart> element attributes. In order to change the y-axis font properties, you can use outCnvBaseFont attribute at the chart level. Please, note this attribute sets the base font family of the chart text which lies outside the canvas i.e., all the values and the names in the chart which lie outside the canvas will be displayed using the font name provided here. Please refer this link for further reference - http://www.fusioncharts.com/dev/basic-chart-configurations/fonts.html Share this post Link to post Share on other sites
Marlon Report post Posted August 29, 2017 (edited) 4 hours ago, Ayan Bhadury said: <style> element has been deprecated and has been replaced by <chart> element attributes. Barely replaced, there is a few options (like underline) that is was not implemented in chart attributes. 4 hours ago, Ayan Bhadury said: In order to change the y-axis font properties, you can use outCnvBaseFont attribute at the chart level. Please, note this attribute sets the base font family of the chart text which lies outside the canvas i.e., all the values and the names in the chart which lie outside the canvas will be displayed using the font name provided here. Please refer this link for further reference - http://www.fusioncharts.com/dev/basic-chart-configurations/fonts.html Unfortunately this will not be possible for me, I hoped there was some way to replicate the same behavior as the YAXISVALUES style, since there was this possibility. I hope that in the next releases this possibility will be reimplementated in some way. Edited August 29, 2017 by Marlon Share this post Link to post Share on other sites
Ayan Bhadury Report post Posted August 29, 2017 Hi, Thanks for replying back. As of now changing y-axis values font styles without using outCnvBaseFont or baseFont is not possible. Share this post Link to post Share on other sites