diff --git a/src/components/Graph.tsx b/src/components/Graph.tsx index bf25514b05d5d6ddfd2ebf4cf81f8b701261c761..be3fbb206451bdcc0224b956ca8aa0571a927170 100644 --- a/src/components/Graph.tsx +++ b/src/components/Graph.tsx @@ -704,7 +704,7 @@ export const WhatCouldGeneTherapyMeanForMedicinePublic: React.FC = () => { labels: ['Major advances in the treatment of diseases', 'Some progress, but also risks', 'More risks than benefits', 'No opinion'], datasets: [ { - label: 'Percentage', + label: 'General Survey', data: [ 49.59, 47.97, @@ -737,7 +737,7 @@ export const WhatMeasuresPublic: React.FC = () => { labels, datasets: [ { - label: '', + label: 'General Survey', data: [ 22.87, 13.20, @@ -761,7 +761,7 @@ export const WhatMeasuresPublic: React.FC = () => { }, title: { display: true, - text: '', + text: 'What measures do you think could be taken to raise awareness of cystic fibrosis?', }, }, }; @@ -779,7 +779,7 @@ export const WouldYouDoGeneTherapyPublic: React.FC = () => { labels: ['Yes', 'No', 'Maybe'], datasets: [ { - label: 'Percentage', + label: 'General Survey', data: [ 85.22, 13.04, @@ -793,7 +793,11 @@ export const WouldYouDoGeneTherapyPublic: React.FC = () => { }; const options = { responsive: true, - maintainAspectRatio: false + maintainAspectRatio: false, + title: { + display: true, + text: 'Would you opt for gene therapy yourself?', + }, }; return ( @@ -811,7 +815,7 @@ export const WhatCocernsAboutGeneTherapyPublic: React.FC = () => { labels, datasets: [ { - label: 'Dataset 1', + label: 'General Survey', data: [ 4.57, 14.61, @@ -832,7 +836,7 @@ export const WhatCocernsAboutGeneTherapyPublic: React.FC = () => { }, title: { display: true, - text: 'BarChartOneSet', + text: 'What concerns do you have about gene therapy?', }, }, }; @@ -851,7 +855,7 @@ export const WhatFormMoreInfoPublic: React.FC = () => { labels, datasets: [ { - label: 'Dataset 1', + label: 'General Survey', data: [ 15.74, 16.63, @@ -875,7 +879,7 @@ export const WhatFormMoreInfoPublic: React.FC = () => { }, title: { display: true, - text: 'BarChartOneSet', + text: 'In what form would you like to see more information?', }, }, };