English 中文(简体)
谷歌维祖化 图 - 救助档案
原标题:Google Vizualization Charts - Save to File

I am using Google Vizualization API to create an organization chart. The API itself does not seem to have a feature to save charts to JPEG, PDF etc. What options do I have to save the chart to file? [this file will be sent as an email attachment]

最佳回答

There s a great guide to saving gviz charts as images here and a corresponding github gist. It works with SVG charts from the gviz series (note, no Flash).

问题回答

你们可以挽救作为图像或PDF的org图。

与一些其他谷歌图表不同的是,该代码在网页上制造了碎片。

如果你不寻找自动化程序,你只能对图表进行筛选,将其作为图像和纸张;作为附件发送。

rel=“nofollow”http://code.google.com/apis/chart/interactive/docs/gallery/orgchart.html


Since you want it automated, the only solution I can think of is a third party control..and you ll probably have to pay for it. Not many companies make org chart controls..even the popular companies like Telerik & Dundas have not ventured into it yet.

NWoods has a diagram control: http://www.nwoods.com/components/dotnet/godiagram-overview.htm

There s another at orgchartcomponent.com http://www.orgchartcomponent.com/doc.aspx

你可能不得不检查有关如何提供图表的文件。

如果是图像,你可以把图像作为档案加以保存。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签