Office-js:在Excel中提取图表数据范围

huangapple go评论73阅读模式
英文:

Office-js: Extracting chart data range in Excel

问题

我正在使用Office-js编写Excel插件,并需要将所选图表的数据持久化到服务器上。
我知道可以将整个图表保存为base64编码的图像,但我更希望获取图表的源数据,以便将来可以重新创建图表(使用不同的样式/模板)。

在当前的office-js API中,是否有一种方法可以获取图表数据范围,以便我可以从工作表中读取值,而不是将图表导出为图像?

谢谢!

英文:

I'm writing Excel addin using Office-js and I need to persist data of selected chart on server.
I know that I can save whole chart as base64 encoded image, but I'd prefer to get chart source data for future chart recreation (using different styling/template).

In current office-js API, is there any method for getting chart data range, so I can read values from worksheet, instead of exporting chart as image?

Thanks!

答案1

得分: 1

抱歉,很遗憾我们的API不支持这种情况,这是已知的功能缺失。所以,您能否通过 https://officespdev.uservoice.com/forums/224641-feature-requests-and-feedback?category_id=163563 提供反馈并为这一功能投票呢?感谢您的支持。

英文:

Sorry, Unfortunately our API don't support this scenario and this is a known feature gap. So would you please provide us feedback via https://officespdev.uservoice.com/forums/224641-feature-requests-and-feedback?category_id=163563 and upvote for this feature. thanks for your support.

huangapple
  • 本文由 发表于 2020年1月3日 18:35:09
  • 转载请务必保留本文链接:https://go.coder-hub.com/59577024.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定