| 559 | } |
| 560 | |
| 561 | pub 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 | |
| 591 | impl<'a> BaseOption<'a> for LineChartOptions<'a> { |
| 592 | fn animation(&self) -> &AnimationOptions { |
nothing calls this directly
no outgoing calls
no test coverage detected