@@ -26,7 +26,9 @@ const margin = {
26
26
bottom : 0 ,
27
27
left : 50 ,
28
28
} ;
29
- const axisColor = '#F00008' ;
29
+ const axisColor = '#161617' ;
30
+ const axisTickLabelColor = '#363638' ;
31
+ const axisLabelColor = '#363638' ;
30
32
const background = '#242529' ;
31
33
const tooltipStyles = {
32
34
...defaultStyles ,
@@ -260,42 +262,44 @@ const BarGraph = (props: BarGraphProps): JSX.Element => {
260
262
</ BarStack >
261
263
</ Group >
262
264
< AxisLeft
265
+ className = "BarGraphAxis"
263
266
top = { margin . top }
264
267
left = { margin . left }
265
268
scale = { renderingScale }
266
269
stroke = { axisColor }
267
270
tickStroke = { axisColor }
268
271
strokeWidth = { 2 }
269
272
tickLabelProps = { ( ) => ( {
270
- fill : 'rgb(231, 231, 231)' ,
273
+ fill : axisTickLabelColor ,
271
274
fontSize : 11 ,
272
275
verticalAnchor : 'middle' ,
273
276
textAnchor : 'end' ,
274
277
} ) }
275
278
/>
276
279
< AxisBottom
280
+ className = "BarGraphAxis"
277
281
top = { yMax + margin . top }
278
282
left = { margin . left }
279
283
scale = { snapshotIdScale }
280
284
stroke = { axisColor }
281
285
tickStroke = { axisColor }
282
286
strokeWidth = { 2 }
283
287
tickLabelProps = { ( ) => ( {
284
- fill : 'rgb(231, 231, 231)' ,
288
+ fill : axisTickLabelColor ,
285
289
fontSize : 11 ,
286
290
textAnchor : 'middle' ,
287
291
} ) }
288
292
/>
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 } >
290
294
Rendering Time (ms)
291
295
</ Text >
292
296
< br />
293
297
{ 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 } >
295
299
Snapshot ID
296
300
</ Text >
297
301
) : (
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 } >
299
303
Components
300
304
</ Text >
301
305
) }
0 commit comments