簡體   English   中英

Flot-如何將欄擴大?

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM