FVANCOP / ChartNew.js

MIT License
420 stars 143 forks source link

Solution issue 493 and 495 2nd try #497

Closed FVANCOP closed 7 years ago

FVANCOP commented 7 years ago

This is the second try to solve issues #493 and #495.

A new option has also been defined : forcedAspectRatio. Through this option, you can now force the height of the chart as a percentage of the width. This is particulary interesting when the width is defined as a percentage of his container.

See new chapter in wiki documentation : https://github.com/FVANCOP/ChartNew.js/wiki/125_Canvas_dimensions

See also https://github.com/FVANCOP/ChartNew.js/wiki/100_015_ResponsiveChart#forcedaspectratio