|
|
@ -677,6 +677,7 @@ const ParkingOverview = connect(function mapStateToProps(state) { |
|
|
|
: null; |
|
|
|
seriesItem.itemStyle = itemStyle; |
|
|
|
} |
|
|
|
// pieData[i].value && |
|
|
|
series.push(seriesItem); |
|
|
|
} |
|
|
|
|
|
|
@ -834,9 +835,6 @@ const ParkingOverview = connect(function mapStateToProps(state) { |
|
|
|
if ((height * 25) / series[0].pieData.value > 30) { |
|
|
|
return 30; |
|
|
|
} |
|
|
|
// if (!(height * 25) / series[0].pieData.value > 30) { |
|
|
|
// return 20; |
|
|
|
// } |
|
|
|
return (height * 25) / series[0].pieData.value; |
|
|
|
}; |
|
|
|
|
|
|
|