@@ -33,13 +33,15 @@ const margin: Margin = {
33
33
bottom : 0 ,
34
34
left : 50 ,
35
35
} ;
36
- const axisColor = '#ff0000' ; //#62d6fb
37
- const background = '#242529' ;
36
+ const axisColor = '#161617' ;
37
+ const axisTickLabelColor = '#363638' ;
38
+ const axisLabelColor = '#363638' ;
39
+ const background = '#ffffff' ;
38
40
const tooltipStyles = {
39
41
...defaultStyles ,
40
42
minWidth : 60 ,
41
- backgroundColor : 'rgba(0,0,0,0.9)' ,
42
- color : 'white' ,
43
+ // backgroundColor: 'rgba(0,0,0,0.9)', //defaults to white
44
+ // color: 'white', //defaults to gray
43
45
fontSize : '14px' ,
44
46
lineHeight : '18px' ,
45
47
fontFamily : 'Roboto' ,
@@ -125,10 +127,10 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
125
127
nice : true ,
126
128
} ) ;
127
129
128
- const duplicate = schemeTableau10 . slice ( ) ;
130
+ const LMcolorScale = [ '#a0c1d6' , '#669bbc' , '#105377' , '#003049' , '#55a8ac' , '#3c6e71' , '#1c494b' , '#c1676d' , '#c1121f' , '#780000' ]
129
131
const colorScale = scaleOrdinal < string , string > ( {
130
132
domain : keys , // the domain array will assign each key a different color to make rectangle boxes
131
- range : duplicate , // and use range to set the color scheme each bar
133
+ range : LMcolorScale , // and use range to set the color scheme each bar
132
134
} ) ;
133
135
134
136
// setting max dimensions and scale ranges
@@ -203,9 +205,9 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
203
205
< div className = 'dropdown-and-delete-series-container' >
204
206
{ /*'Clear Series' MUI button that clears any saved series*/ }
205
207
< Button
208
+ //className='delete-button'
206
209
variant = 'contained'
207
210
sx = { { p : 2 , color : 'white' } }
208
- className = 'delete-button'
209
211
onClick = { ( ) => {
210
212
setButtonLoad ( true ) ;
211
213
dispatch ( deleteSeries ( ) ) ;
@@ -225,9 +227,9 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
225
227
< FormControl sx = { { m : 1 , minWidth : 180 } } size = 'small' >
226
228
< InputLabel
227
229
id = 'simple-select-outlined-label'
228
- sx = { { color : 'white ' , lineHeight : 1 , fontWeight : 400 } }
230
+ sx = { { color : '#161617 ' , p : 2 , fontSize : '16px' } }
229
231
>
230
- Compare Series
232
+ COMPARE SERIES
231
233
</ InputLabel >
232
234
< Select
233
235
variant = 'filled'
@@ -239,7 +241,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
239
241
onOpen = { handleOpen }
240
242
onChange = { handleSeriesChange }
241
243
sx = { {
242
- backgroundColor : '#53b6d5 ' ,
244
+ backgroundColor : '#d9d9d9 ' ,
243
245
color : 'white' ,
244
246
height : 34 ,
245
247
fontWeight : 400 ,
@@ -430,7 +432,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
430
432
tickStroke = { axisColor }
431
433
strokeWidth = { 2 }
432
434
tickLabelProps = { ( ) => ( {
433
- fill : 'rgb(231, 231, 231)' ,
435
+ fill : axisTickLabelColor ,
434
436
fontSize : 11 ,
435
437
verticalAnchor : 'middle' ,
436
438
textAnchor : 'end' ,
@@ -444,15 +446,15 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
444
446
tickStroke = { axisColor }
445
447
strokeWidth = { 2 }
446
448
tickLabelProps = { ( ) => ( {
447
- fill : 'rgb(231, 231, 231)' ,
449
+ fill : axisTickLabelColor ,
448
450
fontSize : 11 ,
449
451
textAnchor : 'middle' ,
450
452
} ) }
451
453
/>
452
- < Text x = { - xMax / 2 } y = '15' transform = 'rotate(-90)' fontSize = { 12 } fill = '#FFFFFF' >
454
+ < Text x = { - xMax / 2 } y = '15' transform = 'rotate(-90)' fontSize = { 12 } fill = { axisLabelColor } >
453
455
Rendering Time (ms)
454
456
</ Text >
455
- < Text x = { xMax / 2 } y = { yMax + 65 } fontSize = { 12 } fill = '#FFFFFF' >
457
+ < Text x = { xMax / 2 } y = { yMax + 65 } fontSize = { 12 } fill = { axisLabelColor } >
456
458
Series ID
457
459
</ Text >
458
460
</ svg >
0 commit comments