I am using zing chart to display various charts on client side. Now there is a requirement to download all the charts in one pdf. For pdf generation I am using itextsharp. Is there any way by which I can integrate zing charts so that itextsharp can render and create pdf containing all charts?
No, there isnt'.
I think the best way to solve your usecase would be:
1. to send a call to the server (containing information about what charts the user wants to have)
2. at the server side, handle incoming requests by producing the graph (as an image), adding all images in a pdf, pushing the bytes of the pdf back into an HTTP message
For generating charts at the server side, have a look at http://nugetmusthaves.com/Tag/Chart
Related
I was wondering if it is possible to print/down large PDF large report from a dashboard that requires many pages with a company logo. I tried view and it is only what is on my screen and the specific sheets from this dashboard does not include the logo which I need.
Not big text tables like that :( Essentially Tableau is a dashboarding tool and what you have created is a massive spreadsheet - that you now want to turn into a PDF? (yikes!!)
I'd revisit your requirements. Is it easier to pull the data directly from the database as a CSV? and then do some formatting? A PDF will be a nightmare for any user.
Tableau has (in my own opinion) limited features about exporting data in different formats, and it is because it is not a reporting tool (like SAP BusinessObjects for example).
The best way to add a company logo is to add an "Image" block inside your dashboard with the logo. The following image shows how to add in Tableau Online, I can't understand if you're using Tableau Online or Tableau Server, you mention Tableau Web that does not exist :-) .
Now I think that your problem is if you want to repeat the logo on every single page that you export, is this your case?
I am trying to generate a pdf from a Tableau workbook which has two sheets using the url method:
E.g: https://TableauServer/views/workbook/sheet1?:format=pdf¶meter=value
I am doing this in a program which will issue the url request to the url. The url works fine for one sheet. But the problem is how to generate one pdf file with both sheets in it?
If you first put your two sheets into a single dashboard and then use the URL for the published dashboard (still using the format=pdf parameter), this should work just fine.
We know it's possible because within the Tableau pages itself if you download a PDF it gives you several formatting options, including the option to put all the worksheets in a workbook into a single PDF.
I couldn't find any documentation on it though. What I ended up doing was looking at the network console in the browser (usually F12) when I downloaded the PDF from the browser by clicking the Download button. That showed me the URL end point and the JSON body the server expected in the request payload.
The endpoint URL wasn't too cryptic and ended with "commands/tabsrv/pdf-export-server". The challenge was to take the JSON in the request payload and find the right settings to get it into a single PDF.
This method is a more technical approach and requires very little coding skills; any language that has functions for http calls will work (I use python for it).
If you don't mind doing it outside a browser, tabcmd has lots of functionality to control PDF generation at the command line.
I'm working on Laravel 5 and I have a view where I displayed some graphs of Charts, the thing is that I want to offer to the user, the posibility of download this report in PDF, I'm currently generating reports with DomPDF, but as I was reading, DomPDF doesn't support this kind of graph, so, How can I do it? I was thinking in generate a printing view, but then how I dowload it automatically?
Also, I was thinking to send the generated images through a post petition and then attach it to the generated PDF, can I do that?
GWT,Java framework. I wanted to generate chart and save it as jpeg file for sending report's graph to user's email.
I am using GWT visualization api to generate chart for fron-end view. But I wanted to generate chart and save it as jpg in server side.
can any one help me that How to save file as jpeg in server side by using GWT visualization api?
I know a script which can export SVG chart to other format. Do you users' browsers support SVG ?
I badly need a good looking chart library to generate SVG charts, which will be included in a printed report.
The difficulty is to find such a library, because:
most of the cool ones have no SVG output ( I don't need interactive SVG for websites)
most of the cool ones are client-sided javascript ones ( it has to be automatically generate the charts and I don't want to have a web browser running on the server, seems weird )
Basically the features should be:
good looking (charts themself & after print)
SVG image output
possible to generate on a server without graphical interface
JSON based (not required but would be nice)
I can't believe there is no library out there to fulfill these conditions.
Thanks for any help