Interface
このインターフェースは、チャートのオプションを設定するために使用します。
| Property | Type | Optional | Default | Description |
|---|---|---|---|---|
| fallbackFont | string | ✅ | フォールバックフォントへの絶対パス。 | |
| font | string | ✅ | Bundled Baloo2-Regular.woff2 | メインのチャートフォントへの絶対パス。 |
| limit | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ✅ | 10 | チャートに含めるユーザー数。 |
| theme | "blue" | "dark" | "discord" | "green" | "light" | "orange" | "pink" | "red" | "space" | "yellow" | ✅ | discord | チャートの色に使うテーマ。 |
| type | "bar" | "doughnut" | "pie" | ✅ | bar | 描画するチャートタイプ。 |
テーマとタイプのプレビュー
- Bar
- Doughnut
- Pie
- Blue
- Dark
- Discord
- Green
- Light
- Orange
- Pink
- Red
- Space
- Yellow










- Blue
- Dark
- Discord
- Green
- Light
- Orange
- Pink
- Red
- Space
- Yellow










- Blue
- Dark
- Discord
- Green
- Light
- Orange
- Pink
- Red
- Space
- Yellow









