mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
heatmap: changed name of heatmap data format option, #8054
This commit is contained in:
@@ -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 {
|
|||||||
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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user