|
|
@ -27,11 +27,11 @@ const BACKEND_VARIABLE_NAME = 'HASTIC_SERVER_URL'; |
|
|
|
class GraphCtrl extends MetricsPanelCtrl { |
|
|
|
class GraphCtrl extends MetricsPanelCtrl { |
|
|
|
static template = template; |
|
|
|
static template = template; |
|
|
|
ANALYTIC_TYPES: Array<{name: string, value: string}> = [ |
|
|
|
ANALYTIC_TYPES: Array<{name: string, value: string}> = [ |
|
|
|
{ name: 'General', value: 'general' }, |
|
|
|
{ name: 'General', value: 'GENERAL' }, |
|
|
|
{ name: 'Peaks', value: 'peak' }, |
|
|
|
{ name: 'Peaks', value: 'PEAK' }, |
|
|
|
{ name: 'Jumps', value: 'jump' }, |
|
|
|
{ name: 'Jumps', value: 'JUMP' }, |
|
|
|
{ name: 'Drops', value: 'drop' }, |
|
|
|
{ name: 'Drops', value: 'DROP' }, |
|
|
|
{ name: 'Custom', value: 'custom' } |
|
|
|
{ name: 'Custom', value: 'CUSTOM' } |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
hiddenSeries: any = {}; |
|
|
|
hiddenSeries: any = {}; |
|
|
|