Bản mẫu:Bar chart/bar

Bách khoa toàn thư mở Wikipedia
300.000
Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

Cách sử dụng[sửa mã nguồn]

{{Bar chart/bar| data | total | width = width | width_units = width_units | color = color }}
  • width is a number which determines the maximum width of the bar
  • width_units are the units associated with the width (em, px, or %). The default is em.
  • data and total are used to determine the width of the bar using data/total to compute a percentage of width.
  • data is also used for the label on each bar.
  • color is used to override the default bar color.