Line Chart | Line thickness
Hi,
Is it possible to set the line thickness for the line chart?
Thanks, Farnaz
Sadly, not available now.
I'll consider add new props to line chart in future release. Thank you for your opinion
Hi @oksktank in that case, can I modify the original code to get this working for my case? If so, what do I need to to do? Thanks.
Check line-chart.js line:93 Modifing borderTopWidth will work. But it can not be perfectly matched with point or line..
Hi @oksktank,
I increased the borderTopWidth to 1.5. However, now I see pretty obvious white space between the lines. I noticed the spaces were always there regardless but not as noticeable. I know you are basically drawing a transformed box between a start and end point. Is the gap due to precision issues since the box top right point is not going to match the original end point (end point will be the start point for the next line)? I tried to fix it by adding a fudge factor to the next start point (end point of the previous line) but that didn't work. If you can give me any suggestions on how to fix it, it would be great because I have spent hours on this.
@oksktank is the lineThickness bug solved cause it is not working for me either