unchartedelixir / uncharted

33 stars 8 forks source link

Configure Bar Chart Aspect Ratio #2

Closed rheubach closed 3 years ago

rheubach commented 3 years ago

The ratio for the bar chart is set on the viewport attribute of the SVG. We need a way to configure that ratio in the elixir chart set up. The bar chart is default at viewBox="0 0 600 400". The 600 value is the width and the 400 value is the height.