开发者

How do I put tick labels inside of a line graph in Flot

开发者 https://www.devze.com 2022-12-26 04:28 出处:网络
I essentially want to have the tick labels sitting inside the graph in their own column. Similar to how Campaign Monitor graphs are. But I can\'t find a way t开发者_运维知识库o do this. Is it possible

I essentially want to have the tick labels sitting inside the graph in their own column. Similar to how Campaign Monitor graphs are. But I can't find a way t开发者_运维知识库o do this. Is it possible?


In current versions of flot, the only thing you can control about the ticks is the contents and the label class (all ticks have the class "tickLabel").

I think with those two abilities, you cannot do what you're looking for.

Check out this flot bug for some code modifications that might get you to what you want: http://code.google.com/p/flot/issues/detail?id=191


How is this question different than this one?

jQuery Flot data/axis labels on top of graph

For that one, someone suggests negative labelMargins

0

精彩评论

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