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

Class BarChartXAxisOptions

src/options.rs:98–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98pub struct BarChartXAxisOptions<'a> {
99 /// An object that controls the crosshair.
100 pub crosshair: Option<BarChartCrosshairOptions>,
101
102 /// The color of the horizontal grid lines.
103 pub grid_line_color: Color,
104
105 /// The width of the horizontal grid lines.
106 pub grid_line_width: f64,
107
108 /// The color of the axis itself.
109 pub line_color: Color,
110
111 /// The width of the axis itself.
112 pub line_width: f64,
113
114 /// An object that controls the axis labels.
115 pub labels: BarChartXAxisLabelsOptions<'a>,
116
117 /// The position of the axis relative to the chart area.
118 /// Supported values: "bottom".
119 pub position: Position,
120
121 /// An object that controls the axis title.
122 pub title: TitleOption<'a>,
123}
124
125pub struct BarChartYAxisLabelsOptions<'a> {
126 /// (num value) -> String - A function that formats the labels.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected