shiro
shiro

Reputation: 255

how can I frozen, fixed label when scroll down on the jquery flot

Please refer to http://jsfiddle.net/7FfMd/3/

I have x-axis label at the top, when scroll down since the height of the chart is very height, I want to have the label still visible, or fixed, or frozen. How can I do that?

This use jquery and jquery flot.

thanks

Upvotes: 1

Views: 486

Answers (1)

Jason
Jason

Reputation: 11615

Some incarnation of this possibly.

http://jsfiddle.net/7FfMd/5/

I would do this though:

There is a navigation plugin that lets you pan and zoom. I would just make sure your graph is within the bounds of the page (no scroll bars) and let people pan and zoom.

Plugin: http://people.iola.dk/olau/flot/jquery.flot.navigate.js

Plugin Example: http://people.iola.dk/olau/flot/examples/navigate.html

Upvotes: 1

Related Questions