javascript - Set fixed height in Flot js -


i use lib plotting. want set fixed height plot. plot's height depends of data displayed inside. how it?

solution is:

you need set width , height of div, otherwise plot library doesn't know how scale graph. can inline this:

<div id="placeholder" style="width:600px;height:300px"></div>


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -