show interval input field only for bar charts

This commit is contained in:
2020-04-05 09:33:05 +02:00
parent 3c88969885
commit aa9a4255ef
2 changed files with 8 additions and 4 deletions

View File

@@ -91,6 +91,10 @@ export class VisualizationPageComponent implements OnInit {
const axesTypes = this.getAxes();
this.y2AxisAvailable = axesTypes.y.length == 2;
}
selectedPlotTypesContains(plotTypeId: string){
return this.selectedPlotType.filter(pt => pt.id == plotTypeId).length > 0;
}
dateRangeAsString() : string {