From 57be6f64e2528fbd72a2cca0031ba80d933e6543 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Thu, 31 Oct 2019 19:11:38 +0100 Subject: [PATCH] prepare plot type for 'step fit' plots --- pdb-js/src/app/plot.service.ts | 1 + pdb-js/src/assets/img/step-fit.svg | 176 +++++++++++++++++++++++++++++ pdb-js/src/styles.scss | 2 +- 3 files changed, 178 insertions(+), 1 deletion(-) create mode 100644 pdb-js/src/assets/img/step-fit.svg diff --git a/pdb-js/src/app/plot.service.ts b/pdb-js/src/app/plot.service.ts index 725751d..1ad1b34 100644 --- a/pdb-js/src/app/plot.service.ts +++ b/pdb-js/src/app/plot.service.ts @@ -32,6 +32,7 @@ export class PlotService { this.plotTypes.push(new PlotType("STRIP", "Strip", "strip-chart", false, DataType.Group, DataType.Duration)); this.plotTypes.push(new PlotType("PIE", "Pie", "pie-chart", false, DataType.Other, DataType.Other)); this.plotTypes.push(new PlotType("BAR", "Bar", "bar-chart", false, DataType.Other, DataType.Other)); + this.plotTypes.push(new PlotType("STEP_FIT", "Step Fit", "step-fit", false, DataType.Other, DataType.Other)); this.tagFields = new Array(); } diff --git a/pdb-js/src/assets/img/step-fit.svg b/pdb-js/src/assets/img/step-fit.svg new file mode 100644 index 0000000..126182d --- /dev/null +++ b/pdb-js/src/assets/img/step-fit.svg @@ -0,0 +1,176 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pdb-js/src/styles.scss b/pdb-js/src/styles.scss index 853482a..91c0bb7 100644 --- a/pdb-js/src/styles.scss +++ b/pdb-js/src/styles.scss @@ -76,7 +76,7 @@ a.external-link:after { } body .mat-select-panel, body .mat-autocomplete-panel { - max-height: 512px; + max-height: 300px; } mat-form-field {