I've created a chart with Billboard.js (an interface chart library based on D3 v4+). The problem I have is with the thickness of the axis which are made by default pretty thick, I couldn't find any method to make them slimmer.
This is how my chart looks like:
I managed to change their thickness when I right-clicked on them and opened in inspect, the element for the vertical axis is:
<path class="domain" d="M-6,1H0V446H-6"></path>
and for the horizontal axis it is:
<path class="domain" d="M0,6V0H898V6"></path>
I discovered that if I change the 6
s with 2
s in inspect mode to be like:
<path class="domain" d="M-2,1H0V446H-2"></path>
and
<path class="domain" d="M0,2V0H898V2"></path>
, it will look much slimmer as it should be. Is there a way to make this change in the css/less file?