ekanayake

Data source URL for new fusionchart xt suit

Recommended Posts

Somehelpon this is verymuch appreciated.

 

 

I have "xml" file    (mbei_combi_event_1.xml) which works fine in the previous version of fusioncharts when I use it as shown below. 

 

 

        FusionCharts.setCurrentRenderer('javascript');
          var myChart = new FusionCharts("../../Charts/MSCombiDY2D.swf", 
                        "myChartId", "900", "600");
          myChart.setDataURL("../../fusioncharts/mbei_combi_event_1.xml");
          myChart.render("chartdiv");
        </script>
        </body>
 
 
My question is, how do yu use the same file in the following way. I want to use the same xml file using the new fusionchats xt suit.
 
(I am learning this great tool towards purchasing it)

 

 

{
   "chart": {
      "caption": "Monthly revenue for last year",
      "subCaption": "Harry's SuperMart",
      "xAxisName": "Month",
      "yAxisName": "Revenues (In USD)",
      "numberPrefix": "$",
      "theme": "fint"
   },
   "data": [
      {
         "label": "Jan",
         "value": "420000"
      },
      {
         "label": "Feb",
         "value": "810000"
      },
      {
         "label": "Mar",
         "value": "720000"
      },
      {

 

Many thanks

 

jagath

 

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