Skip to main content

分組條形圖

預覽圖


基礎條形圖.png分組條形圖.png

設定值


  • 資料源

[{
  country:"label": '巴西'"Mon.",
  population:"type": 18203"series1",
  "value": 2800
}, {
  country:"label": '印尼'"Mon.",
  population:"type": 23489"series2",
  "value": 2260
}, {
  country:"label": '美国'"Tues.",
  population:"type": 29034"series1",
  "value": 1800
}, {
  country:"label": '印度'"Tues.",
  population:"type": 104970"series2",
  "value": 1300
}, {
  country:"label": '中国'"Wed.",
  population:"type": 131744"series1",
  "value": 950
}, {
  "label": "Wed.",
  "type": "series2",
  "value": 900
}, {
  "label": "Thur.",
  "type": "series1",
  "value": 500
}, {
  "label": "Thur.",
  "type": "series2",
  "value": 390
}, {
  "label": "Fri.",
  "type": "series1",
  "value": 170
}, {
  "label": "Fri.",
  "type": "series2",
  "value": 100
}]
  • 內距

40, 60, 60,80, 70

    軸座標 Axis

    value(Y軸
    列表 設定值 欄位 value 啟用 開啟 位置 right
    • 圖 Geom

    柱狀圖( interval )
    列表 設定值
    欄位

    country*populationlabel*value

    類型 柱狀圖
    顏色欄位

    type

    調整欄位 分組 | dodge dodgeRatio

    0.35

    marginRatio 0.5

      圖示 Legend

      列表 設定值 啟用 開啟 欄位 type 位置 排版 水平
      • 極坐標 Coord

      列表 設定值
      類型 直角坐標系
      反轉
      Y 轉置 true