knives Report post Posted January 27, 2015 Sorry for the repost i just attach the file for my work i wish i can get an immediate response....... hi i am newbie in FusionCharts......... following samples in goes smoothly until i reach this problem...... i am following this sample http://docs.fusionch...s-of-chart.html My problem is the Thumbnail atttributes is not DISABLING........ the difference between my codes and the sample is the source of the data....... In my codes i am getting the json data from an external json file......... besides that difference nothing else differs...... more info my thumbnail resize it works....... it just the attributes are not disabling.......... it like i have small charts......... il post my codes here hope i can get an immediate response......... Thank You very much in advance.................. FusionCharts.ready(function(){ var createThumbNail = function(chartId, width, height, divId) { var chartRef = FusionCharts(chartId), clonedChart = chartRef.clone({ "width": width, "height": height }); ///////////////////////////////////////////////////////////////////////////////////// // i think this part of the codes is not working............ ///////////////////////////////////////////////////////////////////////////////////// clonedChart.setChartAttribute({ "showValues": "0", "showLabels": "0", "animation": "0", "exportEnabled": "0", "showTooltip": "0", "showHoverEffect": "0", "showYAxisValues": "0", "caption": "", "subCaption": "", "xAxisName": "", "yAxisName": "", "showXAxisLine": "0", "showYAxisLine": "0", "numDivLines": "0", "enableSlicing": "0", "enableRotation": "0" }); ///////////////////////////////////////////////////////////////////////////////////// // i think this part of the codes is not working............ ///////////////////////////////////////////////////////////////////////////////////// clonedChart.addEventListener('chartClick', function() { FusionCharts(chartId).render('chart-container'); }); clonedChart.render(divId, 'append'); }; var daily = new FusionCharts({ "type": "msstackedcolumn2d", "renderAt": "chart-container", "width": "800", "height": "500", "dataFormat": "jsonurl", "id": "chart1", //"dataSource": Drupal.settings.basePath + "/chartdata2.json" "dataSource": Drupal.settings.basePath + Drupal.settings.fusion.link + "/js/jsondata/jsondataDaily.json" }); var weekly = new FusionCharts({ "type": "msstackedcolumn2d", "renderAt": "chart-container", "width": "800", "height": "500", "dataFormat": "jsonurl", "id": "chart2", //"dataSource": Drupal.settings.basePath + "/chartdata2.json" "dataSource": Drupal.settings.basePath + Drupal.settings.fusion.link + "/js/jsondata/jsondataQuarter.json" }); // create thumbnails for all the three charts createThumbNail('chart1', 300, 300, 'thumbnail1'); createThumbNail('chart2', 300, 300, 'thumbnail2'); weekly.render(); }); // end of code fusion2.zip Share this post Link to post Share on other sites
Vishalika Report post Posted January 28, 2015 Hi, The issue has been replicated at our end. We are looking into it and will update you regarding it. It is occurring by passing the data via data URL method. We can suggest you to pass the data via Data String method. Hope this helps. Share this post Link to post Share on other sites
knives Report post Posted January 29, 2015 Hi, Please update me if you have solved the issue using my method of getting the data via url method..... I have another question here................. http://forum.fusioncharts.com/topic/16419-get-the-data-of-the-chart-and-plot-it-again-in-another-div/ I think it is like DRILL DOWN method but i want to display my drilldown in another DIV is it possible in FusionChart??????? if it is possible can you give me a working sample or link so that i can study how it is created Thank You Vishalika for your response............. Share this post Link to post Share on other sites
Vishalika Report post Posted January 29, 2015 Hi, We are looking into it and will keep you posted regarding the issue. Hope this helps. Share this post Link to post Share on other sites
Vishalika Report post Posted August 6, 2015 Hi, As per the issue concerned, the following is the suggestion: "setChartAttribute" set attributes on top of the chart's existing data. Also, in case of "dataURL" methods, chart takes little extra time to load the data, as it fetch the data from the server. In our implementation, when we are setting the attributes, then the chart's original data are not loaded. That's why it is not working. Either use "dataLoaded" event to modify chart attributes or do not use ant "dataURL" method. Hope this helps. Share this post Link to post Share on other sites