Page 1 of 1
Chart that Accesses Multiple Files
Posted: Tue Feb 21, 2012 2:30 pm
by winnerwes
I noticed that if a chart is database driven that only one file can be referenced. I have a case where i want to chart a subfile where the name field is in one file and the value field is in another file like:
Select rppnam, sum(paamt)
from wdrpp join wdpap on .....
Is there a way to do this in a chart short of creating and populating a file on the fly?
Re: Chart that Accesses Multiple Files
Posted: Tue Feb 21, 2012 5:04 pm
by winnerwes
I was able to find a way by binding fields to the data properties, like have a variable and for file and assign 'WDPAP, WDRPP' and make the join in the selection property. The only short coming is I am having an issue with use a case statement in the value property, but I am further than I was.
Re: Chart that Accesses Multiple Files
Posted: Tue Feb 21, 2012 7:02 pm
by winnerwes
This issue has been resolved, the case statement didn't work because the field I was using was too small.
Re: Chart that Accesses Multiple Files
Posted: Wed Feb 22, 2012 10:38 am
by Brian
Glad you got it working. Another option is for you to use the Chart XML property. This property allows you to pass in XML fomatted data to populate your chart. For information on the format of the XML, refer to the Fusion Charts documentation at
http://docs.fusioncharts.com/charts/