unchartedelixir / uncharted

33 stars 8 forks source link

Configure Line Chart Aspect Ratio #3

Closed rheubach closed 3 years ago

rheubach commented 3 years ago

The ratio for the line 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 line chart is default at viewBox="0 0 700 400". The 700 value is the width and the 400 value is the height.