|
@ -32,7 +32,7 @@ option = { |
|
|
max: 1, |
|
|
max: 1, |
|
|
axisLabel: { |
|
|
axisLabel: { |
|
|
formatter: function (value, index) { |
|
|
formatter: function (value, index) { |
|
|
return (value*100) + "%"; |
|
|
return (value*100).toFixed(0) + "%"; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -48,7 +48,7 @@ option = { |
|
|
show: true, |
|
|
show: true, |
|
|
position: 'right', |
|
|
position: 'right', |
|
|
formatter: function (params) { |
|
|
formatter: function (params) { |
|
|
return (params.value*100) + "%"; |
|
|
return (params.value*100).toFixed(0) + "%"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|