Merge pull request 'fix:放大饼图;' (#419) from yangws into main
Reviewed-on: #419
This commit is contained in:
commit
f3f3ada1ed
|
@ -57,7 +57,7 @@ function initChart() {
|
||||||
series: [{
|
series: [{
|
||||||
name: '数据',
|
name: '数据',
|
||||||
type: 'pie',
|
type: 'pie',
|
||||||
radius: '50%', // 设置饼图的半径为实心
|
radius: '90%', // 设置饼图的半径为实心
|
||||||
data: filteredData.map(item => ({
|
data: filteredData.map(item => ({
|
||||||
name: item.name,
|
name: item.name,
|
||||||
value: item.value,
|
value: item.value,
|
||||||
|
|
Loading…
Reference in New Issue