| 910 | } |
| 911 | |
| 912 | pub struct RadarChartOptions<'a> { |
| 913 | // An object that controls the channel. |
| 914 | pub channel: RadarChartSeriesOptions<'a>, |
| 915 | |
| 916 | /// An object that controls the x-axis. |
| 917 | pub xaxis: RadarChartXAxisOptions<'a>, |
| 918 | |
| 919 | /// An object that controls the y-axis. |
| 920 | pub yaxis: RadarChartYAxisOptions<'a>, |
| 921 | |
| 922 | /// An object that controls the animation. |
| 923 | pub animation: AnimationOptions, |
| 924 | |
| 925 | /// The background color of the chart. |
| 926 | pub background_color: Color, |
| 927 | |
| 928 | /// The color list used to render the channel. If there are more channel than |
| 929 | /// colors, the colors will be reused. |
| 930 | pub colors: Vec<Color>, |
| 931 | |
| 932 | /// An object that controls the legend. |
| 933 | pub legend: LegendOptions<'a>, |
| 934 | |
| 935 | /// An object that controls the chart title. |
| 936 | pub title: TitleOptions<'a>, |
| 937 | |
| 938 | /// An object that controls the tooltip. |
| 939 | pub tooltip: TooltipOptions<'a>, |
| 940 | } |
| 941 | |
| 942 | impl<'a> BaseOption<'a> for RadarChartOptions<'a> { |
| 943 | fn animation(&self) -> &AnimationOptions { |
nothing calls this directly
no outgoing calls
no test coverage detected