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

Class LineChartXAxisOptions

src/options.rs:490–512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490pub struct LineChartXAxisOptions<'a> {
491 /// The color of the horizontal grid lines.
492 pub grid_line_color: Color,
493
494 /// The width of the horizontal grid lines.
495 pub grid_line_width: f64,
496
497 /// The color of the axis itself.
498 pub line_color: Color,
499
500 /// The width of the axis itself.
501 pub line_width: f64,
502
503 /// An object that controls the axis labels.
504 pub labels: LineChartXAxisLabelsOptions<'a>,
505
506 /// The position of the axis relative to the chart area.
507 /// Supported values: "bottom".
508 pub position: Position,
509
510 /// An object that controls the axis title.
511 pub title: TitleOption<'a>,
512}
513
514pub struct LineChartYAxisLabelsOptions<'a> {
515 /// (num value) -> String - A function that formats the labels.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected