def initialize(self): """Define StackedBarChart specific attributes. """ self.table = TableLite(cellpadding=3, cellspacing=0) self.barfiles = barfiles self.colors = ('blue', 'red', 'yellow', 'purple', 'orange', 'green') self.bound_zero = "yes"
def initialize(self): """Initialize the chart properties. This method is overloaded by child classes. """ self.table = TableLite(cellpadding=3, cellspacing=0) self.barfiles = barfiles # color keys for low, norm and hi indications self.barcolors = ('yellow', 'blue', 'red') # numeric values which determine the boundaries between color ranges self.thresholds = (0, 1E+09) # self.bound_zero = "no"