Skip to content

显示,当左边坐标不为零,时折线显示bug #7

Description

@xc8888

在chart.js文件里面修改var y = chartOpt.axisBottom - (barHeight * ((item.data[k]) / (maxMark)));
改为下面
var y = chartOpt.axisBottom - (barHeight * ((item.data[k]-最低栏显示值) / (maxMark-最低栏显示值)));
这样显示就正常了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions