File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,12 +105,12 @@ const BarGraph = props => {
105
105
min = { 'outer min' }
106
106
max = { 'first if' }
107
107
// x={100}
108
- x = { xMax / ( Object . keys ( data . barStack [ 0 ] ) . length ) - 2 }
108
+ x = { xMax / ( Object . keys ( data . barStack [ 0 ] ) . length ) }
109
109
y = { yMax - value }
110
110
height = { value }
111
111
key = { key }
112
112
width = { barWidth }
113
- fill = { rgb [ Math . floor ( Math . random ( ) * 5 ) ] }
113
+ fill = { '#ffffb3' }
114
114
onMouseLeave = { ( ) => {
115
115
dispatch (
116
116
onHoverExit ( data . componentData [ key ] . rtid ) ,
@@ -145,7 +145,7 @@ const BarGraph = props => {
145
145
height = { value * 20 }
146
146
key = { key }
147
147
width = { barWidth }
148
- fill = { rgb [ Math . floor ( Math . random ( ) * 5 ) ] }
148
+ fill = { '#ffffb3' }
149
149
onMouseLeave = { ( ) => {
150
150
dispatch (
151
151
onHoverExit ( data . componentData [ key ] . rtid ) ,
You can’t perform that action at this time.
0 commit comments