@@ -7,7 +7,7 @@ import { AxisBottom, AxisLeft } from '@visx/axis';
77import { scaleBand , scaleLinear , scaleOrdinal } from '@visx/scale' ;
88import { useTooltip , useTooltipInPortal , defaultStyles } from '@visx/tooltip' ;
99import { Text } from '@visx/text' ;
10- import { schemeSet3 } from 'd3-scale-chromatic' ;
10+ import { schemeSet1 } from 'd3-scale-chromatic' ;
1111import { onHover , onHoverExit , save } from '../../../actions/actions' ;
1212import { useStoreContext } from '../../../store' ;
1313import { snapshot , TooltipData , Margin , BarGraphProps } from '../../../FrontendTypes' ;
@@ -19,14 +19,14 @@ const margin = {
1919 bottom : 0 ,
2020 left : 50 ,
2121} ;
22- const axisColor = '#FF6569 ' ;
22+ const axisColor = '#F00008 ' ;
2323const background = '#242529' ;
2424const tooltipStyles = {
2525 ...defaultStyles ,
2626 minWidth : 60 ,
2727 backgroundColor : 'rgba(0,0,0,0.9)' ,
2828 color : 'white' ,
29- fontSize : '14px ' ,
29+ fontSize : '16px ' ,
3030 lineHeight : '18px' ,
3131 fontFamily : 'Roboto' ,
3232} ;
@@ -75,10 +75,10 @@ const BarGraph = (props: BarGraphProps): JSX.Element => {
7575 domain : [ 0 , data . maxTotalRender ] ,
7676 nice : true ,
7777 } ) ;
78- // Gives each bar on the graph a color using schemeSet3 imported from D3
78+ // Gives each bar on the graph a color using schemeSet1 imported from D3
7979 const colorScale = scaleOrdinal < string > ( {
8080 domain : keys ,
81- range : schemeSet3 ,
81+ range : schemeSet1 ,
8282 } ) ;
8383
8484 // setting max dimensions and scale ranges
@@ -268,16 +268,16 @@ const BarGraph = (props: BarGraphProps): JSX.Element => {
268268 textAnchor : 'middle' ,
269269 } ) }
270270 />
271- < Text x = { - yMax / 2 - 75 } y = '15' transform = 'rotate(-90)' fontSize = { 12 } fill = '#FFFFFF' >
271+ < Text x = { - yMax / 2 - 75 } y = '15' transform = 'rotate(-90)' fontSize = { 16 } fill = '#FFFFFF' >
272272 Rendering Time (ms)
273273 </ Text >
274274 < br />
275275 { snapshot === 'All Snapshots' ? (
276- < Text x = { xMax / 2 + 15 } y = { yMax + 70 } fontSize = { 12 } fill = '#FFFFFF' >
276+ < Text x = { xMax / 2 + 15 } y = { yMax + 70 } fontSize = { 16 } fill = '#FFFFFF' >
277277 Snapshot ID
278278 </ Text >
279279 ) : (
280- < Text x = { xMax / 2 + 15 } y = { yMax + 70 } fontSize = { 12 } fill = '#FFFFFF' >
280+ < Text x = { xMax / 2 + 15 } y = { yMax + 70 } fontSize = { 16 } fill = '#FFFFFF' >
281281 Components
282282 </ Text >
283283 ) }
0 commit comments