Commit 8de97e72 authored by leon's avatar leon

fix progress title show or not

parent 2209dfc4
......@@ -87,14 +87,14 @@
endAngle = 45 + gapDegree / 2
break;
}
const axisLineWidth = strokeWidth / 100 * pCanvasWidth
const axisLineWidth = strokeWidth / 100 * pCanvasWidth
this.ec.option = {
...this.elementInfo.option,
tooltip: {
formatter: '{a} <br/>{b} : {c}%'
},
title: [{
show: this.elementInfo.option.showInfo,
show: this.elementInfo.option.progress.showInfo,
text: endVal + '%',
x: 'center',
top: 'middle',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment