Skip to content
On this page

Interface

This interface is used to set the options for the chart.

Property Type Optional Default Description
fallbackFont string ✅ Absolute file path to a fallback font.
font string ✅ Bundled Baloo2-Regular.woff2 Absolute file path to the primary chart font.
limit 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 ✅ 10 The number of users to include in the chart.
theme "blue" | "dark" | "discord" | "green" | "light" | "orange" | "pink" | "red" | "space" | "yellow" ✅ discord Theme used for the chart colors.
type "bar" | "doughnut" | "pie" ✅ bar Chart type to render.

Blue bar chart preview