Commit 3d2485d9 authored by ns17's avatar ns17

Updating y axis in graphs

parent eaaa9cf6
......@@ -93,8 +93,7 @@ class BuildStackedBar extends Component {
super(props);
this.state = {
data: null,
height: 380,
width: 400,
height: 380,
};
this.filterArrayByPercent = this.filterArrayByPercent.bind(this);
}
......@@ -134,7 +133,7 @@ class BuildStackedBar extends Component {
<ResponsiveContainer height={this.state.height} width='100%'>
<BarChart
data={newData}
margin={{top: 20, right: 0, left: 20, bottom: 5}}
margin={{top: 20, right: 0, left: 5, bottom: 5}}
>
<XAxis dataKey={dataKey} interval={interval}/>
<YAxis/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment