We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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)]
PPTX files should be able to open on Microsoft PowerPoint
When adding a line chart with dataLabelPosition set, Microsoft Office application asks to repair the file and fails to do it.
slide.addChart( ppt.ChartType.line, [ { name: 'Foo', labels: ['bar'], values: [1] } ], { dataLabelPosition: 'bestFit' } );
The text was updated successfully, but these errors were encountered:
There are lots of demo charts that utilize the dataLabelPosition option, so it's likely that 'bestFit' doesn't work well with Line Charts.
dataLabelPosition
Sorry, something went wrong.
bestFit isn't a valid label position for line charts:
It's used for Pie and Doughnut charts
Fixed via Pull #938
No branches or pull requests
Category
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' } );
The text was updated successfully, but these errors were encountered: