adding a few filters (no doing anything yet)

This commit is contained in:
2019-10-09 19:02:34 +02:00
parent 1afcc7cf38
commit 2787b42c31
9 changed files with 154 additions and 7 deletions

View File

@@ -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();
}
}