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

Class BarChartYAxisOptions

src/options.rs:133–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133pub struct BarChartYAxisOptions<'a> {
134 /// The color of the vertical grid lines.
135 pub grid_line_color: Color,
136
137 /// The width of the vertical grid lines.
138 pub grid_line_width: f64,
139
140 /// The color of the axis itself.
141 pub line_color: Color,
142
143 /// The width of the axis itself.
144 pub line_width: f64,
145
146 /// The interval of the tick marks in axis unit. If `null`, this value
147 /// is automatically calculated.
148 pub interval: Option<f64>,
149
150 /// An object that controls the axis labels.
151 pub labels: BarChartYAxisLabelsOptions<'a>,
152
153 /// The desired maximum value on the axis. If set, the calculated value
154 /// is guaranteed to be >= this value.
155 pub max_value: Option<usize>,
156
157 /// The minimum interval. If `null`, this value is automatically
158 /// calculated.
159 pub min_interval: Option<f64>,
160
161 /// The desired minimum value on the axis. If set, the calculated value
162 /// is guaranteed to be <= this value.
163 pub min_value: Option<usize>,
164
165 /// The position of the axis relative to the chart area.
166 /// Supported values: "left".
167 pub position: Position,
168
169 /// An object that controls the axis title.
170 pub title: TitleOption<'a>,
171}
172
173pub struct BarChartOptions<'a> {
174 /// An object that controls the channel.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected