Open
Description
We appreciate your feedback - to help the team understand your needs please complete the following template to ensure we have the details to help.
Issue Category
- Enhancement
- Bug
- Question
- Documentation gap/issue
Product Versions
- Please specify what version of the library you are using......: [3.12.0]
- Please specify what version(s) of PowerPoint you are targeting: [16.93.2]
- Please specify what web browser you are using.................: [Google Chrome]
Desired Behavior
On pie charts, when the "outEnd" i.e. "Outside End" is selected on dataLabelPosition
when using the addChart
method, data labels should have even spacing against the pie chart and not overlap with each other.
Observed Behavior
Pie chart with "outside end" positioned data labels have data labels with smaller values spaced closer to the pie chart and tend to overlap with each other. Closer inspection of the label position in the Powerpoint describes the data label positions as "Center"
Steps to Reproduce
Code to reproduce:
slide.addChart(presentation.ChartType.pie, [{
name: "Project Status",
labels: ["Red", "Yellow", "Green", "Complete", "Cancelled", "Unknown"],
values: [50, 25, 10, 10, 4, 1],
}], {
dataLabelPosition: "outEnd",
dataLabelFormatCode: "0.00%",
// other chart attributes
}
Metadata
Metadata
Assignees
Labels
No labels