Sign in to follow this  
capsing

I have problems to paint several chart in same graphic

Recommended Posts

Hi everybody, i have this problem i am using jsf, and also using fusion chart, i'm trying to paint severals linesin the same graphic, but it seems I can't, this is the error that i get in the "xml data, or no data to display", i am using this:

page

<

fc:render chartId="#{MedicionesGra.chartId}" filename="#{MedicionesGra.filename}" width="#{MedicionesGra.width}" height="#{MedicionesGra.height}" xml="#{MedicionesGra.xml}" >

 

baking bean

private

String xml;

private String chartId="Chart1";

private String url="Data/Data.xml";

private String width="600";

private String height="300";

private String filename = "../FusionCharts/FCF_Line.swf";

xml

="<graph caption='Monthly Unit Sales' xAxisName='Month' yAxisName='Units' decimalPrecision='0' formatNumberScale='0'>";

 

xml+="<set name='Jan' value='462' color='AFD8F8' />";

xml+="<set name='Feb' value='857' color='F6BD0F' />";

xml+="<set name='Mar' value='671' color='8BBA00' />";

xml+="<set name='Apr' value='494' color='FF8E46' />";

xml+="<set name='May' value='761' color='008E8E' />";

xml+="<set name='' value='960' color='D64646' />";

xml+="<set name='Jul' value='629' color='8E468E' />";

xml+="<set name='' value='622' color='588526' />";

xml+="<set name='Sep' value='376' color='B3AA00' />";

xml+="<set name='Oct' value='494' color='008ED6' />";

xml+="<set name='Nov' value='761' color='9D080D' />";

xml+="<set name='Dec' value='960' color='A186BE' />";

xml+="</graph>";

 

note: i am using the class to create the tag, i dll this from another topic here

Somebody can help me?, thanks a lot

 

Share this post


Link to post
Share on other sites

Thanks my friend, i have the solution using some examples of the library, i made some array[][] and dataset, for this, if somebody want know this, just tell me.

sorry by my english :)

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