ECharts

ECharts is a script that can let you insert ECharts into the wiki pages.
== ==
== ==
Using the container that has CSS class echarts to wrap raw ECharts JSON options data.
e.g. ↓ ↓ ↓
<pre>
// ECharts options here
</pre>
...
== Examples ==
Let's try some basic charts from https://echarts.apache.org/examples/en/index.html 
=== Basic Line Chart ===
{{#tag: pre |
/**
 * You can preview the chart online at https://echarts.apache.org/examples/
 * You can use JSON to set options
 */
// Nonstandard JSON is allowed
{
 xAxis: { // You don't need double quotes
 type: 'category',
 data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] // You can even add comments here
 },
 yAxis: {
 type: 'value'
 },
 series: [{
 data: [120, 200, 150, 80, 70, 110, 130],
 type: 'bar'
 }]
}
| class = echarts
| style = width: 100%; height: 400px
}}
=== Bar Chart with Negative Value ===
=== Radar ===
=== Gantt ===
=== Stacked area chart ===
See also template: