mirror of
https://github.com/grafana/grafana.git
synced 2026-08-18 00:54:58 -05:00
fix(graph): fixed graph issue with axes mode set to series and picking Max value, fixes #6926
This commit is contained in:
@@ -15,7 +15,6 @@ export class SubmenuCtrl {
|
|||||||
private $location) {
|
private $location) {
|
||||||
this.annotations = this.dashboard.templating.list;
|
this.annotations = this.dashboard.templating.list;
|
||||||
this.variables = this.variableSrv.variables;
|
this.variables = this.variableSrv.variables;
|
||||||
console.log(this.variables);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotationStateChanged() {
|
annotationStateChanged() {
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ export class AxesEditorCtrl {
|
|||||||
this.xAxisStatOptions = [
|
this.xAxisStatOptions = [
|
||||||
{text: 'Avg', value: 'avg'},
|
{text: 'Avg', value: 'avg'},
|
||||||
{text: 'Min', value: 'min'},
|
{text: 'Min', value: 'min'},
|
||||||
{text: 'Max', value: 'min'},
|
{text: 'Max', value: 'max'},
|
||||||
{text: 'Total', value: 'total'},
|
{text: 'Total', value: 'total'},
|
||||||
{text: 'Count', value: 'count'},
|
{text: 'Count', value: 'count'},
|
||||||
{text: 'Current', value: 'current'},
|
{text: 'Current', value: 'current'},
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ export class DataProcessor {
|
|||||||
return [
|
return [
|
||||||
{text: 'Avg', value: 'avg'},
|
{text: 'Avg', value: 'avg'},
|
||||||
{text: 'Min', value: 'min'},
|
{text: 'Min', value: 'min'},
|
||||||
{text: 'Max', value: 'min'},
|
{text: 'Max', value: 'max'},
|
||||||
{text: 'Total', value: 'total'},
|
{text: 'Total', value: 'total'},
|
||||||
{text: 'Count', value: 'count'},
|
{text: 'Count', value: 'count'},
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user