How can I make my bars in my bar diagram wider? I've tried all kinds of things such as setting the amount of ticks in the X axis, however nothing appears to be working as I expect.
Right now, the bars are really small.
See 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
}
So, you should be able to set barWidth
and be good to go.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.