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

Copy Markdown View Source

charts.radar (spec/13 §4.11): each series as a closed polygon of chords over the spokes with its translucent volume beneath, rings and spokes as its grid. Copied from the gallery's Examples.Charts.RadarChart (examples/lib/examples/charts/radar_chart.ex).

iex> Macaw.Frame.Charts.Radar.id()
"charts.radar"

Summary

Functions

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

Its fixtures (spec/14 §1): the gallery's two units scored on six attributes.

The fragment: a polar frame of an area and a line over a band angle.

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.11).

Its slot: data, an axis (the spoke), a value and an optional series.

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): the gallery's two units scored on six attributes.

fragment()

@spec fragment() :: map()

The fragment: a polar frame of an area and a line over a band angle.

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.11).

slots()

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

Its slot: data, an axis (the spoke), a value and an optional series.