Skip to content

Chart ​

Themed frame for any [Unovis](https://unovis.dev) chart

The frame around a chart from your charting library — title, description, legend, footer — in the system's type and series colours. The plot itself is yours.

Basic
Viewsper episode, two seasons
  • Season 1
  • Season 2
Bars
Sales
  • BD
  • DVD
  • It is a figure captioned by title and description. Say the chart's point in the description ("Views doubled after episode 3"), and give the numbers somewhere as text or a Table: a picture of data can't be read aloud.
  • legend lists series in --bless-color-chart-1..5 order; those colours are at least 3:1 on the background in both themes.

Usage ​

ts
import { BlessChart } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
titlestring—
descriptionstring—
heightstring"240px"
legendstring[]—series names for the built-in legend, in palette order

Slots

NameScopeDescription
header—
default—
legend—
footer—

Released under the MIT License. Character names and artwork belong to their owners.