Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Is there a way to make line thickness uniform for line charts? #72

Closed
treyholt opened this issue Sep 13, 2022 · 5 comments
Closed

Is there a way to make line thickness uniform for line charts? #72

treyholt opened this issue Sep 13, 2022 · 5 comments

Comments

@treyholt
Copy link

I'm noticing that when there is a stark difference in height - width ratio between table rows, it results in a varied thickness of lines along the line chart. See the picture below for an example of what I mean (notice the first line is thin and tall, and the others are thicker).
Curious if this is a known issue, or if there's a known way to manipulate the css to account for this. Will look into it myself if not.

Screen Shot 2022-09-13 at 2 38 59 PM

@ramiy
Copy link
Collaborator

ramiy commented Sep 14, 2022

It's a knows issue. If you have ideas how to fix that, please share.

@jem-n-em
Copy link

jem-n-em commented Oct 1, 2022

hello, if this issue has not had a PR submitted for it, would you mind me taking a look into this issue?

@jem-n-em
Copy link

jem-n-em commented Oct 3, 2022

@ramiy or @treyholt do any of you have an idea of where to begin looking in the source code? I've been toying around with lines in the Line Chart section of dist/charts.css and inside src/charts/_line.scss and I am not sure what I can change to toy with these lines.

@ramiy
Copy link
Collaborator

ramiy commented Oct 3, 2022

Hi @jem-n-em

As a user, you can change the line thickness using the --line-size custom property.

@russelporosky
Copy link

@jem-n-em The clip-path rules in _line.scss are what draw the lines I believe.

@ChartsCSS ChartsCSS locked and limited conversation to collaborators Jun 29, 2023
@ramiy ramiy converted this issue into discussion #82 Jun 29, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants