Skip to main content

Setup

1. Load your fonts

Ensure your fonts are loaded via @font-face or a web font service (e.g. Google Fonts).

2. Register fonts with GraphProvider

3. Apply fonts in config

Reference

fontList

Array of font definitions passed to GraphProvider.
string
required
Unique identifier referenced by fontId in the config.
string
required
Display name shown in the font picker UI.
string
required
CSS font-family value with fallbacks (e.g. 'Helvetica Neue', Arial, sans-serif).

appearance.textStyle

object
Font and color for titles and subtitles. Accepts fontId and color.
object
Font and color for axis labels, legends, captions, and annotations. Accepts fontId and color.