MCPcopy Create free account
hub / github.com/scanny/python-pptx / CT_Orientation

Class CT_Orientation

src/pptx/oxml/chart/axis.py:175–183  ·  view source on GitHub ↗

`c:xAx/c:scaling/c:orientation` element, defining category order. Used to reverse the order categories appear in on a bar chart so they start at the top rather than the bottom. Because we read top-to-bottom, the default way looks odd to many and perhaps most folks. Also applicable to va

Source from the content-addressed store, hash-verified

173
174
175class CT_Orientation(BaseOxmlElement):
176 """`c:xAx/c:scaling/c:orientation` element, defining category order.
177
178 Used to reverse the order categories appear in on a bar chart so they start at the
179 top rather than the bottom. Because we read top-to-bottom, the default way looks odd
180 to many and perhaps most folks. Also applicable to value and date axes.
181 """
182
183 val = OptionalAttribute("val", ST_Orientation, default=ST_Orientation.MIN_MAX)
184
185
186class CT_Scaling(BaseOxmlElement):

Callers

nothing calls this directly

Calls 1

OptionalAttributeClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…