ThemeName
A string identifier for a built-in theme. Can be passed to the theme prop of <Chart> as a convenient alternative to providing a full Theme object.
ts
type ThemeName = 'light' | 'dark';| Value | Description |
|---|---|
'light' | Default light theme |
'dark' | Default dark theme |
Usage
tsx
<Chart theme="light" ... />
<Chart theme="dark" ... />