Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

仪表盘type:'gauge'数值为小数,axisLabel的formatter文字显示异常 #673

Closed
edisun opened this issue Sep 14, 2014 · 1 comment

Comments

@edisun
Copy link

edisun commented Sep 14, 2014

仪表盘设置
min: 0,
max: 1,
precision: 3,
splitNumber: 10,

axisLabel的设置
axisLabel: {
show: true,
formatter: function(v){
switch (v+''){
case '0.3': return '弱';
case '0.7': return '低';
case '0.8': return '中';
case '1': return '高';
default: return '';
}
},
textStyle: {
color: '#333'
}
},

axisLabel的formatter显示异常,请确认是否为bug,非常感谢

catch

@kener
Copy link
Contributor

kener commented Sep 15, 2014

thx,bug confirm

@kener kener closed this as completed in 7fd206d Sep 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants