I have integrated Highcharts in my code to show data using charts.
HIghcharts displays chart on the website, it great. but when downloading data using their api it does not display chart in the xls file, it instead shows raw data in the excel, i want to show chart even in the xls file.
Pic1 shows how chart appears on my website.
pic2 shows how the data appears when i download.
I need something to show the actual chart (which is shown on the site) to be in the excel too.
1:
Highcharts does not provide a possibility to export a chart as an image to XLS file. You can export directly only the chart data. As #Core972 noticed, you can download a chart image and paste it in Excel.
Export module
...
Additionally there's the export data module that enables exporting the
chart data to CSV, XLS or HTML table formats.
Docs: https://www.highcharts.com/docs/export-module/export-module-overview
Related
When I save a google sheet as xlsx I don't see the images I have in sheets using =image()
The exported file does not contain the images I see on the Google sheet. I have tried to copy paste the images in google sheet as value, then export to xlsx but still don't see images in the xlsx file that was downloaded.
Can someone help, please.
EDIT (following OP's comment)
Can we have any script for that
You need neither a script nor a formula for that.
You only need "to save your images using Insert image from the insert menu."
IMAGE is a Google specific function and canNOT be viewed by .xlsx
As well as any of the Google specific functions
Your alternative is to save your images by using Insert image from the insert menu.
Any body I want to export chart data made with d3.js in to PDF file using PDFSharp and Migradoc. I am not able to find any example. So can anybody give some example?
I have a requirement of generating a simple table to display some data and than export it using highchart library and also I dont want to generate any chart for this data.
I got this link : Highcharts and the export of table data
But I want to export the table without creating any chart.
Kindly help.
I have to create a print preview page where I have to show some information and a highchart of the original page. Is there a way to export the highchart graph from one page to another?
There are probably many ways to accomplish this.
What language are you working in?
I would try it this way:
set the chart options in an external js file
include that js file in both the original page, and the 'preview' page
I assume the user will click on a link or button to open the preview page...?
send the data via POST to the new page, and instantiate the chart on the new page on page load
You could also look into using the Export package to
on link/button click, export the chart as an image, to the server
pass the url of the saved image to the new page, and load the image there
I have not worked with exporting to the server, and wouldn't bother with the set up for this when you can just pass the data and build the chart on the new page, but it's an option.
I am using HighChart in my application.
I want to export chart image on a button click like http://jsfiddle.net/hfrntt/fXHB5/1896/.
but i want to save image in a predefined folder and remove the save dialog pop-up to save image.
On button click image saved on the predefined folder.(No save dialog)
Thanks in advance
You have to setup an exportserver. Upon the client sends the Highcharts SVG file to this service it will be converted to an image. Before the server returns the image to the client you can save it to the predefined filesystem.
Here you can find a php export server and a java based one. https://github.com/highslide-software/highcharts.com/tree/master/exporting-server developed by Highcharts
These exportservers are setup to remove the temporary created files. You have to change the code a bit to prevent this.
read also this article for more background information on Highcharts exportservers
This is going to involve much more than simply using highcharts. You are going to have to use some sort of wrapper that will actually render the chart/page on the server-side and then essentially output it as an image. The following are links taken from a post on the highcharts website.
GWT Highcharts wrapper
Highcharts-server-side-export (with Rhino/Batik)