示例来自于Echarts官网:https://www.echartsjs.com/examples/zh/index.html
解析折线图配值内容
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>折线图</title>
<script src="echarts.min.js"></script>
</head
<body>
<div id="main" style="width=900px;height:600px;"></div>
<script type="text/javascript">
var myChart = echarts.init(document.getElementById('main'));
var option = {
title:{
text:'未来一周气温变化', //大标题
subtext:'虚构' //小标题
},
tooltip:{
//提示框组件
trigger:'axis' // 'axi