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

Class LineChartYAxisOptions

src/options.rs:521–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519 pub style: StyleOption<'a>,
520}
521pub struct LineChartYAxisOptions<'a> {
522 /// The color of the vertical grid lines.
523 pub grid_line_color: Color,
524
525 /// The width of the vertical grid lines.
526 pub grid_line_width: f64,
527
528 /// The color of the axis itself.
529 pub line_color: Color,
530
531 /// The width of the axis itself.
532 pub line_width: f64,
533
534 /// The interval of the tick marks in axis unit. If `null`, this value
535 /// is automatically calculated.
536 pub interval: Option<f64>,
537
538 /// An object that controls the axis labels.
539 pub labels: LineChartYAxisLabelsOptions<'a>,
540
541 /// The desired maximum value on the axis. If set, the calculated value
542 /// is guaranteed to be >= this value.
543 pub max_value: Option<usize>,
544
545 /// The minimum interval. If `null`, this value is automatically
546 /// calculated.
547 pub min_interval: Option<f64>,
548
549 /// The desired minimum value on the axis. If set, the calculated value
550 /// is guaranteed to be <= this value.
551 pub min_value: Option<usize>,
552
553 /// The position of the axis relative to the chart area.
554 /// Supported values: "left".
555 pub position: Position,
556
557 /// An object that controls the axis title.
558 pub title: TitleOption<'a>,
559}
560
561pub struct LineChartOptions<'a> {
562 /// An object that controls the channel.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected