简单的东西,直接上代码,不多解释,感觉码字比码代码要累多了《@中国人叔叔-lt》
<!DOCTYPE>
/**
* (C) Copyright 2017-2027, by liting.
* Project Info: liting
*
* @author liting
* Time:2017/12/6 15:42
* @version 1.0
* @see
*/
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>曲线图</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="https://cdn.bootcss.com/echarts/3.6.2/echarts.min.js"></script>
<style>
/*图例的样式*/
.legend-class {
position: absolute;
left: 100px;
top: 0px;
max-width: 1040px;
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
}
.legend-class