MCPcopy Index your code
hub / github.com/PyQt5/PyQt / createLegendBox

Method createLegendBox

QtChart/ChartThemes.py:173–182  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

171 return animationComboBox
172
173 def createLegendBox(self):
174 legendComboBox = QComboBox()
175
176 legendComboBox.addItem("No Legend ", 0)
177 legendComboBox.addItem("Legend Top", Qt.AlignTop)
178 legendComboBox.addItem("Legend Bottom", Qt.AlignBottom)
179 legendComboBox.addItem("Legend Left", Qt.AlignLeft)
180 legendComboBox.addItem("Legend Right", Qt.AlignRight)
181
182 return legendComboBox
183
184 def createAreaChart(self):
185 chart = QChart()

Callers 1

__init__Method · 0.95

Calls 1

addItemMethod · 0.45

Tested by

no test coverage detected