diff --git a/src/chart.rs b/src/chart.rs index 724a650..4688472 100644 --- a/src/chart.rs +++ b/src/chart.rs @@ -273,7 +273,7 @@ impl<'a> Chart<'a> { } /// Generate the SVG for the chart and its components. - fn to_svg(&self) -> Result { + pub fn to_svg(&self) -> Result { let mut group = Group::new() .set("class", "g-chart");