Skip to content

Commit

Permalink
Textuelle Anpassungen in Beschreibungen und Titeln
Browse files Browse the repository at this point in the history
  • Loading branch information
ricokritzer committed Mar 8, 2024
1 parent dba6ae3 commit 554d004
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/components/CarsharingChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const CarsharingChart = () => {
}, [data2]);

return (
<Card title="Angemeldete Carsharing-Nutzer" description="Teilnehmer">
<Card title="Angemeldete Carsharing-Nutzer" description="Teilnehmende an Carsharing-Angeboten">
<div ref={containerRef}/>
</Card>
);
Expand Down
4 changes: 2 additions & 2 deletions src/components/GreenhouseGasesChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const GreenhouseGasesChart: React.FC = () => {

return (
<Card
title="Treibhaus Gase"
description="Treibhaus Gase von verschiedenen Quellen in den letzten Jahren"
title="Treibhausgase"
description="Treibhausgase nach Quelle"
>
<div ref={containerRef}/>
</Card>
Expand Down
10 changes: 5 additions & 5 deletions src/components/example-chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ const ExampleChart: React.FC = () => {
.flatMap(
(x: SensorDataEntry) => {
const aggregationEntries: aggregationEntry[] = [
{time: x.time, v: x.min, c: "min"},
{time: x.time, v: x.max, c: "max"},
{time: x.time, v: x.mean, c: "mean"}
{time: x.time, v: x.min, c: "Mindesttemperatur"},
{time: x.time, v: x.max, c: "Maximaltemperatur"},
{time: x.time, v: x.mean, c: "Durchschnittstemperatur"}
];
return aggregationEntries;
}
Expand All @@ -48,8 +48,8 @@ const ExampleChart: React.FC = () => {

return (
<Card
title="Temperatur Daten"
description="Min/Mean/Max Smarter Friedrichsplatz"
title="Temperaturverlauf"
description="Mindest-, Durchschnitts- und Maximaltemperatur am Friedrichsplatz"
>
<div ref={containerRef}/>
</Card>
Expand Down
4 changes: 2 additions & 2 deletions src/components/example-chart2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const ExampleChart: React.FC = () => {
marks: [
Plot.cellX(dataFactory(), {
x: (d) => d.time.getUTCDate(),
y: (d) => d.time.getUTCMonth(),
y: (d) => d.time.getUTCMonth() + 1,
fill: "max",
}),
],
Expand All @@ -32,7 +32,7 @@ const ExampleChart: React.FC = () => {
return (
<Card
title="Jahresverlauf Temperatur"
description="Verlauf der Temperatur an jedem Tag"
description="Verlauf der Temperatur an jedem Tag (x: Tag im Monat; y: Montat im Jahr)"
>
<div ref={containerRef}/>
</Card>
Expand Down
4 changes: 2 additions & 2 deletions src/components/example-chart3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ const ExampleChart: React.FC = () => {

return (
<Card
title="Feinstaub Daten"
description="Feinstaub Daten von CycleSense.de"
title="Feinstaubdaten"
description="Feinstaubdaten von CycleSense.de"
>
<div ref={containerRef}/>
</Card>
Expand Down

0 comments on commit 554d004

Please sign in to comment.