首页 文章

在PptxGenJS的v2.1.0中的PowerPoint中,折线图无法正常工作

提问于
浏览
0

我正在尝试生成带有图表的pptx文件,但是当有一些'chart.LINE'时,在Power Point中打开生成的文件时出错 . 具有“.BAR”类型的图表正常呈现,如文本和图像 .

同样的文件在Keynote和Libre Office中完美打开 . 这只是在Power Point中,它出现在任何版本中(我使用的是Microsoft Office 2016) . 我正在使用最新版本的PptxGenJS(v2.1.0),在导出期间没有出错 . 我的意思是代码正常运行,没有错误或警告,并导出文件 . 尝试打开时出现问题 .

Power Point中的错误消息为:PowerPoint could not read content and removed it / Power Point may try to repair the presentation / Power Point failed to repair content and removed it

基本上是一条默认消息,告知无法读取某些内容并尝试修复,它已被删除 .

注意:通过在Keynote或Google幻灯片中打开文件,然后保存/导出为'pptx',它可以正常工作 . 所有图表都正常呈现 .

Expected result - Only occurs in Keynote or Google Slides

由于缺乏明确的错误,我不知道发生了什么,如果有人能帮助我,我会很感激 .

谢谢 .

1 回答

  • 0

    你使用32位的PowerPoint版本?也许框架正在导出64位组件,而您的PowerPoint是32.这将解释开头的错误消息 .

相关问题