Deepthi
Members-
Content count
7 -
Joined
-
Last visited
Everything posted by Deepthi
-
Dear Team, Our firm ERNST & YOUNG recently upgraded to the Fusion Charts v 3.2 version from v 3. I understand that this is an upgrade just for Fusion Charts, but I am eager to know when the Heat Map functionality will be available in Power Charts. Could you please give me an ETA? Is there any demo version already available? Regards Deepthi
-
Hi, Thanks for the info, it is really helpful. We have the enterprise edition license as well as the mainatance contract renewed for the Fusion Charts suite, so should we have to pay for this update? Regards Deepthi
-
Hi, I have already posted this issue in the FusionCharts General Usage forum, but of no response for a week. Somebody from FusionCharts LLP, please help. We are losing our time with this issue. NB : We need the exact feature, as it is already deployed successfully with previous version of fusion chart. ISSUE : We are using FusionChart client side export. I worked fine until we upgraded to the version 3.2. Previously we were using FusionCharts v3. Now the problem is that, export will work fine for one time. Next time onwards, the capture progress will show up to completion and finally the exportcomponent will display without any charts to save. . It needs a page refresh to export that same chart or any other chart in the page. We are using separate export and batch export. For both we are using the batch export method. We trigger individual export from a button assigned to each chart. We also tried with the exact code from your documentation. The code in brief : For chart rendering var myChart1 = new FusionCharts("../FusionChartsSwf/32/Column2D.swf", "myChartId1", "350", "300", "0", "1"); myChart1.setXMLUrl("../ChartXmls/FusionCharts/32/SingleSeries.xml"); myChart1.render("chart1Div"); For exporting var myExportComponent; //Define a function, which will be invoked when user clicks the batch-export-initiate button function initiateExport(chartToExport, exportComponentRenderContainer) { myExportComponent = new FusionChartsExportObject("fcBatchExporter", "../FusionChartsSwf/32/FCExporter.swf"); //Add the charts to queue. The charts are referred to by their DOM Id. myExportComponent.sourceCharts = [chartToExport]; //------ Export Component Attributes ------// //Set the mode as full mode myExportComponent.componentAttributes.fullMode = '1'; //Set saving mode as both. This allows users to download individual charts/ as well as download all charts as a single file. myExportComponent.componentAttributes.saveMode = 'individual'; myExportComponent.defaultExportFormat = "PDF"; //Show allowed export format drop-down myExportComponent.componentAttributes.showAllowedTypes = '0'; //Cosmetics - Width and height myExportComponent.componentAttributes.width = '350'; myExportComponent.componentAttributes.height = '140'; //Message - caption of export component myExportComponent.componentAttributes.showMessage = '1'; myExportComponent.componentAttributes.message = 'Click on button above to begin export of charts. Then save from here.'; //Render the exporter SWF in our DIV fcexpDiv myExportComponent.Render(exportComponentRenderContainer); myExportComponent.BeginExport(); } //This event is raised when the chart has finished capture phase and passed the data to //Export Component for further processing function FC_ExportReady(DOMId) { alert("The chart with DOM ID as " + DOMId + " has finished capture mode. It's now ready to be downloaded individually"); $('#fcexpDiv').css("display", "block"); } //This event is raised when an individual chart has been successfully saved on user's disk (post click of button) function FC_Exported(objRtn) { if (objRtn.statusCode == "1") { alert("The chart was successfully saved. Its DOM Id is " + objRtn.DOMId); $('#fcexpDiv').html(""); $('#fcexpDiv').css("display", "none"); myExportComponent = null; } else { alert("There was an error saving the chart. Error message: " + objRtn.statusMessage + ". Its DOM Id is " + objRtn.DOMId); } } //This event is invoked when the user clicked on Save-All button and all the charts were saved on user's disk as a single file. function FC_BatchExported(objRtn) { if (objRtn.statusCode == "1") { alert("The batch was exported and saved as a single file named '" + objRtn.fileName + "'. The charts processed were " + objRtn.DOMId); } else { alert("There was an error saving the chart. Error message: " + objRtn.statusMessage); } } I am attaching couple screenshots that might help you in figuring out the issue. Export 1 : Works well Export after first export : Shows capturing status to completion and finally component with no charts to save
-
I am facing an issue with fusion chart v3.2 export component. I have many charts in a web page. I have provided an upload image button with each chart. When i select one of the charts to export it is doing screen capture and then shows the chart name in a div (since i use batchexport also). It is working fine the first time. After one upload if a again click upload then the screen capture is done successfully, but the charts are not shown in the export div. What sould be the issue? The same code was working fine with Fusioncharts v3.1 Note: I am using the batch export script for doing both batch and individual exports. In both cases the issue arises. Thanks Deepthi
-
This is the script which is called at the button click: function FC_BatchExportSettings(cbControl, fcid) { myExportComponent = null; var Ids = new Array(); var isMultipleCharts = false; document.getElementById('<%=btnCancelComponent.ClientID %>').disabled = true; if (fcid == null || fcid == '') { var chkCharts = document.getElementById('<%= chkCharts.ClientID %>'); var chkChartsItems = chkCharts.getElementsByTagName("span"); for (var i = 0; i < chkChartsItems.length; i++) { if (chkChartsItems.outerHTML.toString().indexOf(" CHECKED ") != -1) { Ids[index] = chkChartsItems.getAttribute("ReportId"); index++; } } } else { index = 1; chartCount = 0; if (fcid.indexOf('~') > -1) { isMultipleCharts = true; Ids = fcid.split('~'); } else Ids[0] = fcid; } var modalCharts = $find('bIdCharts'); var modalComponent = $find('bIdComponent'); var lblError = document.getElementById('<%= lblError.ClientID %>'); if (Ids && Ids.length > 0) { if (lblError != null) lblError.style.display = ""; //check and create design accordingly. document.getElementById('<%=divStatus.ClientID %>').innerHTML = 'Capturing charts...Please wait...'; myExportComponent = new FusionChartsExportObject("fcExporter1", "../../App_Themes/FusionCharts/FCExporter.swf"); //debugger; myExportComponent.sourceCharts = Ids; myExportComponent.exportAtClient = 1; //------ Export Component Attributes ------// myExportComponent.componentAttributes.fullMode = '1'; //Set saving mode as both. This allows users to download individual charts/ as well as download all charts as a single file. if (fcid == null || fcid == '' || isMultipleCharts == true) { if (isMultipleCharts == true) { myExportComponent.componentAttributes.saveMode = 'batch'; //'both'; myExportComponent.componentAttributes.height = '70'; document.getElementById('<%= pnlExport.ClientID %>').style.height = '200' } else { myExportComponent.componentAttributes.saveMode = 'both'; //'both'; myExportComponent.componentAttributes.height = '240'; document.getElementById('<%= pnlExport.ClientID %>').style.height = '370' } myExportComponent.componentAttributes.defaultExportFilename = 'Charts'; myExportComponent.exportAttributes.exportFileName = 'Charts' myExportComponent.componentAttributes.defaultExportFormat = 'PDF'; myExportComponent.exportAttributes.exportFormat = 'PDF'; } else { myExportComponent.componentAttributes.saveMode = 'individual'; myExportComponent.exportAttributes.exportFormat = 'PDF'; myExportComponent.exportAttributes.exportFileName = 'Charts' myExportComponent.componentAttributes.height = '70'; document.getElementById('<%= pnlExport.ClientID %>').style.height = '200' } //Cosmetics myExportComponent.exportAttributes.showExportDialog = '1'; myExportComponent.componentAttributes.fullMode = '1'; myExportComponent.componentAttributes.width = '600'; myExportComponent.componentAttributes.comboHeight = '60'; myExportComponent.componentAttributes.showMessage = '1'; myExportComponent.componentAttributes.showAllowedTypes = '0'; myExportComponent.componentAttributes.vMargin = 0; myExportComponent.componentAttributes.borderColor = '00000'; myExportComponent.componentAttributes.showMessage = '0'; // document.getElementById("fcexportDiv").innerHTML = ""; //Render the exporter SWF in our DIV fcexpDiv myExportComponent.Render("fcexportDiv"); if (fcid == null || fcid == '') { modalCharts.hide(); } modalComponent.show(); myExportComponent.BeginExport(); } else { if (lblError != null) { lblError.style.display = "block"; } modalComponent.hide(); } isMultipleCharts = false; return false; } //This event is raised when the chart has finished capture phase and passed the data to //Export Component for further processing function FC_ExportReady(DOMId) { debugger; chartCount++; if (chartCount == index) { document.getElementById('<%=divStatus.ClientID %>').innerHTML = 'Capturing Finished...Please Save...'; document.getElementById('<%=btnCancelComponent.ClientID %>').disabled = false; } alert(document.getElementById("fcexportDiv").innerHTML); } //This event is raised when an individual chart has been successfully saved on user's disk (post click of button) function FC_Exported(objRtn) { debugger; if (objRtn.statusCode == "1") { document.getElementById('<%=divStatus.ClientID %>').innerHTML = 'Chart Saved Successfully...'; } else { alert("There was an error saving the chart. Error message: " + objRtn.statusMessage + ". Its DOM Id is " + objRtn.DOMId); } } //This event is invoked when the user clicked on Save-All button and all the charts were saved on user's disk //as a single file. function FC_BatchExported(objRtn) { if (objRtn.statusCode == "1") { document.getElementById('<%=divStatus.ClientID %>').innerHTML = 'Charts Saved Successfully...'; } else { alert("There was an error saving the chart. Error message: " + objRtn.statusMessage); } } Awaiting ur reply... Thanks & Regards Deepthi
-
Plz tell me how to give dashed lines for zoom line chart
-
Hi This is the chart xml which i give.But in the series dashed line is not shown. "<chart compactDataMode='1' connectNullData='1' divLineIsDashed='1' dataSeparator='|' caption='Business Result' xaxisname='Month' yaxisname='Revenue' showvalues='0' numberprefix='$'> <categories>Jan|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec</categories> <dataset seriesname='2006' dashed='1' anchorRadius='6' anchorSides='4' anchorBorderColor='0372AB' anchorBgColor='E1f5ff' color='FF5904'>4566|29600|32600|31800|</dataset> <dataset seriesname='2006'>|||31800|35800|32800|48522|34800|24800</dataset> </chart>"