Macaw.Frame.Charts.Area (macaw_frame v0.1.0)

Copy Markdown View Source

charts.area (spec/13 §4.2): a filled area to the clamped zero baseline under its edge line, per series, both broken at the same gaps. Copied from visualize's Visualize.Chart.Presets.area_chart/1.

iex> Macaw.Frame.Charts.Area.id()
"charts.area"

Summary

Functions

What it draws, for a person and a builder's library.

Its fixtures (spec/14 §1): one series with a gap in its readings.

The fragment: an area layer and its edge line over one slot.

The fragment's id in the catalog store.

What the fragment is: a whole design, or layers placed in one.

Its namespace (spec/13 §2).

Its parameters (spec/13 §3, §4.2).

Its slot: as charts.line's (spec/13 §4.2).

Functions

doc()

@spec doc() :: String.t()

What it draws, for a person and a builder's library.

fixtures()

@spec fixtures() :: [map()]

Its fixtures (spec/14 §1): one series with a gap in its readings.

fragment()

@spec fragment() :: map()

The fragment: an area layer and its edge line over one slot.

id()

@spec id() :: String.t()

The fragment's id in the catalog store.

kind()

@spec kind() :: :design | :layers

What the fragment is: a whole design, or layers placed in one.

namespace()

@spec namespace() :: :charts | :maps | :diagrams

Its namespace (spec/13 §2).

parameters()

@spec parameters() :: [{String.t(), map()}]

Its parameters (spec/13 §3, §4.2).

slots()

@spec slots() :: %{required(String.t()) => map()}

Its slot: as charts.line's (spec/13 §4.2).