Search the Community
Showing results for tags 'export'.
Found 46 results
-
how to export with fusionchart 3.5 without rendering in browser. there is some dll that replaces chartToImage.dll?
- 1 reply
-
- fusionchart
- export
-
(and 1 more)
Tagged with:
-
Update Caption / subCaption only for PNG/XLS/PDF Chart Export
thejose posted a topic in General usage
Hi, I'm trying to find a way so that when users click on the Export options in the upper right hand corner of a (say a pie) chart, I'd be able update and have a custom caption or subCaption for the exported file (and not exactly like captions of the rendered chart on the page) Is there a way to do this? I was thinking of perhaps changing caption / subCaption just before export, but i'm not sure how or which element to add a listener for that. Thank you -
Hello, Programing Language: Asp.net We are using old version of FusionChart(Version: 1.2.4). We have a case when multiple FusionCharts charts are rendered on a single page, which is binding from the server-side. We need to export all graphs to INDIVIDUAL image files(NOT into single file). I have checked some options but don't want to click on each export button beside on top of the graph. We required all graphs image in once. Checked some Javascript based solutions but may not useful because our data is coming from server side(SQL database). Please help for the same.
-
I have noticed that the export functionality only exports what is visible on the screen (screen shot) as opposed to the entire chart. I first want to ask if there is an update to topics related to this that I have stumbled upon from many years prior - is there a method to allow you to export all data instead of what is visible within the predefined height and width? If not, I am attempting to bypass this by changing the width and height programmatically before and after the export. The problem I'm running into is that it resizes, but does not export the resized chart. It exports the chart as it was initially. My code is below. Any helps is appreciated. <button id="export_chart" class="form_btn" title="Click to export the chart to PDF">Export to PDF </button> <div id="chart-container">FusionCharts will render here</div> FusionCharts.ready(function () { var smoPlan = new FusionCharts({ type: 'gantt', renderAt: 'chart-container', width: '1500', height: '850', //'850' dataFormat: 'json', dataSource: { // Chart Configuration "chart": { "dateformat": "mm/dd/yyyy", "caption": "IMT Major Projects", "subcaption": title_subcaption, //"showTaskStartDate": 1, "legendCaption": "Project Status", "legendCaptionFontSize": "14", "legendCaptionBold": "1", "legendItemFontSize": "12", "legendIconScale": "1.5", "legendAllowDrag": "1", "legendBgColor": "#CCCCCC", "legendBgAlpha": "20", "legendBorderColor": "#666666", "legendBorderThickness": "1", "legendBorderAlpha": "40", "legendShadow": "1", "theme": "ocean", "canvasBorderAlpha": "40", "showBorder": "1", "gridbordercolor": "#666666", "gridborderalpha": "20", "exportEnabled": "1", "exportMode": "auto", "exportFileName": "TestExport" } }).render(); function export_chart() { smoPlan.resizeTo('1500', '2000'); smoPlan.exportChart({"exportFormat": "pdf"}); smoPlan.resizeTo('1500', '850'); } $("#export_chart").on('click', function () { export_chart(); }); });
-
exportchart exportChart is not working when exportShowMenuItem=0
Hendra posted a topic in Bug Reports
Hi, I'm reporting a bug in the exportChart function. When the chart is configured to not show export menu item (i.e : exportShowMenuItem=0), exportChart is throwing javascript error. https://jsfiddle.net/fusioncharts/eLP2d/ Regards, Hendra -
Hello, exporting to XLS works well, but the captions show html codes (<br/>), see the imagen attached. There is some way to fix it? Thanks!
-
Missing Caption, Sub Caption, YAxis Label, Export Btn
Steve L posted a topic in FusionCharts and PHP
I am using the PHP Wrapper to create a multi series 3d column chart with the below constructor. The data is charted correctly on the attached chart, however the chart is missing the caption, subcaption, YAxis label and export button. $RptName, $Caption, $XAxisName and $YAxisName all contain alpha numeric data with no special characters. The version of FusionCharts XT suite is v3.12.2. My json is attached. Thank you in advance for your assistance. $arrData = array( "chart" => array( "caption"=> $RptName, "subCaption"=> $Caption, "xAxisname"=>$XAxisName, "yAxisName"=> $YAxisName, "showLabels"=> "1", "exportEnabled"=> "1", "showPrintMenuItem"=> "1", "exportAction"=> "download", "exportFormats"=> "PNG=Export as High Quality Image|JPG|PDF=Export as PDF File", "exportShowMenuItem"=> "1", "exportFileName"=> $RptName . ' ' . $StartingDate . ' thru ' . $EndingDate, "paletteColors"=> "#0075c2,#1aaf5d", "showLabel"=> "1", "legendBgAlpha"=> "0", "legendBorderAlpha"=> "0", "legendShadow"=> "0", "legendItemFontSize"=> "10", "legendItemFontColor"=> "#666666", "theme"=> "fint" ) ); $arrMultiSeriesData = $_SESSION['arrMultiSeriesData']; $jsonEncodedData = json_encode($arrMultiSeriesData); // chart object $Cht = new FusionCharts("mscolumn3d", "theChart" , 780, 390, "chart-1", "json", $jsonEncodedData); $Cht->render(); The json is attached. json.txt -
Hi, I am using FusionCharts XT v3.12.2 I am creating my charts via the php wrapper. What I would like to accomplish is automatically downloading the chart after it is rendered on the page without clicking on the FusionCharts export button. Basically I want this to happen without a user needing to perform any action. All suggestions would be greatly appreciated. Thanks for your help.
- 10 replies
-
- php wrapper
- php
-
(and 2 more)
Tagged with:
-
Hai i am using fusion chart trail version..When i right click and select save as PDF option the following screen show.I cant export...
-
I cann´t export images (PNG, JPG, SVG) when I used my mobile. I checked your example: http://jsfiddle.net/fusioncharts/Gs6sN/ on my mobile, I cann´t export.
-
Hi, I would like to export fusion charts and add it to power point slides at the click of a button. I would be creating the slides using Apache POI. Can you let me know as to how I can save the charts to server disk location, so that I can refer the download path in my Java code to add the chart images to slides.'' Thanks, Surya
-
- export
- powerpoint
-
(and 1 more)
Tagged with:
-
Hi all guys, I have a problem. I should change the export button to something more talkative, it would be nice to just write export data. But I have no idea if it can be done and how. Could you give me a hand?
-
Upon starting up JBoss for my locally deployed web application, I'm getting two errors - NoClassDefFoundError and ClassNotFoundException. This leaves me unable to export/save charts produced by my application. These are in relation to Fusion Charts' FusionChartsExportHelper class. The relevant logs are below. ERROR [[/ortho]] Servlet /ortho threw load() exception: java.lang.ClassNotFoundException: com.fusioncharts.exporter.FusionChartsExportHelper from BaseClassLoader@73b80c53{vfs:///opt/jboss-6.1.1-SNAPSHOT/server/default/deploy/usc-ortho-1.0.ear/usc-ortho-war-1.0.war/} at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:480) [jboss-classloader.jar:2.2.1.GA] at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [:1.7.0_80] at com.fusioncharts.exporter.servlet.FCExporter.checkExportResources(FCExporter.java:57) [:1.00-b25] at com.fusioncharts.exporter.servlet.FCExporter.init(FCExporter.java:253) [:1.00-b25] ERROR [[/ortho]] StandardWrapper.Throwable: java.lang.NoClassDefFoundError: com/fusioncharts/exporter/FusionChartsExportHelper at com.fusioncharts.exporter.servlet.FCExporter.checkExportResources(FCExporter.java:57) [:1.00-b25] at com.fusioncharts.exporter.servlet.FCExporter.init(FCExporter.java:253) [:1.00-b25] I receive a 404 error in relation to FCExporter when attempting to save/export charts from my application. The 404 page is attached as a screenshot to this post. Where's the issue? What am I doing incorrectly?
- 1 reply
-
- javascript
- java
-
(and 4 more)
Tagged with:
-
Hello, i need information regarding following things 1. what is maximum number of processes/task can be added in chart so that it wont slow down the application. 2. export feature which is suitable for gantt chart , as export feature is taking snapshot of visible content only. like will show only left part of chart in case we have large scrolled data. please reply as soon as possible. Regards, Dashrath Degavat
- 3 replies
-
- gantt chart
- export
-
(and 1 more)
Tagged with:
-
Save fusion charts as images without rendering in browser
Meenal posted a topic in Installation and Upgrades
In our application there are about 15+ charts rendered on different pages, we need to export all the charts in excel on click of an icon. we thought of following possible solutions and relative problems. 1. Export the charts at client side : Question: How to export the charts without rendering them on browser (exportEnabled :"1" or batchexport need the rendering) 2. Save the images of fusion charts without rendering on browser, add the images to excel : Question: How to save the images of fusion chart without rendering them. Any help and pointers on the solution is appreciated -
I am trying to set up a private export server using the java export handler for the user to download their exported charts. The svg exporting works and results in messages on the server (which means that the servlet is being used by the code). When I try to export as an image or pdf the error in Error 1 is thrown. I have used the command, replacing the null with a valid filename, and found that the inkscape command line creates the image correctly (therefore inkscape is correctly installed). Should the null be present after --export-png, or is that the problem? Using the debugger I know that the exportfilename and exportformat are in the exportdata object correctly. Is there any other information that would be needed to help? Error 1. 11:34:40,069 INFO [stdout] (default task-49) PRINTING PARAMETER 11:34:40,071 INFO [stdout] (default task-49) {meta_bgAlpha=[Ljava.lang.String;@6a6189d, stream=[Ljava.lang.String;@26e9e5c3, charttype=[Ljava.lang.String;@48db4777, meta_height=[Ljava.lang.String;@12066802, stream_type=[Ljava.lang.String;@24d2f82f, meta_bgColor=[Ljava.lang.String;@4d7cd68b, meta_width=[Ljava.lang.String;@5f0ed0ac, oi=[Ljava.lang.String;@7e69e537, meta_DOMId=[Ljava.lang.String;@4d497955, parameters=[Ljava.lang.String;@66aa36f9, encodedImgData=[Ljava.lang.String;@4f080130} 11:34:40,071 INFO [com.fusioncharts.exporter.servlet.FCExporter] (default task-49) action null 11:34:40,072 INFO [stdout] (default task-49) Mac OS X 11:34:40,072 INFO [stdout] (default task-49) Command Inkscape :inkscape --export-background=#ffffff --without-gui /usr/local/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/tempca86385dad3232f2/02-os-adalyser.war-cacaaff3514d501efusioncharts_temp/fusioncahrts3753111507276111442.svg --export-png=null -w 250.0 -h 300.0 11:34:40,073 ERROR [io.undertow.request] (default task-49) UT005023: Exception handling request to /adalyser/FCExporter: java.lang.NullPointerException at java.io.File.<init>(File.java:277) [rt.jar:1.8.0_91] at com.fusioncharts.exporter.resources.FCExporter_SVG2ALL.exportProcessor(FCExporter_SVG2ALL.java:327) [fcexporter.jar:] at com.fusioncharts.exporter.servlet.FCExporter.doPost(FCExporter.java:162) [fcexporter.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) [org.springframework.web-3.0.3.RELEASE.jar:3.0.3.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [org.springframework.web-3.0.3.RELEASE.jar:3.0.3.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at uk.co.onesoon.adalyser.web.filter.SecurityFilter.doFilter(SecurityFilter.java:44) [web.jar:] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at uk.co.onesoon.adalyser.web.filter.JaasLoginFilter.doFilter(JaasLoginFilter.java:56) [web.jar:] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:56) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45) [undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:63) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58) [undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76) [undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:247) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:166) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:197) [undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:759) [undertow-core-1.1.0.Final.jar:1.1.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_91] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_91]
-
Hi all, How can I get the exported image uri in js variable ? FC export is really nice looking. I already tried to convert myself with "canvg", but the picture is really bad looking. After that, I add the image with "jspdf" in a new PDF file. Sébastien
- 4 replies
-
- picture image save
- export
-
(and 1 more)
Tagged with:
-
Hello. I have two questions. I have to send a chart via email to the users. The charts will be dynamically constructed by a script, and won't be rendered. Is there any way to export a chart to image file? Or it has any better way to do that? Also, my dashboard page has various charts and the gauge widget. The animation of the charts is very lagged and in sometimes can't even be seen. Is there any way to 'control' the order the charts will be rendered? I'm using setTimeOut from JS, but is not the better solution... Thanks
-
Hi, Fusion chart labels are partly hiding while exporting, while rendering in IE, the chart looks fine but when exported the labels are not displayed fully. Please refer to the screen shot for better understanding. Please suggest, if this can be resolved. Thanks, Senthil.
-
Upgraded from 3.2.2 to 3.5 and export doesn't work
shashanks posted a topic in Installation and Upgrades
Hi, Is there a new WAR file with the new libraries? My exports don't work properly, for export to pdf, png, svg and jpeg. As well, I used to have a 3d pie chart that when right clicked on, would be able to show the 2d version. I've lost that functionality, is there some way to show the 2d version? Thanks, Shashank -
Hi-- I am using server-side export to export a chart to disk. When I right-click on the chart and select SAVE AS JPG everything works as expected. When I click a button that calls myChart.ExportChart(), the progress bar goes to about 5% then disappears. I get no JPG. FCExporter.aspx does not get called. I am using version 3.2.1. Thanks in advance for any help. Merry Christmas! Dennis I tried to paste my code here, and could not. I also tried uploading a text file without success.
- 4 replies
-
- server side
- export
-
(and 1 more)
Tagged with:
-
It seems when XT 3.4.0 was launched, the method to export raw data disappeared. Did I miss something? I see how we can export charts as images / PDF / etc, but no way to export the data as CSV so people can use it in Excel or other applications. Thank you - the new Javascript charts look great!
-
We noticed that the logo we display in the bottom-right corner of the chart looks fine (using logoURL='sssss.png'). However, when we download the chart in pure JavaScrpt the logo is not included in the saved file.
-
Export server and client side without re render of chart
tester82 posted a topic in FusionCharts and ASP.NET
Is it possible to allow an export server side and client side without re rendering the chart. I need to give the user the option to render the chart client side or server side and when I re render the chart it doesnt seem to work. -
Hello, I have a website that's been using FusionCharts for a while without any issues. But now I just realized that with IE11, the export functions I have built are no longer working. The printing and exporting works fine in all other version of IE, Firefox and Chrome, and even on IE11 when compatibility view is turned ON. I'm building the chart server-side like this: Dim chartHtml = FusionCharts.RenderChartHTML("Charts/FusionCharts/ScrollColumn2D.swf?registerWithJS=1", "", xml.ToString(), "MyChart", "100%", "350", False, True, True) I've noticed that when on IE10 or IE11 compatibility view, this renders an <object> element, but on IE11 it creates an <embed> element. And then the javascript functions I've been using are these: function printChart() { var chartToPrint = document.getElementById('MyChart'); chartToPrint.print(); } function ExportMyChartPDF() { var chartObject = document.getElementById('MyChart'); if (chartObject.hasRendered()) chartObject.exportChart({ exportFormat: 'PDF' }); } function ExportMyChartJPG() { var chartObject = document.getElementById('MyChart'); if (chartObject.hasRendered()) chartObject.exportChart({ exportFormat: 'JPG' }); } These functions throws errors saying the object does not support the "print" method, or the "hasRendered". "Object doesn't support this property or method" Do you know why is this happenning and if there's a way to fix it? Thanks.
- 5 replies
-
- javascript
-
(and 1 more)
Tagged with: