|
@@ -35,7 +35,7 @@ function getOption() {
|
|
|
const width = api.size([0, 1])[0] * barWidth; // 宽度
|
|
|
const ballRadius = width * 0.6;
|
|
|
return {
|
|
|
- type: 'group',
|
|
|
+ type: 'item',
|
|
|
children: [
|
|
|
{
|
|
|
// 圆形装饰
|
|
@@ -182,7 +182,7 @@ function getOption() {
|
|
|
label: {
|
|
|
normal: {
|
|
|
show: true,
|
|
|
- position: echartData.ydata.length > 0 && echartData.ydata.length <= 1 ? ['-17', '-30'] : ['-16', '-30'],
|
|
|
+ position: echartData.ydata.length > 0 && echartData.ydata.length <= 1 ? ['-17', '-20'] : ['-15', '-20'],
|
|
|
formatter: [' {a|{c}}'].join(','),
|
|
|
rich: {
|
|
|
a: {
|