Thanks to visit codestin.com
Credit goes to github.com

Skip to content

dv-digital-flop 数字为 0 的时候 数字会不显示 #108

@chen-i

Description

@chen-i

Bug report

出现Bug的组件?

dv-digital-flop

组件配置数据?

控制台错误输出?

期望情况?

实际情况?

其他相关信息

  • DataV版本
    2.9.2
  • 浏览器版本
  • 其他
    刚发现 图表里面的仪表盘也不显示 0

image

series: [ { type: "gauge", startAngle: -Math.PI / 2, endAngle: Math.PI * 1.5, arcLineWidth: 10, data: [ { name: "itemA", value: percent, gradient: ["#03c2fd", "#1ed3e5", "#2fded6"] } ], axisLabel: { show: false }, axisTick: { show: false }, pointer: { show: false }, dataItemStyle: { lineCap: "round" }, details: { show: true, formatter: "{value}%", style: { fill: "#1ed3e5", fontSize: 36 } } } ]

value: percent, percent为0是也不显示数字0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions