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

Class BarChartOptions

src/options.rs:173–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173pub struct BarChartOptions<'a> {
174 /// An object that controls the channel.
175 pub channel: BarChartSeriesOptions<'a>,
176
177 /// An object that controls the x-axis.
178 pub xaxis: BarChartXAxisOptions<'a>,
179
180 /// An object that controls the y-axis.
181 pub yaxis: BarChartYAxisOptions<'a>,
182
183 /// An object that controls the animation.
184 pub animation: AnimationOptions,
185
186 /// The background color of the chart.
187 pub background: Color,
188
189 /// The color list used to render the channel. If there are more channel than
190 /// colors, the colors will be reused.
191 pub colors: Vec<Color>,
192
193 /// An object that controls the legend.
194 pub legend: LegendOptions<'a>,
195
196 /// An object that controls the chart title.
197 pub title: TitleOptions<'a>,
198
199 /// An object that controls the tooltip.
200 pub tooltip: TooltipOptions<'a>,
201}
202
203impl<'a> BaseOption<'a> for BarChartOptions<'a> {
204 fn animation(&self) -> &AnimationOptions {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected