开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜