1234567891011121314151617181920212223242526272829303132 |
- from __future__ import absolute_import
- # Copyright (c) 2010-2019 openpyxl
- from openpyxl.descriptors.serialisable import Serialisable
- from openpyxl.descriptors import Typed
- from openpyxl.descriptors.excel import ExtensionList
- from .shapes import GraphicalProperties
- from .axis import ChartLines
- from .descriptors import NestedGapAmount
- class UpDownBars(Serialisable):
- tagname = "upbars"
- gapWidth = NestedGapAmount()
- upBars = Typed(expected_type=ChartLines, allow_none=True)
- downBars = Typed(expected_type=ChartLines, allow_none=True)
- extLst = Typed(expected_type=ExtensionList, allow_none=True)
- __elements__ = ('gapWidth', 'upBars', 'downBars')
- def __init__(self,
- gapWidth=150,
- upBars=None,
- downBars=None,
- extLst=None,
- ):
- self.gapWidth = gapWidth
- self.upBars = upBars
- self.downBars = downBars
|