|
@@ -21,7 +21,7 @@ class GraphCtrl extends MetricsPanelCtrl {
|
|
|
logScales: any;
|
|
logScales: any;
|
|
|
unitFormats: any;
|
|
unitFormats: any;
|
|
|
xAxisModes: any;
|
|
xAxisModes: any;
|
|
|
- xAxisHistogramValues: any;
|
|
|
|
|
|
|
+ xAxisSeriesValues: any;
|
|
|
annotationsPromise: any;
|
|
annotationsPromise: any;
|
|
|
datapointsCount: number;
|
|
datapointsCount: number;
|
|
|
datapointsOutside: boolean;
|
|
datapointsOutside: boolean;
|
|
@@ -53,8 +53,8 @@ class GraphCtrl extends MetricsPanelCtrl {
|
|
|
],
|
|
],
|
|
|
xaxis: {
|
|
xaxis: {
|
|
|
show: true,
|
|
show: true,
|
|
|
- mode: 'timeseries',
|
|
|
|
|
- histogramValue: 'avg'
|
|
|
|
|
|
|
+ mode: 'time',
|
|
|
|
|
+ seriesValue: 'avg'
|
|
|
},
|
|
},
|
|
|
grid : {
|
|
grid : {
|
|
|
threshold1: null,
|
|
threshold1: null,
|
|
@@ -145,11 +145,11 @@ class GraphCtrl extends MetricsPanelCtrl {
|
|
|
this.unitFormats = kbn.getUnitFormats();
|
|
this.unitFormats = kbn.getUnitFormats();
|
|
|
|
|
|
|
|
this.xAxisModes = {
|
|
this.xAxisModes = {
|
|
|
- 'Time Series': 'timeseries',
|
|
|
|
|
- 'Histogram': 'histogram'
|
|
|
|
|
|
|
+ 'Time': 'time',
|
|
|
|
|
+ 'Series': 'series'
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- this.xAxisHistogramValues = ['min', 'max', 'avg', 'current', 'total'];
|
|
|
|
|
|
|
+ this.xAxisSeriesValues = ['min', 'max', 'avg', 'current', 'total'];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
onInitPanelActions(actions) {
|
|
onInitPanelActions(actions) {
|