Editing the strXML variable in JSP for Multi-series Charts
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Editing the strXML variable in JSP for... Expand / Collapse
Author
Message
Posted 2/28/2008 12:15:09 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/29/2008 3:59:44 AM
Posts: 2, Visits: 5
Hi,

Im very new to FusionCharts. But i think it's the bomb!

Can you help me? I need to display data from my MySQL DB in a Multi-series Chart. I have 3 Fields - Date, Users, Uploads. So far i can only display the Date and Users data in a Single-series chart. I need to know how to edit the strXML string in my JSP file to display the three compents in a Multi-series Chart. I.e. Date (x-axis), Users and Uploads (y-axis).

Cheers!

Peter
Post #4816
Posted 2/28/2008 1:35:49 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/29/2008 3:59:44 AM
Posts: 2, Visits: 5
Where's the love?
Post #4818
Posted 2/29/2008 5:51:16 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 4:56:35 AM
Posts: 706, Visits: 1,143
hi,

Please go through the Documentation and XML structure of an Multiseries chart like MSColumn3D from our Documentation : http://www.fusioncharts.com/

In the same Documentation you can have a look at the 'Using With JSP' Section, in 'Guide For Web Developers.' You can have an uinsight in to how XML is created with JSP. You write it any way you wish, provided that the resultant XML conforms to the norms of a multoseries chart.

A general XML structure for a multiseries chart :

<chart>
  <categories>
      <category label='YourDate'/>
       ...
  </categories>
  <dataset seriesName='Users'>
      <set value='..'/>
      ...
  </dataset>
  <dataset seriesName='Uploads'>
      <set value=''/>
      ...
  </dataset>
</chart>

Regards,

Sudipto Choudhury
FusionCharts Team

Post #4835
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 11:03am


Execution: 0.406.