balajik Report post Posted November 29, 2008 Hi I want to show the slant listname. Please help me for this code <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich" xmlns:s="http://jboss.com/products/seam/taglib"> <f:view contentType="type/xml"> <graph palette="2" caption="Recent 5 List Stats" decimalPrecision="0" shownames="1" showvalues="1" limitsDecimalPrecision='0' bgColor="EEF0E3" showAlternateHGridColor="1" alternateHGridColor="EBEDE1" divlinecolor="C4C5BD"> <categories> <ui:repeat value="#{dashboard.listStats}" var="listname"> <category name='#{listname[0]}'/> </ui:repeat> </categories> <dataset seriesName="Total" color="AFD8F8" showValues="1"> <ui:repeat value="#{dashboard.listStats}" var="ucount"> <set value='#{ucount[1]}'/> </ui:repeat> </dataset> <dataset seriesName="Active" color="F6BD0F" showValues="1"> <ui:repeat value="#{dashboard.listStats}" var="acount"> <set value='#{acount[2]}'/> </ui:repeat> </dataset> <dataset seriesName="Removals" color="8BBA00" showValues="1"> <ui:repeat value="#{dashboard.listStats}" var="aunsubcount"> <set value='#{aunsubcount[3]}'/> </ui:repeat> </dataset> <dataset seriesName="Unsubscribes" color="CC3300" showValues="1"> <ui:repeat value="#{dashboard.listStats}" var="uunsubcount"> <set value='#{uunsubcount[4]}'/> </ui:repeat> </dataset> <dataset seriesName="Supress" color="EEF0E3" showValues="1"> <ui:repeat value="#{dashboard.listStats}" var="supcount"> <set value='#{supcount[5]}'/> </ui:repeat> </dataset> </graph> </f:view> </ui:composition> Share this post Link to post Share on other sites
FusionCharts Support Report post Posted November 30, 2008 Hi, Please use the attribute labelDisplay='ROTATE' slantLabels='1' in <chart> element. Share this post Link to post Share on other sites
balajik Report post Posted December 1, 2008 when I use those attribute, it does not work. I am using column3D bar chart ... this is the part of code which i am using <graph palette="2" caption="Recent 5 List Stats" decimalPrecision="0" shownames="1" showvalues="1" limitsDecimalPrecision='0' bgColor="EEF0E3" showAlternateHGridColor="1" alternateHGridColor="EBEDE1" divlinecolor="C4C5BD"> <categories> <ui:repeat value="#{dashboard.listStats}" var="listname"> //facelet tag <category name='#{listname[0]}'/> // dynamic values </ui:repeat> </categories> pls tell me any other than way to for slant label . Share this post Link to post Share on other sites
FusionCharts Support Report post Posted December 1, 2008 Hi, Are you using vFREE chart or FusionCharts v3 charts? I find that you are using <graph> element. This is standard for vFREE chart though backward compatible in v3 chart too. For v3 charts we recommend to use <chart>. In any case, Slant labels are supported in v3 chart and in case you are using vFREE charts, you can only rotate the labels but can not slant them. To rotate labels in you would need to do> * For vFREE - <graph rotateNames='1' ...> * For v3 - <chart labelDisplay='ROTATE' ...> or <graph labelDisplay='ROTATE' ...> TO SLANT LABELS * Not Supported in vFREE charts * For v3 Charts <chart labelDisplay='ROTATE' slantLabels='1' ...> or <graph labelDisplay='ROTATE' slantLabels='1' ...> Share this post Link to post Share on other sites