GimmyHchs / vue-charts

Base on Vue2.0 wrapper for ChartJs. (Deprecated)
MIT License
357 stars 84 forks source link

possible just to set height? #48

Closed mech01nc01 closed 6 years ago

mech01nc01 commented 6 years ago

it seems, that i have to set height AND the width, is it possible just to set the height and let the width take 100%?

mech01nc01 commented 6 years ago

found it:

:option="{maintainAspectRatio:false}" fixed it for me