File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,10 @@ const organizationTotalSwipeFormatter = (value: number, name: string) => (
121121 [ value . toLocaleString ( ) , organizationNameFormatter ( name ) ]
122122) ;
123123
124+ const missionTypeTotalSwipeFormatter = ( value : number , name : string ) => (
125+ [ value . toLocaleString ( ) , name ]
126+ ) ;
127+
124128// Timeseries by week day
125129
126130interface Day {
@@ -710,7 +714,9 @@ function StatsBoard(props: Props) {
710714 { sortedProjectSwipeType . length > 0 ? (
711715 < ResponsiveContainer >
712716 < PieChart >
713- < Tooltip />
717+ < Tooltip
718+ formatter = { missionTypeTotalSwipeFormatter }
719+ />
714720 < Legend
715721 align = { documentWidth <= CHART_BREAKPOINT ? 'center' : 'right' }
716722 layout = { documentWidth <= CHART_BREAKPOINT ? 'horizontal' : 'vertical' }
You can’t perform that action at this time.
0 commit comments