docs(widgets): update values in chart example (#1558)

better stonks
This commit is contained in:
Orhun Parmaksız
2024-12-07 18:20:49 +03:00
committed by GitHub
parent e411d9ec3e
commit 93ad6b828c

View File

@@ -66,12 +66,14 @@ pub fn render_chart(frame: &mut Frame, area: Rect) {
.style(Color::Blue)
.data(&[
(0.0, 1.0),
(1.5, 2.5),
(1.0, 3.0),
(2.0, 0.5),
(3.0, 2.0),
(4.5, 4.5),
(6.0, 4.0),
(7.5, 6.5),
(9.0, 7.5),
(4.0, 0.8),
(5.0, 4.0),
(6.0, 1.0),
(7.0, 6.0),
(8.0, 3.0),
(10.0, 10.0),
]);