We could use:
chart.props.aspectRatio: .75
In render we could calculate:
settings.height = componentWidth * props.aspectRation
and pass to nvd3 chart for responsive sizing.
Sorry about the psuedocode... I'll try to submit a pull request for this if I have time.
We could use:
chart.props.aspectRatio: .75
In render we could calculate:settings.height = componentWidth * props.aspectRation
and pass to nvd3 chart for responsive sizing.Sorry about the psuedocode... I'll try to submit a pull request for this if I have time.