def __init__(self, keyword, extra_filters=None, **kwargs): Column.__init__(self, **kwargs) self.keyword = keyword self.extra_filters = extra_filters self.chart_yaxis = 'Number of Reports' if not self.chart_title: self.chart_title = 'Variation of %s' % self.get_title()
def __init__(self, first_column, second_column, **kwargs): Column.__init__(self, **kwargs) self.first_column = first_column self.second_column = second_column
def __init__(self, roles=['VHT', 'PVHT'], period=1, **kwargs): Column.__init__(self, **kwargs) self.roles = roles self.period = period
def __init__(self, roles=['VHT', 'PVHT'], **kwargs): Column.__init__(self, **kwargs) self.roles = roles
def __init__(self, type=ALERTS_TOTAL, period=1, **kwargs): Column.__init__(self, **kwargs) self.type = type self.date_range = last_reporting_period(period=period)