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

Class LineChartOptions

src/options.rs:561–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559}
560
561pub struct LineChartOptions<'a> {
562 /// An object that controls the channel.
563 pub channel: LineChartSeriesOptions<'a>,
564
565 /// An object that controls the x-axis.
566 pub xaxis: LineChartXAxisOptions<'a>,
567
568 /// An object that controls the y-axis.
569 pub yaxis: LineChartYAxisOptions<'a>,
570
571 /// An object that controls the animation.
572 pub animation: AnimationOptions,
573
574 /// The background color of the chart.
575 pub background: Color,
576
577 /// The color list used to render the channel. If there are more channel than
578 /// colors, the colors will be reused.
579 pub colors: Vec<Color>,
580
581 /// An object that controls the legend.
582 pub legend: LegendOptions<'a>,
583
584 /// An object that controls the chart title.
585 pub title: TitleOptions<'a>,
586
587 /// An object that controls the tooltip.
588 pub tooltip: TooltipOptions<'a>,
589}
590
591impl<'a> BaseOption<'a> for LineChartOptions<'a> {
592 fn animation(&self) -> &AnimationOptions {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected