Skip to content

Commit

Permalink
Changed Bar Chart Colors
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickskowronekdkfz committed Jan 11, 2024
1 parent 578b9ce commit 85de681
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/demo/src/AppCCP.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@
.set("other", "divers, intersexuell")
.set("unknown", "unbekannt");
const barChartBackgroundColors: string[] = ["#4dc9f6","#3da4c7"];
const vitalStateHeaders: Map<string, string> = new Map<string, string>()
.set("lebend", "alive")
.set("verstorben", "deceased")
Expand Down Expand Up @@ -250,6 +252,7 @@
filterRegex="^[CD].*"
xAxisTitle="Anzahl der Diagnosen"
yAxisTitle="ICD-10-Codes"
backgroundColor={JSON.stringify(barChartBackgroundColors)}
/>
</div>
<div class="chart-wrapper chart-age-distribution">
Expand All @@ -261,6 +264,7 @@
filterRegex="^(1*[12]*[0-9])"
xAxisTitle="Alter"
yAxisTitle="Anzahl der Primärdiagnosen"
backgroundColor={JSON.stringify(barChartBackgroundColors)}
/>
</div>
<div class="chart-wrapper">
Expand All @@ -280,6 +284,7 @@
headers={therapyHeaders}
xAxisTitle="Art der Therapie"
yAxisTitle="Anzahl der Therapien"
backgroundColor={JSON.stringify(barChartBackgroundColors)}
/>
</div>
<div class="chart-wrapper">
Expand All @@ -289,6 +294,7 @@
chartType="bar"
xAxisTitle="Art der Therapie"
yAxisTitle="Anzahl der Therapien"
backgroundColor={JSON.stringify(barChartBackgroundColors)}
/>
</div>
<div class="chart-wrapper">
Expand All @@ -299,6 +305,7 @@
xAxisTitle="Probentypen"
yAxisTitle="Probenanzahl"
filterRegex="^(?!(tissue-other|buffy-coat|peripheral-blood-cells|dried-whole-blood|swab|ascites|stool-faeces|saliva|liquid-other|derivative-other))"
backgroundColor={JSON.stringify(barChartBackgroundColors)}
>
<div class="sample-information-text">* Es sind in der Regel auch FFPE-Gewebeproben verfügbar</div>
</lens-chart>
Expand Down

0 comments on commit 85de681

Please sign in to comment.