将嵌入式Excel在线图表转换为图像? [英] Turning embedded Excel Online Chart into image?

查看:230
本文介绍了将嵌入式Excel在线图表转换为图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。

我有一个简单的网页,可以使用嵌入式Excel在线表格为观众生成复杂的图表和统计数据。

I have a simple webpage that generates complex charts and statistics for the viewers using an embedded excel online sheet.

一切都很好,除了我找不到让观众下载图表作为图像的方法。我发现的最近的是:

Everything works great, except for the fact that I can´t find a way to let the viewer to download a chart as an image. The closest I´ve found is this:

http://msdn.microsoft.com/en -us / library / office / ff394634(v = office.15).aspx

但我不确定它对我有用。如果有人能够向我展示正确的方向,那将非常感激。忍受我,我是一名临床科学家而不是程序员,我之前从未做过类似的事情。 ;)

But I´m not sure if it´s useful for me. If anyone could show me in the right direction, that would be really appreciated. Bear with me, I´m a clinical scientist rather than a programmer and I´ve never done anything similar before. ;)

推荐答案

您好mhammar,

Hi mhammar,

根据您的描述,您是否通过访问office.live.com并创建新的空白工作簿来嵌入Excel,然后选择File- >分享 - >嵌入 - >生成HTML并在您的网络应用程序中使用它,之后您想要将图表生成为图像?

According to your description, do you embedded excel by going to office.live.com and create new blank workbook, then choose File->Share->Embed->Generate HTML and use it in your web application, after that you want to generate the chart as image?

如果是这种情况,它是与App for office无关,我找不到在App for office中实现的API。

If that is the case, it is not related to App for office and I don’t find the API to achieve that in App for office.

#WavaScript API for Office(v1.1)

http://msdn.microsoft。 com / library / office / fp142185(v = office.1501401).aspx

关于办公室应用的更多信息,请参阅:

About more information of app for office, please refer to:

http://msdn.microsoft .com / zh-CN / library / office / jj220082(v = office.15).aspx

您的问题与Sharepoint更相关,您可能需要在Web应用程序中使用Rest API来实现这一目标。

Your issue is more related to Sharepoint and you may need to achieve that by using Rest API in your web application.

最好的问候

Starain


这篇关于将嵌入式Excel在线图表转换为图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆