palerdot/react-d3-speedometer

Setting Speedometer width/height with percentages

Opened this issue · 1 comments

I've noticed width & height both take units like px, cm, mm and so on.
I was wondering if it's possible setting percentages instead.
When I used fluidWidth for instance, the Speedometers went haywire.
Thank you.

@michaelwint Can you share a Codesandbox link with what you are trying to achieve? I'm trying to understand the usage and if the parent dimensions is also in percentage with your fluidWidth usage.

Code Sandbox link will be helpful to proceed with this issue.