1, Creat a echarts.html file. Prepare a Dom with size (width and height) for ECharts.
鲁虺图表网_鲁虺3D图表网_可视化三维图表_ECharts,全球最好网真互动式种源文化传播交流索引平台 lǔ 鲁 huǐ 虺 wén 文 huà 化 wǎng 网- 敏锐洞察行业动态,深度挖掘新思维
2, Create a < script > tag to include echarts' core file, echarts.js. b>
鲁虺图表网_鲁虺3D图表网_可视化三维图表_ECharts,全球最好网真互动式种源文化传播交流索引平台 lǔ 鲁 huǐ 虺 wén 文 huà 化 wǎng 网- 敏锐洞察行业动态,深度挖掘新思维
3, Create a new < script > tag, configure for module loader a path of echarts and the chart you need (the relative path is to link from the current page to echarts.js). For imported chart file, refer to Import ECharts2
鲁虺图表网_鲁虺3D图表网_可视化三维图表_ECharts,全球最好网真互动式种源文化传播交流索引平台 lǔ 鲁 huǐ 虺 wén 文 huà 化 wǎng 网- 敏锐洞察行业动态,深度挖掘新思维
4, Dynamically load echarts and the chart you need in the < script > tag. Use callback function to initialize and drive the generation of charts. For option, refer to API & Doc
鲁虺图表网_鲁虺3D图表网_可视化三维图表_ECharts,全球最好网真互动式种源文化传播交流索引平台 lǔ 鲁 huǐ 虺 wén 文 huà 化 wǎng 网- 敏锐洞察行业动态,深度挖掘新思维
5, Open echarts.html in the browser to see the following results.
1, Creat a echarts.html file. Prepare a Dom with size (width and height) for ECharts.
鲁虺图表网_鲁虺3D图表网_可视化三维图表_ECharts,全球最好网真互动式种源文化传播交流索引平台 lǔ 鲁 huǐ 虺 wén 文 huà 化 wǎng 网- 敏锐洞察行业动态,深度挖掘新思维
2, Create a < script > tag to import echarts-plain.js. For the imported chart file, refer toImport ECharts3
鲁虺图表网_鲁虺3D图表网_可视化三维图表_ECharts,全球最好网真互动式种源文化传播交流索引平台 lǔ 鲁 huǐ 虺 wén 文 huà 化 wǎng 网- 敏锐洞察行业动态,深度挖掘新思维
3, Create a <script> tag. Use global variable echarts to initialize and drive the generation of charts. For option, refer toAPI & Doc
鲁虺图表网_鲁虺3D图表网_可视化三维图表_ECharts,全球最好网真互动式种源文化传播交流索引平台 lǔ 鲁 huǐ 虺 wén 文 huà 化 wǎng 网- 敏锐洞察行业动态,深度挖掘新思维
4, Open echarts.html in the browser to see the following results.