From: Janelle deMent Date: Thu, 14 Feb 2019 02:12:52 +0000 (-0400) Subject: Add examples of scriptable charts (#6042) X-Git-Tag: v2.8.0-rc.1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58d7891ba23f154d3d799445c7ccb6dda2926468;p=thirdparty%2FChart.js.git Add examples of scriptable charts (#6042) * Add example of scriptable pie chart * Add example of scriptable line chart * Add example of scriptable polar area chart * Add example of scriptable radar chart --- diff --git a/samples/samples.js b/samples/samples.js index b6ffe7626..29ed1ff81 100644 --- a/samples/samples.js +++ b/samples/samples.js @@ -181,6 +181,18 @@ }, { title: 'Bubble Chart', path: 'scriptable/bubble.html' + }, { + title: 'Pie Chart', + path: 'scriptable/pie.html' + }, { + title: 'Line Chart', + path: 'scriptable/line.html' + }, { + title: 'Polar Area Chart', + path: 'scriptable/polar.html' + }, { + title: 'Radar Chart', + path: 'scriptable/radar.html' }] }, { title: 'Advanced', diff --git a/samples/scriptable/line.html b/samples/scriptable/line.html new file mode 100644 index 000000000..eb5a940d7 --- /dev/null +++ b/samples/scriptable/line.html @@ -0,0 +1,115 @@ + + + + + + + Scriptable > Line | Chart.js sample + + + + + +
+
+
+ + + +
+
+ + + + diff --git a/samples/scriptable/pie.html b/samples/scriptable/pie.html new file mode 100644 index 000000000..7ee105b7a --- /dev/null +++ b/samples/scriptable/pie.html @@ -0,0 +1,110 @@ + + + + + + + Scriptable > Pie | Chart.js sample + + + + + +
+
+
+ + + + +
+
+ + + diff --git a/samples/scriptable/polar.html b/samples/scriptable/polar.html new file mode 100644 index 000000000..3eb290b8b --- /dev/null +++ b/samples/scriptable/polar.html @@ -0,0 +1,98 @@ + + + + + + + Scriptable > Polar Area | Chart.js sample + + + + + +
+
+
+ + + +
+
+ + + diff --git a/samples/scriptable/radar.html b/samples/scriptable/radar.html new file mode 100644 index 000000000..8b56c8682 --- /dev/null +++ b/samples/scriptable/radar.html @@ -0,0 +1,112 @@ + + + + + + + Scriptable > Radar | Chart.js sample + + + + + +
+
+
+ + + +
+
+ + + +