Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Bielefeld-CeBiTec
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
2024 Competition
Bielefeld-CeBiTec
Commits
ee4183bc
Commit
ee4183bc
authored
5 months ago
by
Liliana Sanfilippo
Browse files
Options
Downloads
Patches
Plain Diff
charts
parent
ae11016b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/App/HP.css
+7
-0
7 additions, 0 deletions
src/App/HP.css
src/components/Graph.tsx
+18
-8
18 additions, 8 deletions
src/components/Graph.tsx
src/contents/Human Practices/Feedback.tsx
+119
-85
119 additions, 85 deletions
src/contents/Human Practices/Feedback.tsx
with
144 additions
and
93 deletions
src/App/HP.css
+
7
−
0
View file @
ee4183bc
...
...
@@ -73,5 +73,12 @@
.pie-chart-container-small
{
height
:
auto
;
}
.pie-chart-container-other
{
height
:
250px
!important
;
}
.pie-chart-container-small
,
.pie-chart-container
,
.pie-chart-container-other
,
.bar-chart-container
{
margin-bottom
:
10px
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/components/Graph.tsx
+
18
−
8
View file @
ee4183bc
...
...
@@ -64,7 +64,7 @@ const PieChart: React.FC = () => {
};
return
(
<
div
className
=
"pie-chart-container"
>
<
div
className
=
"pie-chart-container
-small
"
>
<
Pie
data
=
{
data
}
options
=
{
options
}
/>
</
div
>
);
...
...
@@ -139,7 +139,7 @@ export const MostStressfulForRelativeatients: React.FC = () => {
};
return
(
<
div
className
=
"pie-chart-container"
>
<
div
className
=
"pie-chart-container
-other
"
>
<
Pie
data
=
{
data
}
options
=
{
options
}
/>
</
div
>
);
...
...
@@ -173,7 +173,7 @@ export const WhoAffectedatients: React.FC = () => {
};
return
(
<
div
className
=
"pie-chart-container"
>
<
div
className
=
"pie-chart-container
-small
"
>
<
Pie
data
=
{
data
}
options
=
{
options
}
/>
</
div
>
);
...
...
@@ -602,7 +602,7 @@ export const HeardOfCFPublic: React.FC = () => {
};
return
(
<
div
className
=
"pie-chart-container"
>
<
div
className
=
"pie-chart-container
-small
"
>
<
Pie
data
=
{
data
}
options
=
{
options
}
/>
</
div
>
);
...
...
@@ -675,6 +675,16 @@ export const HowDidYouLearnPublic: React.FC = () => {
text
:
'
How did you mainly learn about cystic fibrosis?
'
,
},
},
scales
:
{
x
:
{
beginAtZero
:
true
,
barPercentage
:
0.5
,
// Schmaler machen, 0.5 = 50% der Kategorie-Breite
categoryPercentage
:
0.5
,
// Platz pro Kategorie schmaler machen
},
y
:
{
beginAtZero
:
true
,
},
},
};
return
(
...
...
@@ -714,7 +724,7 @@ export const HowWellDoYouUnderstandGFPublic: React.FC = () => {
};
return
(
<
div
className
=
"pie-chart-container"
>
<
div
className
=
"pie-chart-container
-small
"
>
<
Pie
data
=
{
data
}
options
=
{
options
}
/>
</
div
>
);
...
...
@@ -749,7 +759,7 @@ export const HowWellInformedAboutCFPublic: React.FC = () => {
};
return
(
<
div
className
=
"pie-chart-container"
>
<
div
className
=
"pie-chart-container
-other
"
>
<
Pie
data
=
{
data
}
options
=
{
options
}
/>
</
div
>
);
...
...
@@ -782,7 +792,7 @@ export const WhatCouldGeneTherapyMeanForMedicinePublic: React.FC = () => {
};
return
(
<
div
className
=
"pie-chart-container"
>
<
div
className
=
"pie-chart-container
-other
"
>
<
Pie
data
=
{
data
}
options
=
{
options
}
/>
</
div
>
);
...
...
@@ -862,7 +872,7 @@ export const WouldYouDoGeneTherapyPublic: React.FC = () => {
};
return
(
<
div
className
=
"pie-chart-container"
>
<
div
className
=
"pie-chart-container
-other
"
>
<
Pie
data
=
{
data
}
options
=
{
options
}
/>
</
div
>
);
...
...
This diff is collapsed.
Click to expand it.
src/contents/Human Practices/Feedback.tsx
+
119
−
85
View file @
ee4183bc
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment