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

Class GaugeChartOptions

src/options.rs:344–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344pub struct GaugeChartOptions<'a> {
345 /// An object that controls the gauge labels.
346 /// Whether to show the labels
347 /// An object that controls the styling of the gauge labels
348 pub labels: Option<StyleOption<'a>>,
349
350 /// An object that controls the animation.
351 pub animation: AnimationOptions,
352
353 /// The background color of the chart.
354 pub background: Color,
355
356 /// The background color of the gauge.
357 pub gauge_background: Color,
358
359 /// The color list used to render the channel. If there are more channel than
360 /// colors, the colors will be reused.
361 pub colors: Vec<Color>,
362
363 /// An object that controls the legend.
364 pub legend: LegendOptions<'a>,
365
366 /// An object that controls the chart title.
367 pub title: TitleOptions<'a>,
368
369 /// An object that controls the tooltip.
370 pub tooltip: TooltipOptions<'a>,
371}
372
373impl<'a> BaseOption<'a> for GaugeChartOptions<'a> {
374 fn animation(&self) -> &AnimationOptions {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected