Skip to main content

render_text

Function render_text 

Source
pub fn render_text(spec: &ChartSpec, width: usize) -> String
Expand description

Render spec to a multi-line string. width controls how wide each bar gets (min 10, max ~200 is sensible).