Elm-Vega Configuration Tests

Default configuration

Colour and Font Configuration

Dark background, light axis and serif text

Mark Configuration

Outline marks
Solid scatter and bar, outline stream

Autosize

Autosize to fit with different padding on each side

View Backgrounds

Configuration sets default background to yellow and default plot area background to light brown, overridden with charts two and three charts having their own custom plot area backgrounds.

Axis Configuration

Italic serif axis title and labels flushed to end of axis.
Both axes red
x axis red
y axis red
bottom axis red
left axis red
top axis red
right axis red
band axis red
quantitative axis red
temporal axis red
discrete axis red
point axis red

Title Configuration

Multi-line title and multi-line subtitle with default configurations.
Title and subtitle appearance controlled directly with title parameters.
Title and subtitle appearance via config options (should be identical to previous chart.).

Scale Configuration

Configure x-scale to reverse (right to left).

Axis and Legend Disabling

Remove axis and legends by default.

Source