Flot Bar Graph Align Bars with X-Axis Labels
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Hello I am trying to plot a bar chart with 31 days data. However when I plot it, the label for each data is not directly in the center below its bar, when i set the bars to align: "center" , the first bar and last bar gets cut into half. Here is the jsfiddle: http://jsfiddle.net/3T6qc/ How do I set it so that i see the full bars and have the labels directly below in the center? Take note that I am using flot as the plotting library. 回答1: Hey Here are some points to be noted about your fiddle. You forgot to use axis label plugin in your