You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is there a way to make line thickness uniform for line charts? #72
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.
@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.
Activity
ramiy commentedon Sep 14, 2022
It's a knows issue. If you have ideas how to fix that, please share.
jem-n-em commentedon 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 commentedon 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 commentedon Oct 3, 2022
Hi @jem-n-em
As a user, you can change the line thickness using the
--line-sizecustom property.russelporosky commentedon Oct 31, 2022
@jem-n-em The
clip-pathrules in _line.scss are what draw the lines I believe.