openpyxl.chart.shapes module
- class openpyxl.chart.shapes.GraphicalProperties(bwMode=None, xfrm=None, noFill=None, solidFill=None, gradFill=None, pattFill=None, ln=None, scene3d=None, custGeom=None, prstGeom=None, sp3d=None, extLst=None)[source]
Bases:
Serialisable
Somewhat vaguely 21.2.2.197 says this:
This element specifies the formatting for the parent chart element. The custGeom, prstGeom, scene3d, and xfrm elements are not supported. The bwMode attribute is not supported.
This doesn’t leave much. And the element is used in different places.
- bwMode
Value must be one of {‘black’, ‘clr’, ‘white’, ‘grayWhite’, ‘gray’, ‘auto’, ‘blackGray’, ‘invGray’, ‘blackWhite’, ‘ltGray’, ‘hidden’}
- custGeom
Values must be of type <class ‘openpyxl.drawing.geometry.CustomGeometry2D’>
- extLst
Values must be of type <class ‘openpyxl.descriptors.excel.ExtensionList’>
- gradFill
Values must be of type <class ‘openpyxl.drawing.fill.GradientFillProperties’>
- line
Values must be of type <class ‘openpyxl.drawing.line.LineProperties’>
- ln
Values must be of type <class ‘openpyxl.drawing.line.LineProperties’>
- noFill
Values must be of type <class ‘bool’>
- pattFill
Values must be of type <class ‘openpyxl.drawing.fill.PatternFillProperties’>
- prstGeom
Values must be of type <class ‘openpyxl.drawing.geometry.PresetGeometry2D’>
- scene3d
Values must be of type <class ‘openpyxl.drawing.geometry.Scene3D’>
- shape3D
Values must be of type <class ‘openpyxl.drawing.geometry.Shape3D’>
- solidFill
Values must be of type <class ‘openpyxl.drawing.colors.ColorChoice’>
- sp3d
Values must be of type <class ‘openpyxl.drawing.geometry.Shape3D’>
- tagname = 'spPr'
- transform
Values must be of type <class ‘openpyxl.drawing.geometry.Transform2D’>
- xfrm
Values must be of type <class ‘openpyxl.drawing.geometry.Transform2D’>