Example #1
0
 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()
Example #2
0
 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()
Example #3
0
 def __init__(self, first_column, second_column, **kwargs):
     Column.__init__(self, **kwargs)
     self.first_column = first_column
     self.second_column = second_column
Example #4
0
 def __init__(self, first_column, second_column, **kwargs):
     Column.__init__(self, **kwargs)
     self.first_column = first_column
     self.second_column = second_column
Example #5
0
 def __init__(self, roles=['VHT', 'PVHT'], period=1, **kwargs):
     Column.__init__(self, **kwargs)
     self.roles = roles
     self.period = period
Example #6
0
 def __init__(self, roles=['VHT', 'PVHT'], **kwargs):
     Column.__init__(self, **kwargs)
     self.roles = roles
Example #7
0
 def __init__(self, type=ALERTS_TOTAL, period=1, **kwargs):
     Column.__init__(self, **kwargs)
     self.type = type
     self.date_range = last_reporting_period(period=period)