页面树结构
转至元数据结尾
转至元数据起始

正在查看旧版本。 查看 当前版本.

与当前比较 查看页面历史

« 前一个 版本 4 下一个 »

(本文档仅供参考)

问题1:

油量图表盘刻度是否可以设置为百分比格式:


解决方案:

可使用如下扩展属性设置:

{
"series": [{
"axisLabel": {
"formatter": "function(value){ return value*100+'%'}"
}
}]
}


问题2:

想要实现下面的效果,中间的需要加百分比,鼠标提示也需要加百分比



{
"series": [{
//中间的显示加百分比
"detail": {
"formatter": "{value}%"
},
//指标轴里加百分比
"axisLabel": {
"formatter": "function(value){ return value+'%'}"
}
}],
//鼠标提示框
"tooltip": {
"backgroundColor": "#87cefa",
"formatter": "{b}<br>{c}%"
}
}

Viewtracker License Missing

There is a problem with the license of the Viewtracker addon. Please check if you have a valid license.

授权码细节

  • 无标签