@@ -139,7 +139,9 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
139
139
minWidth : 160 ,
140
140
height : 30 ,
141
141
} ) ) ;
142
-
142
+ {
143
+ /* StyledSelect to use for MUI select components to maintain consistent styling for all select components*/
144
+ }
143
145
const StyledSelect = styled ( Select ) ( {
144
146
// applies the object to customize the style of the 'Select' component
145
147
minWidth : 160 ,
@@ -219,6 +221,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
219
221
< div >
220
222
< div className = 'series-options-container' >
221
223
< div className = 'dropdown-and-delete-series-container' >
224
+ { /*'Clear Series' MUI button that clears any saved series*/ }
222
225
< Button
223
226
variant = 'contained'
224
227
sx = { { p : 2 , color : 'white' } }
@@ -240,17 +243,9 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
240
243
>
241
244
{ buttonLoad ? 'Deleted' : 'Clear Series' }
242
245
</ Button >
243
- { /* <h4 className='compare-series-box' style={{ padding: '0 1rem' }}>
244
- Compare Series:{' '}
245
- </h4> */ }
246
+ { /* Mui 'Compare Series Dropdown Starts here */ }
246
247
< StyledFormControl // MUI styled 'FormControl' component
247
248
variant = 'filled'
248
- // style={{ color: 'white' }}
249
- // size='medium'
250
- // id='selectSeries'
251
- // variant='outlined'
252
- // label='compares series'
253
- // sx={{ backgroundColor: theme.palette.primary.main }}
254
249
>
255
250
< InputLabel
256
251
id = 'simple-select-outlined-label'
@@ -279,6 +274,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
279
274
) }
280
275
</ StyledSelect >
281
276
</ StyledFormControl >
277
+ { /* Mui 'Compare Series Dropdown ENDS here */ }
282
278
283
279
{ /*==============================================================================================================================*/ }
284
280
{ /*commented the below portion out, as bargraphComparisonActions.tsx is not currently functional, can re implement later on */ }
0 commit comments