Skip to content

[Bug] line-chart's top/bottom line's width thinner than others #18683

@appleqzw

Description

@appleqzw

Version

4.9.0

Link to Minimal Reproduction

https://codepen.io/appleqzw-the-encoder/pen/ExdzEQv

Steps to Reproduce

view the site https://codepen.io/appleqzw-the-encoder/pen/ExdzEQv

Current Behavior

In this demo,l set xAxis.show:false and yAxis.show:false,then l set grid.top:0 and grid.bottom:0,I found that the width of the top line is thinner than the others, and the bottom line is the same
image
if setgrid.top:4 and grid.bottom:4,then the line width is right,is this a bug?

Expected Behavior

Is there any other way to solve this problem?

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions