Skip to content

Setting dataLabelPosition to a line chart causes latest office application to ask for repair #768

@artdomg

Description

@artdomg

Category

  • Enhancement
  • Bug
  • Question
  • Documentation gap/issue

Version

Please specify what version of the library you are using: [3.2.1 ]

Please specify what version(s) of PowerPoint you are targeting: [16.37 (2020)]

Expected / Desired Behavior / Question

PPTX files should be able to open on Microsoft PowerPoint

Observed Behavior

When adding a line chart with dataLabelPosition set, Microsoft Office application asks to repair the file and fails to do it.

Code sample

slide.addChart( ppt.ChartType.line, [ { name: 'Foo', labels: ['bar'], values: [1] } ], { dataLabelPosition: 'bestFit' } );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions