add component for y-axis range
This commit is contained in:
@@ -15,18 +15,29 @@ export class VisualizationPageComponent implements OnInit {
|
||||
combinePlotTypes: Array<any>;
|
||||
|
||||
tagFields: Array<any>;
|
||||
|
||||
yAxis: string;
|
||||
yAxisUnit: string;
|
||||
minYValue: number;
|
||||
maxYValue: number;
|
||||
|
||||
query: string;
|
||||
|
||||
constructor(private plotService: PlotService) {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.query = "pod=*";
|
||||
this.plotTypes = this.plotService.getPlotTypes();
|
||||
this.selectedPlotType = this.plotTypes[0].name;
|
||||
|
||||
this.combinePlotTypes = this.plotTypes;
|
||||
|
||||
|
||||
this.tagFields = this.plotService.getTagFields();
|
||||
this.yAxis = "log";
|
||||
this.yAxisUnit = "MINUTES";
|
||||
this.minYValue = 0;
|
||||
this.maxYValue = 120;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user