We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13747d2 commit 72b3e40Copy full SHA for 72b3e40
README.md
@@ -39,13 +39,13 @@ plotters="0.3"
39
40
First, import `Chart` and `ChartWidget`:
41
42
-```rust
+```rust,ignore
43
use plotters_iced::{Chart, ChartWidget, DrawingBackend, ChartBuilder};
44
```
45
46
Then, derive `Chart` trait and build your chart, and let `plotters-iced` takes care the rest:
47
48
49
struct MyChart;
50
impl Chart<Message> for MyChart {
51
type State = ();
@@ -57,7 +57,7 @@ impl Chart<Message> for MyChart {
57
58
Finally, render your chart view:
59
60
61
impl MyChart {
62
fn view(&mut self)->Element<Message> {
63
ChartWidget::new(self)
0 commit comments