Sign in to follow this  
mangeshlad86

Chart not supported error

Recommended Posts

Hi,

 

I am using fusion charts XT javascript charts. I create a different types of charts using fusion charts.

Consider the following situation - I have created Pie Chart and I have facility to edit that chart and select different chart types.

 

 

 

           var chartObject1 = FusionCharts("fu-chart-<?php echo $model->id ?>");                                                                                                                       
 
            if(chartObject1 != null)
                chartObject1.dispose();
 
            var myChart = new FusionCharts( chartType, "fu-chart-<?php echo  $model->id ?>", "100%", "100%");
           
var chartDataUrl = "path/to/url";
 
            myChart.setXMLUrl(chartDataUrl); 
 
            myChart.render("chartdiv-<?php echo $canvasItem->id ?>");

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