fusion_freak_

Members
  • Content count

    20
  • Joined

  • Last visited

Everything posted by fusion_freak_

  1. Hi, i have many graphs of different sizes on a page,when i batch export them each image is inserted directly on a page,since they all are not of same size it looks awkward.i want them to save in a document with white background.any suggestions pls help. Regards, FF_
  2. I'd like to know two things. If you check the image attached, can i shown only the total of stacked chart column, and is there a multicolumn bar and stack combination graph. Please provide a link with suitable example.
  3. Show Half Line In Multiline Chart

    There are 3 lines in my MultiLine Chart, one of the lines has less data so it dips down after certain point, so i have to stop the dipping of that particular line, by showing till where it has data. How can this be done?
  4. Show Half Line In Multiline Chart

    Thanks
  5. Cross Site Scripting Issue

    I'm facing same issue, how can i overcome this
  6. hi i want to display caption as >40 hours / < 40 hours for linked chart i did it in following way >40 hours / < 40 hours but it gave invalid data. same thing i worked with other pie charts it works fine,this happens only with linked charts. what might be the issue? i have pasted xml for only linked charts xmlData.Append("<linkeddata id='" + item + "'>"); xmlData.Append("<chart showLegend='1' showZeroPies='0' bgColor='FFFFFF' caption='(<40 Hours / >40 Hours)' subcaption='Order for " + item + "'" + "palette='2' animation='1' formatNumberScale='0'" + " showBorder='0' exportAtClient='0' exportAction='save' exportEnabled='1' exportFileName='order_Pie_4_" + rnd.Next().ToString() + "'" + " exportHandler='" + HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority) + HttpRuntime.AppDomainAppVirtualPath + "/App/FCExporter.aspx'>");
  7. How can load multiple charts on clicking a chart. I have a bar chart, below it i have to load 4 pie chart. When i click on a bar i need to load 4 pie charts with respect to the clicked bar chart value. I tried linked chart, but i guess linked charts allow only one linked chart. Is there a workaround for this?
  8. Load More Then One Linked On Click

    Thanks this works
  9. I have several charts in my application page, where few charts are linked charts. Batch export works fine for these charts, but once i get the linked charts and try to batch export i get error in script. for (var i = 0; i < chartcount; i++) { chartObject1 = getChartFromId('BackLog' + i); if (chartObject1 != null) { if (chartObject1.hasRendered()) //error occurs here when linked charts are viewed and tried for export chartObject1.exportChart(); totalCharts++; } } It would be helpful if a sample code snippet is given to show, how to batch export when linked charts are used. I have another doubt, what will be the chart id of linked chart, is it the parent chart id or should we specify it?
  10. Linked Charts Batch Export Help

    Thank you Sudipto Choudhury for your immediate response. This is what i actually wanted.
  11. Hi i have an aspx page where 11 graphs are displayed.so obviously the page is very lengthy.but when i export in batch, the capturing process starts..and it happens only if there is focus on particular graph. when i scroll to bottom of page and export only 4 or 5 graphs comes in the pdf..thats because the capturing process is not happened for other graphs.. And this happens only in IE..works fine is Firefox
  12. Hi, i could make batch export happen in firefox,but fusioncharts.js file throws an exception(see the attached screen shot.) in IE. when i tried with different fusioncharts.js file it works with IE and fires an exception in Firefox. i cant make them work in both browsers...is this an issue with js file?
  13. Showing Data On Pie

    as sumedh said,its not possible to display on the pie slice.you need to do them using smart labels
  14. Batch Export Exception Occours In Paticular Browser

    ok thanks for your answer..
  15. Batch Export Exception Occours In Paticular Browser

    Hi, The IE version you have used is 9 (IE9) This error occours in IE8 in non compatibility view. And can i know the browser version in which batch feature export is supported both IE and FF and thanks for your time.
  16. Capturing Image Happens Only On Focus

    any workaround for this??
  17. Batch Export Exception Occours In Paticular Browser

    hi, is there a solution for this problem?
  18. Drill Down And Export

    it seems that it disappears when you export it..does it not appear back after the capturing process is done? And also do you get any exception in js files when you try to download in other browsers? i mean to ask if it works in all the browsers?
  19. I tried batch export in fusion charts it is not working as expected,by luck, one among the many charts in a page is captured and available for download.not all of 'em.below is the code which i have used .aspx page i have this code <asp:Content ID="Content1" ContentPlaceHolderID="HdrContentPlaceholderBody" runat="server"> <script type="text/javascript"> var totalCharts = 3; var exportComponent = new FusionChartsExportObject('exportComponentSwf', '../JQuery/FCExporter.swf'); FusionChartsExportObject.defaultParameters.debugMode = true; // set component attributes exportComponent.componentAttributes.width = '220'; exportComponent.componentAttributes.height = '200'; exportComponent.componentAttributes.saveAllTitle = ' '; exportComponent.componentAttributes.btnSaveAllTitle = 'Save all charts as single file'; exportComponent.componentAttributes.fullMode = '1'; exportComponent.componentAttributes.saveMode = 'both'; exportComponent.componentAttributes.defaultExportFilename = 'Sales Report of 1996'; // The 'exportChart()' command should not be called when the chart is yet to be rendered. // Hence, to be on the safer side, we are making sure that the export chatry option is not // called unless charts has been rendered poroperly var renderStateCounter = 0; function FC_Rendered(chartId) { renderStateCounter++; if (renderStateCounter == totalCharts) { changeBtnDisabledTo(false); } } // this event is used to track when the capturing of the chart is completed var exportStateCounter = 0; function FC_ExportReady(arg) { exportStateCounter++; if (exportStateCounter >= exportComponent.sourceCharts.length) { changeBtnDisabledTo(false); } } function exportCharts(strType) { exportComponent.sourceCharts = new Array(); for (var i = 0; i < totalCharts; i++) { exportComponent.sourceCharts.push(FusionCharts('changeorder'+i)); } if (exportComponent.sourceCharts.length < 1) { alert('Select at least one chart to export.'); return; } // set the type of export as per button parameter exportComponent.componentAttributes.defaultExportFormat = strType; exportComponent.exportAttributes.exportFormat = strType; exportComponent.Render('componentContainer'); exportStateCounter = 0; // reset counter changeBtnDisabledTo(true); //showMessage('Please wait while the charts export...'); exportComponent.BeginExport(); } // change button disabled state function changeBtnDisabledTo(btnState) { document.getElementById('exportButtonPDF').disabled = btnState; } </script> <td> <asp:Label ID="LblChangeOrder" runat="server" Text=""></asp:Label> </td> <div id="componentContainer"> </div> <input type="button" class="button" value="Export as PDF" onclick="exportCharts('PDF')" id="exportButtonPDF" /> </asp:Content> in aspx.cs file private void DrawChangeOrderGraph() { try { ds = new DataSet(); StringBuilder xmlData = new StringBuilder(); ds = //get the ds from database if (ds.Tables.Count > 0) { if (ds.Tables[0].Rows.Count > 0) { string strfileName = DateTime.Now.ToString("ssmmhh") + "BarmyFile.xml"; xmlData.Append("<?xml version='1.0' encoding='utf-8'?>"); xmlData.Append("<chart showLegend='1' bgColor='EEECE3' caption='Change Order' xAxisName='Months' yAxisName='Hours'"); xmlData.Append(" palette='2' labelDisplay='Rotate' slantLabels='1' animation='1' formatNumberScale='0' showBorder='0'"); xmlData.Append(" exportAtClient='1' exportEnabled='1' exportHandler='exportComponentSwf' exportFileName='Changeorder'>"); for (int i = 0; i <= ds.Tables[0].Rows.Count - 1; i++) { string strLabel = ds.Tables[0].Rows[1].ToString(); xmlData.Append("<set label='" + strLabel + "' value='" + ds.Tables[0].Rows[0] + "'/>"); xmlData.Append(System.Environment.NewLine); } xmlData.Append("</chart>"); LblChangeOrder.Text = FusionCharts.RenderChart("../JQuery/Column3D.swf", "", " xmldata.tostring()", "changeorder0", "930", "400", false, true); } else LblChangeOrder.Text = "No Data For Change Order"; } } catch (Exception ex) { Response.Write(ex.Message); } } and i have made sure that i have given same export handler name which i have given in aspx page.am i doing anything wrong.
  20. Batch Export In Fusion Charts

    Thanks i got it working..