Flot Chart Y axis Position
I am using Flot for graphing. I put this chart in a div, and when I resize the div, however, i found that the labels of YAxis don't m开发者_JAVA技巧ove accordingly, and they just stay at the inital positions. labels for XAxis are ok. I am wondering how could this happen? do I need to set up additional parameters? Thanks!
Make sure you are using the resize plugin:
<script language="javascript" type="text/javascript" src="jquery.flot.resize.js"></script>
//do plotting as normal
If you are already using the resize plugin, something more fundamental is probably wrong... It might be useful to see more code in that case.
精彩评论