Skip to content

G2Plot 折线图y轴自适应,出现多个小数点的问题 #3452

Description

@xujaibo

在使用g2plot折线图的时候,二条折线图,隐藏某一条会出现附件图片1所示问题,即y轴出现多个小数点。我检查了后端返回的数据(附件可以看下图片1接口返回,取得是value的值,全都保留了一位小数点)。只显示另外一条线的话,图表展示没有问题,具体可以查看图片2。我前端的配置在图片3.麻烦帮忙看下是啥原因导致的,我没有找到官方文档的相关配置,谢谢啦。
b
A
config

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