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
68b828b5
Commit
68b828b5
authored
5 months ago
by
Asal Sahami Moghaddam
Browse files
Options
Downloads
Patches
Plain Diff
graph
parent
51f63b7f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#458626
passed
5 months ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/App/mediarules.css
+4
-0
4 additions, 0 deletions
src/App/mediarules.css
src/components/Graph.tsx
+8
-3
8 additions, 3 deletions
src/components/Graph.tsx
with
12 additions
and
3 deletions
src/App/mediarules.css
+
4
−
0
View file @
68b828b5
...
...
@@ -98,6 +98,10 @@
#Cystic
\
Fibrosis6
h2
{
font-size
:
1.5em
!important
;
/* Mobile size */
}
.pie-chart-container-small
{
width
:
200px
;
/* Make smaller for mobile */
height
:
200px
;
/* Adjust height accordingly */
}
.row-if-small
{
--bs-gutter-x
:
1.5rem
;
...
...
This diff is collapsed.
Click to expand it.
src/components/Graph.tsx
+
8
−
3
View file @
68b828b5
...
...
@@ -56,11 +56,16 @@ const PieChart: React.FC = () => {
responsive
:
true
,
maintainAspectRatio
:
false
,
plugins
:
{
title
:
{
legend
:
{
display
:
true
,
text
:
''
,
position
:
'
bottom
'
as const
,
// Puts labels below the chart
labels
:
{
boxWidth
:
20
,
// Controls the size of the color box next to the labels
padding
:
15
,
// Adds some padding between labels and the chart
usePointStyle
:
true
,
},
}
},
},
};
return
(
...
...
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