I have a project where I'm using different types of charts, I have a defined space to display every chart but when I display a multibar horizontal chart it's bigger than the others.
Anyways, I fixed this problem applying CSS transform:scale() to the <svg> element to keep the same size on all the charts, I also applied CSS transform:translate() to one inner <g>, the first to be exact, inside the <svg> element, but the CSS are not being applied to this item. I want to know if there's any workaround or fix for this problem, or the cause of it.
I have a project where I'm using different types of charts, I have a defined space to display every chart but when I display a multibar horizontal chart it's bigger than the others.
Anyways, I fixed this problem applying CSS
transform:scale()
to the<svg>
element to keep the same size on all the charts, I also applied CSStransform:translate()
to one inner<g>
, the first to be exact, inside the<svg>
element, but the CSS are not being applied to this item. I want to know if there's any workaround or fix for this problem, or the cause of it.Here's the example of the less code that I used
to this section of code (already generated by the library)
Thanks in advance.