Chart

chart · Content · All components

Chart placeholder: a generic line, bar, area, pie or donut shape, no data.

Chart example

board
  screen custom width=640 height=430
    stack row gap=16
      chart line "line (default)"
      chart bar "bar"
    stack row gap=16
      chart area "area" height=150
      chart pie "pie" height=150
      chart donut "donut" height=150
    text "Charts are placeholders: they show the kind of chart, not data." sm muted

Writing it

Props

Prop Values Notes
kind line, bar, area, pie, donut Default line
title (main text) string
height number Default 180
width number, string Default fills the container width

tsquare 0.9.0 · View this page on GitHub