heatmap: changed name of heatmap data format option, #8054

This commit is contained in:
Torkel Ödegaard 2017-04-24 15:17:57 +02:00
parent ae5e004b69
commit 787fea90b9
2 changed files with 3 additions and 3 deletions

View File

@ -26,8 +26,8 @@ export class AxesEditorCtrl {
};
this.dataFormats = {
'Timeseries': 'timeseries',
'ES histogram': 'es_histogram'
'TS': 'timeseries',
'TS Pre-bucketed': 'tsbuckets'
};
}

View File

@ -135,7 +135,7 @@ export class HeatmapCtrl extends MetricsPanelCtrl {
let xBucketSize, yBucketSize, heatmapStats, bucketsData;
let logBase = this.panel.yAxis.logBase;
if (this.panel.dataFormat === 'es_histogram') {
if (this.panel.dataFormat === 'tsbuckets') {
heatmapStats = this.parseHistogramSeries(this.series);
bucketsData = elasticHistogramToHeatmap(this.series);