Commit 787fea90 by Torkel Ödegaard

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

parent ae5e004b
...@@ -26,8 +26,8 @@ export class AxesEditorCtrl { ...@@ -26,8 +26,8 @@ export class AxesEditorCtrl {
}; };
this.dataFormats = { this.dataFormats = {
'Timeseries': 'timeseries', 'TS': 'timeseries',
'ES histogram': 'es_histogram' 'TS Pre-bucketed': 'tsbuckets'
}; };
} }
......
...@@ -135,7 +135,7 @@ export class HeatmapCtrl extends MetricsPanelCtrl { ...@@ -135,7 +135,7 @@ export class HeatmapCtrl extends MetricsPanelCtrl {
let xBucketSize, yBucketSize, heatmapStats, bucketsData; let xBucketSize, yBucketSize, heatmapStats, bucketsData;
let logBase = this.panel.yAxis.logBase; let logBase = this.panel.yAxis.logBase;
if (this.panel.dataFormat === 'es_histogram') { if (this.panel.dataFormat === 'tsbuckets') {
heatmapStats = this.parseHistogramSeries(this.series); heatmapStats = this.parseHistogramSeries(this.series);
bucketsData = elasticHistogramToHeatmap(this.series); bucketsData = elasticHistogramToHeatmap(this.series);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment