diego-EA
diego-EA
Yes, in PowerPoint it's possible to format each data label individually (including presence and format of border).
Many thanks for the advise. Both XML outputs are different (I attach the differences in the image below). How can I change those XML properties in the data labels with...
Sure, here is the section for the shape with borders in the chart labels: And here is the same section for the shape without borders in the chart labels:
I have just tried those lines but the second one did not work for me: `dLbl` is a `NoneType` object and it has neither attribute `spPr` nor method `get_or_add_spPr()`. The...
Sorry, I ignored the 'if you set the label to a custom string' part of your comment. When I take that into account, your solution works perfectly (I finally got...
If I don't set the `word_wrap` of the text frame to `True` I get the problems mentioned here (`dLbl` is a `NoneType` object): https://github.com/scanny/python-pptx/issues/716#issuecomment-880473764 And if I set the `word_wrap`...
You are right: my data labels are 'static' (if I update chart values, labels remain immutable). I tried both suggestion to avoid `.word_wrap` and here are the results: - using...
Exactly, that's the answer to my original question. Thank you a lot!