MCPcopy Create free account
hub / github.com/angular-rust/ux-charts / LegendOptions

Class LegendOptions

src/options.rs:38–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38pub struct LegendOptions<'a> {
39 /// (String label) -> String - A function that format the labels.
40 pub label_formatter: Option<LabelFormatter>,
41
42 /// The position of the legend relative to the chart area.
43 /// Supported values: "left", "top", "bottom", "right", "none".
44 pub position: Position,
45
46 /// An object that controls the styling of the legend.
47 pub style: StyleOption<'a>,
48}
49
50pub struct TitleOptions<'a> {
51 /// The position of the title relative to the chart area.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected