frappe / charts

Simple, responsive, modern SVG Charts with zero dependencies
https://frappe.io/charts
MIT License
14.94k stars 718 forks source link

Include code snippets with examples #250

Open nikrowell opened 4 years ago

nikrowell commented 4 years ago

I really enjoy using this library - lightweight and all charts look great - thanks for all your work!

I would love to see more code examples in addition to the text documentation. Sometimes just starting from an existing example and tweaking is easier than going through the individual chart options.

Looks like the charts in the docs are all rendered as Vue components, so perhaps it wouldn't be too much work to add toggle-able pre blocks with the data and chart options used with each example (similar to Nivo's code and data tabs)?

Cheers!