APACHE ECHARTS
Prerequisites
Installation
npm install echartsDefine Chart Container
$refs method
<div ref="echartsContainer" style="width: 100%; height: 300px;"></div>Element ID method
Access chart container
$refs method
Element ID method
Initialize an ECharts instance
Define and Set the Chart Options
Examples of ECharts Usage
Example 1 : Stacked Line Chart

Example 2: Pie Chart

Example 3: Bar Chart

Last updated