Coverage for /var/srv/projects/api.amasfac.comuna18.com/tmp/venv/lib/python3.9/site-packages/openpyxl/chart/updown_bars.py: 84%
17 statements
« prev ^ index » next coverage.py v6.4.4, created at 2023-07-17 14:22 -0600
« prev ^ index » next coverage.py v6.4.4, created at 2023-07-17 14:22 -0600
1# Copyright (c) 2010-2022 openpyxl
3from openpyxl.descriptors.serialisable import Serialisable
4from openpyxl.descriptors import Typed
5from openpyxl.descriptors.excel import ExtensionList
7from .shapes import GraphicalProperties
8from .axis import ChartLines
9from .descriptors import NestedGapAmount
12class UpDownBars(Serialisable):
14 tagname = "upbars"
16 gapWidth = NestedGapAmount()
17 upBars = Typed(expected_type=ChartLines, allow_none=True)
18 downBars = Typed(expected_type=ChartLines, allow_none=True)
19 extLst = Typed(expected_type=ExtensionList, allow_none=True)
21 __elements__ = ('gapWidth', 'upBars', 'downBars')
23 def __init__(self,
24 gapWidth=150,
25 upBars=None,
26 downBars=None,
27 extLst=None,
28 ):
29 self.gapWidth = gapWidth
30 self.upBars = upBars
31 self.downBars = downBars