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,7 +105,7 @@ 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 ) - 2 }
109
109
y = { yMax - value }
110
110
height = { value }
111
111
key = { key }
@@ -139,7 +139,7 @@ const BarGraph = props => {
139
139
BarArray . push ( < Bar
140
140
min = { 'outer min' }
141
141
max = { 'else here' }
142
- x = { ( xMax / ( Object . keys ( data . barStack [ 0 ] ) . length - 2 ) ) * ( i + 1 ) }
142
+ x = { ( xMax / ( Object . keys ( data . barStack [ 0 ] ) . length ) ) * ( i + 1 ) }
143
143
// x={(xMax / (Object.keys(data.barStack[0]).length - 2)) + barWidth * i}
144
144
y = { yMax - value * 20 }
145
145
height = { value * 20 }
@@ -385,7 +385,7 @@ const BarGraph = props => {
385
385
)
386
386
: (
387
387
< >
388
- { snapshotIdScale . rangeRound ( [ 0 , xMax + 200 ] ) }
388
+ { snapshotIdScale . rangeRound ( [ 0 , xMax ] ) }
389
389
< Grid
390
390
top = { margin . top }
391
391
left = { margin . left }
You can’t perform that action at this time.
0 commit comments