Is It Possible To Set Two Value Axis In Python-pptx (one Left, One Right)
I frequently use python-pptx, with current version of 0.6.6.... Now I want to set up a chart with two value axis, one on the left, one on the right, just like this: In the doc of p
Solution 1:
Secondary axes have not yet been implemented in python-pptx
. You would have to develop some code that manipulates the XML using lxml
calls. You can find more information on that by searching on "python-pptx workaround function".
The basic gist is that you use python-pptx
to get as close as you can to the XML element(s) you need, and then use the lxml
API "underlying" python-pptx
to get the rest of the job done.
Post a Comment for "Is It Possible To Set Two Value Axis In Python-pptx (one Left, One Right)"