Graflume · Alpha

Themes

Themes · graflume-light · graflume-dark · ggplot (ggplot2 4.0.3) · R Base (R 4.6.1) · Matplotlib (Matplotlib 3.11.1) · Editorial · Scientific Classic · Statistical Minimal · Dashboard Dense · Finance Terminal · Observability · Geospatial · Spatial Lab · Presentation · Pictorial · Dark Technical · High Contrast. Set the public identifier in ChartSpec or Quick API options.theme. The same identifier works in Canvas and Spatial.

Theme system · ChartSpec 0.1

Visual system

Themes · graflume-light · graflume-dark · ggplot (ggplot2 4.0.3) · R Base (R 4.6.1) · Matplotlib (Matplotlib 3.11.1) · Editorial · Scientific Classic · Statistical Minimal · Dashboard Dense · Finance Terminal · Observability · Geospatial · Spatial Lab · Presentation · Pictorial · Dark Technical · High Contrast. Set the public identifier in ChartSpec or Quick API options.theme. The same identifier works in Canvas and Spatial.

graflume-light

Graflume Light

Canvas · Spatial

A presentation-oriented default with white surfaces, slate text, and a blue accent.

Theme example area · Graflume Light
const options = { theme: 'graflume-light' };
graflume-dark

Graflume Dark

Canvas · Spatial

A dark surface with contrast-tuned text, grids, and marks.

Theme example area · Graflume Dark
const options = { theme: 'graflume-dark' };
ggplot

ggplot

Canvas · Spatial

Matches ggplot2 4.0.3 theme_gray panels, grids, typography, geom-facing defaults, and colour scales.

Theme example area · ggplot
const options = { theme: 'ggplot' };
r-base

R Base

Canvas · Spatial

Matches R 4.6.1 base graphics, including its white plotting region, black axes and classic palette.

Theme example area · R Base
const options = { theme: 'r-base' };
matplotlib

Matplotlib

Canvas · Spatial

Matches Matplotlib 3.11.1 defaults for axes, typography, lines, markers and the default colour cycle.

Theme example area · Matplotlib
const options = { theme: 'matplotlib' };
editorial

Editorial

Canvas · Spatial

A warm, serif-led profile for reports, articles, and publication-style statistical storytelling.

Theme example area · Editorial
const options = { theme: 'editorial' };
scientific-classic

Scientific Classic

Canvas · Spatial

A restrained paper-like profile with boxed axes, precise strokes, and print-oriented scientific typography.

Theme example area · Scientific Classic
const options = { theme: 'scientific-classic' };
statistical-minimal

Statistical Minimal

Canvas · Spatial

A low-chrome statistical profile that keeps comparison marks and horizontal reference grids prominent.

Theme example area · Statistical Minimal
const options = { theme: 'statistical-minimal' };
dashboard-dense

Dashboard Dense

Canvas · Spatial

A compact information-dense profile for operational dashboards and repeated small panels.

Theme example area · Dashboard Dense
const options = { theme: 'dashboard-dense' };
finance-terminal

Finance Terminal

Canvas · Spatial

A dark monospace market profile with zero motion, crisp square strokes, and gain/loss contrast.

Theme example area · Finance Terminal
const options = { theme: 'finance-terminal' };
observability

Observability

Canvas · Spatial

A dark monitoring profile tuned for time-series grids, alert colours, and long-running operational views.

Theme example area · Observability
const options = { theme: 'observability' };
geospatial

Geospatial

Canvas · Spatial

A light cartographic profile with water, terrain, and geographic categorical colours.

Theme example area · Geospatial
const options = { theme: 'geospatial' };
spatial-lab

Spatial Lab

Canvas · Spatial

A dark high-chroma laboratory profile for WebGL surfaces, volumes, and vector fields.

Theme example area · Spatial Lab
const options = { theme: 'spatial-lab' };
presentation

Presentation

Canvas · Spatial

A large-type, high-clarity profile designed for projected slides and distant viewing.

Theme example area · Presentation
const options = { theme: 'presentation' };
pictorial

Pictorial

Canvas · Spatial

A friendly rounded profile with vivid colours for explanatory and pictorial charts.

Theme example area · Pictorial
const options = { theme: 'pictorial' };
dark-technical

Dark Technical

Canvas · Spatial

A dark monospace engineering profile with dense grids and crisp technical geometry.

Theme example area · Dark Technical
const options = { theme: 'dark-technical' };
high-contrast

High Contrast

Canvas · Spatial

A black, white, and saturated profile with enlarged typography and strokes for maximum visual contrast.

Theme example area · High Contrast
const options = { theme: 'high-contrast' };

Apply a theme

Set the public identifier in ChartSpec or Quick API options.theme. The same identifier works in Canvas and Spatial.

const chart = Graflume.line('#chart', rows, {
  theme: 'graflume-light',
  x: { field: 'month', type: 'ordinal' },
  y: { field: 'sales', type: 'quantitative' }
});

Explicit styles win

Styles set directly on marks, axes, or backgrounds take precedence over the selected theme.

Current boundary

Charts with a direct counterpart in the selected reference system follow that system's defaults. Specialist and Spatial charts without one keep Graflume geometry while inheriting panels, typography, colour scales and chrome.