//! Render a chart using the cairo graphics
//! engine.
//!
//! This is a cairo specific implementation of the chart
//! rendering.
/*
/// Render a chart on a specific location on the cairo context.
pub fn render_chart_on_cairo_context(cr: &cairo::Context) {
let renderer = CairoRenderer::new(cr);
}
struct CairoRenderer<'a> {
cr: &'a cairo::Context,
}
impl<'a> CairoRenderer<'a> {
fn new(cr: &'a cairo::Context) -> Self {
Self { cr }
}
fn render_chart(&self) {
self.cr.set_source_rgb(1.0, 1.0, 1.0);
}
}
*/