Width of the doughnut graph is not reducing.. how to reduce it
graphData :{
datasets:[
{
label : 'Customer Expense Analysis',
data : [50,20],
backgroundColor: [' #ffeb00','#a2a2a2'],
hoverBackgroundColor:['#ffeb00','#a2a2a2'],
labels: ["Free Parking Slot", "Total Parking Slot"],
borderColor:'#363A42',
boredrAlign: 'center',
borderWidth: 1,
cutoutPercentage:0
}
]
},
<Doughnut
data= {this.state.graphData}
options={{
title: {
display: this.props.displayTitle,
fontSize: 40
},
maintainAspectRatio: true,
legend: {
display: true,
position: "left",
}
}}
/>
border width increased but the distance between two data in the graph width is increased what to do???