The same with the area under the line filled.
Signature
pub fn area_chart(values: &[i32]) -> ChartMethods
.range(values: &[i32], lo: i32, hi: i32) -> Self— Scales betweenloandhiinstead of the data's own smallest and largest, so two charts of the same thing agree and a bar chart can start at 0..size(width: u32, height: u32) -> Self—widthxheightpixels (the theme's size by default).
Example
use fusuma::area_chart;
let view = area_chart(&[3, 5, 4, 8, 6]).size(300, 80);
let built = fusuma::doc::built::<(), _>(&view);
assert_eq!(built.nodes(), 1);