Creates a chart given a container. If the CSS position of [container] is "static", it will be changed to "relative".
(options: O)
| 106 | /// If the CSS position of [container] is "static", it will be changed to |
| 107 | /// "relative". |
| 108 | pub fn new(options: O) -> Self { |
| 109 | Self { |
| 110 | props: Default::default(), |
| 111 | data: Default::default(), |
| 112 | options, |
| 113 | context: None, |
| 114 | channels: RefCell::new(Vec::new()), |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | /// Creates a new color by combining the R, G, B components of [color] with |
| 119 | /// [alpha] from 0 to 1. |
nothing calls this directly
no outgoing calls
no test coverage detected