| 36 | } |
| 37 | |
| 38 | pub struct LegendOptions<'a> { |
| 39 | /// (String label) -> String - A function that format the labels. |
| 40 | pub label_formatter: Option<LabelFormatter>, |
| 41 | |
| 42 | /// The position of the legend relative to the chart area. |
| 43 | /// Supported values: "left", "top", "bottom", "right", "none". |
| 44 | pub position: Position, |
| 45 | |
| 46 | /// An object that controls the styling of the legend. |
| 47 | pub style: StyleOption<'a>, |
| 48 | } |
| 49 | |
| 50 | pub struct TitleOptions<'a> { |
| 51 | /// The position of the title relative to the chart area. |
nothing calls this directly
no outgoing calls
no test coverage detected