adding a few filters (no doing anything yet)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { PlotService, PlotType } from '../plot.service';
|
||||
|
||||
@Component({
|
||||
selector: 'pdb-visualization-page',
|
||||
@@ -6,10 +7,26 @@ import { Component, OnInit } from '@angular/core';
|
||||
styleUrls: ['./visualization-page.component.scss']
|
||||
})
|
||||
export class VisualizationPageComponent implements OnInit {
|
||||
|
||||
selectedPlotType: string;
|
||||
plotTypes: Array<any>;
|
||||
|
||||
selectedCombinePlotType: string;
|
||||
combinePlotTypes: Array<any>;
|
||||
|
||||
tagFields: Array<any>;
|
||||
|
||||
constructor() { }
|
||||
constructor(private plotService: PlotService) {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.plotTypes = this.plotService.getPlotTypes();
|
||||
this.selectedPlotType = this.plotTypes[0].name;
|
||||
|
||||
this.combinePlotTypes = this.plotTypes;
|
||||
|
||||
|
||||
this.tagFields = this.plotService.getTagFields();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user