File tree Expand file tree Collapse file tree 4 files changed +17
-2
lines changed
app/src/views/CountryPreparedness Expand file tree Collapse file tree 4 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @ifrc-go/ui " : patch
3+ ---
4+
5+ - PieChart Component
6+
7+ - Added a ` colorSelector ` prop to select color for each pie
8+
9+ - ProgressBar Component
10+ - Introduced a ` color ` prop to customize the progress bar's color
Original file line number Diff line number Diff line change 1+ ---
2+ " go-web-app " : patch
3+ ---
4+
5+ Added color mapping based on PER Area and Rating across all PER charts
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ function PreviousAssessmentCharts(props: Props) {
4949 const ratingTitleMap = listToMap (
5050 ratingOptions ,
5151 ( option ) => option . value ,
52- ( option ) => option . title ,
52+ ( option ) => ` ${ option . title } ${ option . value } ` ,
5353 ) ;
5454
5555 const chartData = useNumericChartData (
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ function RatingByAreaChart(props: Props) {
4444 const ratingTitleMap = listToMap (
4545 ratingOptions ,
4646 ( option ) => option . value ,
47- ( option ) => option . title ,
47+ ( option ) => ` ${ option . title } ${ option . value } ` ,
4848 ) ;
4949
5050 const formAreaMap = listToMap (
You can’t perform that action at this time.
0 commit comments