pub fn chart_png( c: &Chart, width: usize, height: usize, limits: &Limits, ) -> Result<Vec<u8>>
Draw the series over x as a width×height PNG. Error::Empty when no value (or no x) is there to draw.
width
height
Error::Empty