Skip to content

Commit 1d41f85

Browse files
committed
Edit README.
1 parent 8f03639 commit 1d41f85

File tree

5 files changed

+1104
-1
lines changed

5 files changed

+1104
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,22 @@ function main() {
8888
```
8989

9090

91+
## Rendering results
92+
93+
### [Bar](https://www.chartjs.org/docs/latest/getting-started/usage.html)
94+
![1](results/1.svg)
95+
96+
### [Donuts](http://www.chartjs.org/samples/latest/charts/pie.html)
97+
![2](results/2.svg)
98+
99+
### [Line](http://www.chartjs.org/samples/latest/charts/line/point-sizes.html)
100+
![3](results/3.svg)
101+
102+
### [Area](http://www.chartjs.org/samples/latest/charts/area/line-stacked.html)
103+
![4](results/4.svg)
104+
105+
91106
## Notes
92107

93-
To import the [red-agate-svg-canvas](https://www.npmjs.com/package/red-agate-svg-canvas), you need to use `babel` + `webpack`.
108+
To import the [red-agate-svg-canvas](https://www.npmjs.com/package/red-agate-svg-canvas), you need to use `babel` + `webpack`.
109+
(We have used the `import` statements for doing the [tree-shaking](https://webpack.js.org/guides/tree-shaking/). The `import` statements in the `.js` not the `.mjs` files cannot import from the vanilla node.js.)

results/1.svg

Lines changed: 166 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)