예제 #1
0
def dataToBarDataRow(data):
    result = []
    for d in data:
        result.append(QtDataVisualization.QBarDataItem(d))
    return result
예제 #2
0
def dataToBarDataRow(data):
    return list(QtDataVisualization.QBarDataItem(d) for d in data)
예제 #3
0
 def data_to_bar_data_row(self, data):
     """ DOCSTRING """
     return list(QtDataVisualization.QBarDataItem(d) for d in data)