@@ -26,7 +26,9 @@ const margin = {
2626 bottom : 0 ,
2727 left : 50 ,
2828} ;
29- const axisColor = '#F00008' ;
29+ const axisColor = '#161617' ;
30+ const axisTickLabelColor = '#363638' ;
31+ const axisLabelColor = '#363638' ;
3032const background = '#242529' ;
3133const tooltipStyles = {
3234 ...defaultStyles ,
@@ -260,42 +262,44 @@ const BarGraph = (props: BarGraphProps): JSX.Element => {
260262 </ BarStack >
261263 </ Group >
262264 < AxisLeft
265+ className = "BarGraphAxis"
263266 top = { margin . top }
264267 left = { margin . left }
265268 scale = { renderingScale }
266269 stroke = { axisColor }
267270 tickStroke = { axisColor }
268271 strokeWidth = { 2 }
269272 tickLabelProps = { ( ) => ( {
270- fill : 'rgb(231, 231, 231)' ,
273+ fill : axisTickLabelColor ,
271274 fontSize : 11 ,
272275 verticalAnchor : 'middle' ,
273276 textAnchor : 'end' ,
274277 } ) }
275278 />
276279 < AxisBottom
280+ className = "BarGraphAxis"
277281 top = { yMax + margin . top }
278282 left = { margin . left }
279283 scale = { snapshotIdScale }
280284 stroke = { axisColor }
281285 tickStroke = { axisColor }
282286 strokeWidth = { 2 }
283287 tickLabelProps = { ( ) => ( {
284- fill : 'rgb(231, 231, 231)' ,
288+ fill : axisTickLabelColor ,
285289 fontSize : 11 ,
286290 textAnchor : 'middle' ,
287291 } ) }
288292 />
289- < Text x = { - yMax / 2 - 75 } y = '15' transform = 'rotate(-90)' fontSize = { 16 } fill = '#FFFFFF' >
293+ < Text x = { - yMax / 2 - 75 } y = '15' transform = 'rotate(-90)' fontSize = { 16 } fill = { axisLabelColor } >
290294 Rendering Time (ms)
291295 </ Text >
292296 < br />
293297 { snapshot === 'All Snapshots' ? (
294- < Text x = { xMax / 2 + 15 } y = { yMax + 70 } fontSize = { 16 } fill = '#FFFFFF' >
298+ < Text x = { xMax / 2 + 15 } y = { yMax + 70 } fontSize = { 16 } fill = { axisLabelColor } >
295299 Snapshot ID
296300 </ Text >
297301 ) : (
298- < Text x = { xMax / 2 + 15 } y = { yMax + 70 } fontSize = { 16 } fill = '#FFFFFF' >
302+ < Text x = { xMax / 2 + 15 } y = { yMax + 70 } fontSize = { 16 } fill = { axisLabelColor } >
299303 Components
300304 </ Text >
301305 ) }
0 commit comments