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:
parent
ae5e004b69
commit
787fea90b9
@ -26,8 +26,8 @@ export class AxesEditorCtrl {
|
||||
};
|
||||
|
||||
this.dataFormats = {
|
||||
'Timeseries': 'timeseries',
|
||||
'ES histogram': 'es_histogram'
|
||||
'TS': 'timeseries',
|
||||
'TS Pre-bucketed': 'tsbuckets'
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user