rokhan Report post Posted June 5, 2012 In my case FusionCharts are installed on the server, I dont know which version unless I ask them but I believe it is a bit older. My problem is I want to change label orientation in x-axis to vertical. I tried labelDisplay='ROTATE' but it did not work. I am guessing, they are using an older version and this attribute was not supported then? When I look at the XML file, it is generated in this form <graph caption='caption' xAxisName="Months" ..> <set name='January' value='100'> <set name='Febraury' value='200'> </graph> When I change it to this form, as is given in various examples, change graph to chart and name to label, it does not work <chart caption='caption' xAxisName="Months" ..> <set label='January' value='100'> <set label='Febraury' value='200'> </chart> If I change the graph to chart graph is not displayed. I did change `name` to `label` labels do not shown. Is there an attribute in this older version where I can set x-axis label orientation to vertical. I basically want my x-axis labels to run upwards. Thanks Share this post Link to post Share on other sites
Swarnam Report post Posted June 6, 2012 Hey, Using FusionCharts Free, setting rotateNames='1' attribute will set x-axis label orientation to vertical. <graph caption='caption' xAxisName="Months" rotateNames='1'..> <set name='January' value='100'> <set name='Febraury' value='200'> </graph> Hope this helps. Share this post Link to post Share on other sites
rokhan Report post Posted June 6, 2012 (edited) Worked. Thanks Edited June 6, 2012 by rokhan Share this post Link to post Share on other sites
Guest Sumedh Report post Posted June 6, 2012 Worked. Thanks Share this post Link to post Share on other sites
Reinhard Report post Posted October 15, 2012 Hi, can someone explain, how to to that in Zkoss 6.5. Version (including FusionCharts free)? My object there is <fusionchart>, not <graph>. And i prefer to access the java object "org.zkoss.zkmax.zul.Fusionchart" instead of scripting. Following code did nothing: this.mychart.setAttribute("rotateNames", "1"); this.mychart.setAttribute("labelDisplay", "Rotate"); Thanks Reinhard Share this post Link to post Share on other sites
FusionCharts Support Report post Posted October 16, 2012 Hi, Welcome to FusionCharts Forum Apologies. I am afraid, we do not have any in-house support for the library in Zkoss. However, we would try our best to provide as much help as possible with respect to FusionCharts features and implementation. Note that if Zkoss is using FusionCharts FREE, labelDisplay attribute would not be supported. This attribute is supported only in FusionCharts XT. However, rotateNames is supposed to work if you are using Column, Line or Area charts. Can you please let us know the chart type that you are using. Also, please note that for each chart in FusionCharts FREE, a final XML is generated before it renders. Is there a possibility that you can also get the XML that is internally being built for the chart? Share this post Link to post Share on other sites