123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- <!DOCTYPE html>
- <html>
- <head lang="en">
- <meta charset="UTF-8">
- <title></title>
- <link type="text/css" href="${contextPath}/WebPages_170421/css/keji/keji.css" rel="stylesheet">
- <link href="${contextPath}/WebPages_170421/css/bootstrap/bootstrap.min.css" rel="stylesheet">
- <script type="text/javascript" src="${contextPath}/WebPages_170421/${contextPath}/WebPages_170421/jquery.js"></script>
- <script src="${contextPath}/WebPages_170421/js/bootstrap.min.js"></script>
- <script src="${contextPath}/WebPages_170421/js/echarts.js"></script>
- </head>
- <body>
- <div class="head">
- <p class="tit">吉林省科技创新创业资源公共服务平台</p>
- <p class="tit1">科技数据展示</p>
- <p class="tit2"><a href="javascript:history.go(-1);">返回首页</a></p>
- </div>
- <div class="container">
- <div id="main" style="margin-top:20px;">
- <script type="text/javascript">
- // 基于准备好的dom,初始化echarts实例
- var myChart = echarts.init(document.getElementById('main'));
- option = {
- // backgroundColor: new echarts.graphic.RadialGradient(0.3, 0.3, 0.8, [{
- // offset: 0,
- // color: 'red'
- // }, {
- // offset: 1,
- // color: 'green'
- // }]),
- title : {
- text: '合同登记数据展示合同登记数据展示',
- // top:'bottom',
- // left:'center',
- textStyle: {
- color: '#fff',
- fontSize:20
- },
- subtext: '来源:吉林省科技厅',
- // x:'center',
- subtextStyle: {
- color: '#fff'
- }
- },
- color: ['#3398DB'],
- tooltip: {
- trigger: 'axis',
- axisPointer: { // 坐标轴指示器,坐标轴触发有效
- type: 'line' // 默认为直线,可选为:'line' | 'shadow'
- }
- },
- legend: {
- orient: 'vertical',
- left: '800px',
- top:'10',
- // itemGap:25,
- textStyle: {
- color: '#fff'
- },
- // x : 'center',
- // y : '650px',
- data: ['直接访问']
- },
- grid: {
- left: '3%',
- right: '4%',
- bottom: '3%',
- containLabel: true
- },
- xAxis: [{
- type: 'category',
- data: ['绿园区', '宽城区宽', '朝阳区', '二道', 'Fri', 'Sat', 'Sun'],
- axisTick: {
- alignWithLabel: true
- },
- axisLine: {
- lineStyle: {
- color: '#ffffff'
- }
- }
- }],
- yAxis: [{
- type: 'value',
- axisTick: {
- alignWithLabel: true
- },
- axisLine: {
- lineStyle: {
- color: '#ffffff'
- }
- }
- }],
- series: [{
- name: '直接访问',
- type: 'bar',
- // center: ['50%', '90%'],
- barWidth: '60%',
- data: [10, 52, 200, 334, 1290, 330, 220]
- }]
- };
- myChart.setOption(option);
- </script>
- </div>
- </div>
- </body>
- </html>
|