Plot

Config

Controlling your novem plots

AI assisted, human approved — novem uses AI to review and keep our documentation up to date.

By default your plot will follow the standard novem style, but that might not fit every situation. To remidy that novem offers an extensive set of options to control your visualisation.

This section explains the available options as well as how to interact with it through our API. If you're using one of our libraries then there might be some helper functions to make these changes.

Structure

As with all other novem interactions, the plot configuration can be modelled as a tree structure of different files, or endpoints, you can modify. This is done by writing a HTTP POST request with the content to the correct URI.

Below is an overview of the available options along with their path and a short description. For more information bout the individual options check out their respective documentation pages.

plot_name                       => Name
...
├── config                      => Configuration options
│   ├── axis                    => The axis grammar (one file)
│   ├── margins                 => Surface margins + panel gutter
│   ├── facets                  => Panel carving (small multiples)
│   ├── labels                  => Per-datapoint annotations (one file)
│   ├── marks                   => Mark styling (one file)
│   ├── colors                  => The ix color instructions (one file)
│   ├── table                   => table specific settings
│   │   └── cell                => Format table cells
│   │       ├── align           => number alignment
│   │       ├── border          => control table borders
│   │       ├── text            => font information (weight, style, color)
│   │       ├── format          => number and text format
│   │       ├── padding         => cell padding
│   │       ├── width           => cell width
│   │       └── merge           => merge cells across cols and rows
│   ├── legend                  =>
│   │   ├── type                => The kind of legend
│   │   ├── position            => Position of the legend
│   │   ├── layout              => Layout, rows, grids, alignment
│   │   ├── margin              => Legend-scoped margins (the m/p pair)
│   │   └── format              => Format of the individual legend item
│   ├── interactive             =>
│   │   ├── format              =>
│   │   └── highlight           =>
│   ├── render                  =>
│   │   ├── template            => Template to render against
│   │   ├── orientation         => Landscape or Portrait orientation
│   │   └── scale               =>
│   ├── projection              => Map projection
│   ├── zoom                    => Named geographic extent
│   ├── position                => Map focus, anchor, bearing, and relative scale
│   ├── caption                 => Caption below chart
│   ├── theme                   =>
│   ├── title                   => Title + optional subtitle (two lines)
│   └── type                    => bar, sbar, gbar etc...
...