Skip to content

AreaChart

widgetsdata

AreaChart component

Installation

$ bunx termuijs add area-chart

Copies the source into src/components/area-chart/ and installs @termuijs/core, @termuijs/widgets.

Usage

ts
import { AreaChart } from '@termuijs/widgets'
ts
new AreaChart(width: number, height: number)

API Reference

AreaChart

PropTypeRequiredDescription
widthnumberrequired
heightnumberrequired
#data#area-chart