| 171 | } |
| 172 | |
| 173 | pub struct BarChartOptions<'a> { |
| 174 | /// An object that controls the channel. |
| 175 | pub channel: BarChartSeriesOptions<'a>, |
| 176 | |
| 177 | /// An object that controls the x-axis. |
| 178 | pub xaxis: BarChartXAxisOptions<'a>, |
| 179 | |
| 180 | /// An object that controls the y-axis. |
| 181 | pub yaxis: BarChartYAxisOptions<'a>, |
| 182 | |
| 183 | /// An object that controls the animation. |
| 184 | pub animation: AnimationOptions, |
| 185 | |
| 186 | /// The background color of the chart. |
| 187 | pub background: Color, |
| 188 | |
| 189 | /// The color list used to render the channel. If there are more channel than |
| 190 | /// colors, the colors will be reused. |
| 191 | pub colors: Vec<Color>, |
| 192 | |
| 193 | /// An object that controls the legend. |
| 194 | pub legend: LegendOptions<'a>, |
| 195 | |
| 196 | /// An object that controls the chart title. |
| 197 | pub title: TitleOptions<'a>, |
| 198 | |
| 199 | /// An object that controls the tooltip. |
| 200 | pub tooltip: TooltipOptions<'a>, |
| 201 | } |
| 202 | |
| 203 | impl<'a> BaseOption<'a> for BarChartOptions<'a> { |
| 204 | fn animation(&self) -> &AnimationOptions { |
nothing calls this directly
no outgoing calls
no test coverage detected