简体   繁体   English

如何转换Powerpoint图表以供Web使用?

[英]How to convert powerpoint chart for web use?

I have some PowerPoint charts I want to convert to Google Chart or Highchart equivalent. 我有一些PowerPoint图表想要转换为Google图表或等效的Highchart。 The only current way I can think about of doing this is to manually enter all the data in the plugin but this is a real painful process. 我能想到的唯一当前方法是在插件中手动输入所有数据,但这确实是一个痛苦的过程。 Is there any API that supports this type of conversion or maybe a converter I can use to convert the powerpoint charts to web format? 是否有支持这种类型的转换的API,或者我可以用来将Powerpoint图表转换为Web格式的转换器? Thanks. 谢谢。

On looking for a solution, the closest I could find was HighCharts. 在寻找解决方案时,我能找到的最接近的是HighCharts。 The examples looked exactly like what I wanted and it was very easy to use and supply data for. 这些示例看起来完全像我想要的,并且非常易于使用和提供数据。 I copied out all the charts data to notepad, and used the following code to format them for use in HighCharts: 我将所有图表数据复制到记事本中,并使用以下代码格式化它们以用于HighCharts:

        var allfiles = File.ReadAllLines("file.txt");
        foreach (string s in allfiles)
        {
            var line = s.Split('\t');
            var sn = string.Format("['{0}', {1}],\r\n", line[0], line[1]);
            File.AppendAllText("nfile.txt", sn);
        }

See sample . 参见示例

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将 PowerPoint 幻灯片转换为 HTML? - How to convert a PowerPoint slide into HTML? 如何在Web中添加PowerPoint演示文稿 - How to add a powerpoint presentation in web 如何将 PowerPoint、PDF 和 Word 文件转换为不同的幻灯片,如 SlideShare? - How to convert PowerPoint, PDF, and Word files to different slides like SlideShare? 如何在office[Word Powerpoint] web插件中获取选中的图片内容? - How to get selected image content in office[Word Powerpoint] web addin? 解决方案,将使用HTML / Javascript从Web应用程序生成的图表/表格转换并导出到可编辑的Powerpoint(.pptx,.ppt)? - Solutions to convert & export charts/tables generated from web app using HTML/Javascript to editable Powerpoint (.pptx, .ppt)? 如何将HTML表转换为Chart? - How to convert HTML table to Chart? 如何转换图表并将其下载为pdf? - How to convert and download chart to pdf? Web Audio API:如何使用 FFT 从时域转换并使用 iFFT 将数据转换回来 - Web Audio API: How to use FFT to convert from time domain and use iFFT to convert the data back 如何将(convas图表)转换为(Chart或system.drawing.image或stream或[] byte),可以在c#中使用它生成pdf - How to convert (convas chart) to either (Chart , or system.drawing.image , or stream , or []byte ) where I can use it in c# to generate pdf 如何使用两个键将 JSON 对象转换为 JavaScript 数组以在谷歌图表中使用? - How to convert JSON object to JavaScript array with two key to use in google chart?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM