aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/web/chartjs.md
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2022-10-30 16:22:06 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2022-10-30 16:22:06 +0100
commit71f731ca0675b19562221233e9a30ffcad0107d0 (patch)
tree08234ece56d4a933571649c24da51d7928a18e7a /src/web/chartjs.md
parentcb9fa4169136275b86dde95310eb288dba5a7da6 (diff)
downloadnotes-71f731ca0675b19562221233e9a30ffcad0107d0.tar.gz
notes-71f731ca0675b19562221233e9a30ffcad0107d0.zip
web: added minimal chartjs example with external tooltip to render custom html
Diffstat (limited to 'src/web/chartjs.md')
-rw-r--r--src/web/chartjs.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/web/chartjs.md b/src/web/chartjs.md
new file mode 100644
index 0000000..36b621d
--- /dev/null
+++ b/src/web/chartjs.md
@@ -0,0 +1,10 @@
+# Chart.js
+
+## Minimal example with *external* tooltips
+
+[Rendered html](src/chartjs-ext-tooltip.html)
+```html
+{{#include src/chartjs-ext-tooltip.html:3: }}
+```
+
+[chartjs]: https://www.chartjs.org