[英]Flot - how do I make my bars wider?
如何使條形圖中的條形變寬? 我已經嘗試過各種方法,例如在X軸上設置刻度數量,但是似乎沒有任何工作像我期望的那樣。
現在,酒吧真的很小。
請參閱Flot API :
Customizing the data series
===========================
series: {
lines, points, bars: {
show: boolean
lineWidth: number
fill: boolean or number
fillColor: null or color/gradient
}
points: {
radius: number
symbol: "circle" or function
}
bars: {
barWidth: number
align: "left" or "center"
horizontal: boolean
}
因此,您應該能夠設置barWidth
並且可以使用。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.