salini

Members
  • Content count

    1
  • Joined

  • Last visited

Everything posted by salini

  1. Hi, we want to use fusion chart in our application. we are using the following code to create the chart. var myChart = new FusionCharts("Column2D", "myChartId", "400", "300"); //myChart.setJSONUrl("Data.json"); var data = { "chart": { "caption": "Weekly Sales Summary", "xAxisName": "Week", "yAxisName": "Sales", "numberPrefix": "$" }, "data": [{ "label": "Week 1", "value": "10400" } , { "label": "Week 2", "value": "18600" } , { "label": "Week 4", "value": "20700" }] } //alert(data.data[0].label); myChart.setJSONData(data); myChart.render("chartContainer"); Now our requirement is to set 2d/3d based on the state of checkbox on the page. Can you please suggest a way to this?