(&mut self, x_axis: &str, y_axis: &str)
| 164 | } |
| 165 | |
| 166 | pub(super) fn set_axis_references(&mut self, x_axis: &str, y_axis: &str) { |
| 167 | if let Some(obj) = self.data.as_object_mut() { |
| 168 | obj.insert("xaxis".to_string(), json!(x_axis)); |
| 169 | obj.insert("yaxis".to_string(), json!(y_axis)); |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | pub(super) fn set_domain(&mut self, domain_x: [f64; 2], domain_y: [f64; 2]) { |
| 174 | use serde_json::Map; |
no outgoing calls
no test coverage detected