Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#4.x.x / About chart area zero line #11601

Closed
janie-0919 opened this issue Nov 30, 2023 · 1 comment
Closed

#4.x.x / About chart area zero line #11601

janie-0919 opened this issue Nov 30, 2023 · 1 comment

Comments

@janie-0919
Copy link

janie-0919 commented Nov 30, 2023

Expected behavior

image

Hello,
How to hide this zero lines? (v.4.4.0)

Current behavior

I can't hide this lines.
There is no explanation about zero line in v4.x.x.
If there is no solution, let me know how to change zero line's color.

Reproducible sample

https://codepen.io/juyeonlee0919/pen/yLZxdPB?editors=1011

Optional extra steps/info to reproduce

No response

Possible solution

No response

Context

No response

chart.js version

4.4.0

Browser name and version

chrome

Link to your project

No response

@LeeLenaleee
Copy link
Collaborator

You need to configure the display in the border prop to false: options.scales[scaleId].border.display = false;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants