def importchart_csv(self, csvfileobject): chart = TimelineChart(self, csvfileobject, color=self._chartsColors[len(self._charts)]) self._charts.append(chart) chart.name = "undefined name {0}".format(str(len(self._charts)))
def importchart_csv(self, csvfileobject): chart = TimelineChart(self, color=self._chartsColors[len(self._charts)]) chart.import_csv(csvfileobject) self._charts.append(chart) chart.name = "undefined name {0}".format(str(len(self._charts))) self.repaint()