adding dashbord
This commit is contained in:
@@ -70,6 +70,9 @@ export class VisualizationPageComponent implements OnInit {
|
||||
|
||||
ngOnInit() {
|
||||
const that = this;
|
||||
|
||||
(<any>window).initDatePicker();
|
||||
|
||||
this.plotTypes = this.plotService.getPlotTypes();
|
||||
this.selectedPlotType.push(this.plotTypes[0]);
|
||||
|
||||
@@ -86,7 +89,7 @@ export class VisualizationPageComponent implements OnInit {
|
||||
that.splitBy = that.tagFields.find(val => filterDefaults.splitBy == val.name);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
changePlotType(selectedPlotTypes: Array<PlotType>) {
|
||||
const compatiblePlotTypes = this.plotTypes.filter(pt => pt.compatible(selectedPlotTypes));
|
||||
this.plotTypes.forEach(pt => pt.active=false);
|
||||
|
||||
Reference in New Issue
Block a user