Reputation: 862
I am using Flot Jquery library,
I want to set the placeholder div dimension (height and width) in % <div id="placeholderYear" style="width:50%;height:30%;"></div>
But I get always the exception:
"JavaScript runtime error: Invalid dimensions for plot, width = 360, height = 0"
How can I fix it? Thanks,Nk
Upvotes: 1
Views: 4575