Edit D:\chineseall_products\chineseall_digitallib\digitallib\digitalLib6\admin\statistics\bookChart.jsp
??<%@ page contentType="text/html;charset=utf-8"%> <%@ taglib prefix="s" uri="/struts-tags"%> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>??????????????</title> <link rel="stylesheet" type="text/css" href="/style/style.css" /> <script language="javascript" type="text/javascript" src="/js/jquery-1.12.4.min.js"></script> <script language="javascript" type="text/javascript" src="/js/datepicker/WdatePicker.js"></script> <script language="javascript" type="text/javascript" src="/js/chart.min.js"></script> <style> body { font-size: 14px; color: #000; background: #fff; } .searchTitle { float: left; height: 20px; line-height: 20px; margin: 5px; } .chartjs-tooltip-key { display: inline-block; width: 10px; height: 10px; } .chartjs-tooltip-value { padding-right: 10px; } </style> </head> <body> <div class="crumbs tl" style="float: left;">?????????????? >>?????????</div> <div class="mainCon"> <b style="float:right ; margin-right:200px; width: 1000px;">?????????</b> <div style="clear: both; height: 2px;"></div> <div style="width: 600px; min-width: 400px; margin: 0 auto; "> <canvas id="online" width="600px" height="400px"></canvas> </div> <div style="float:right ; margin-right:200px; width: 1000px;"> <span class="chartjs-tooltip-key" style="background-color:rgba(151,187,205,1)"></span> <span class="chartjs-tooltip-value">?????</span> </div> </div> <script type="text/javascript"> var onlineData = { labels : ${stPageVo.data.label}, datasets : [ { fillColor : "rgba(0,0,0,0)", strokeColor : "rgba(151,187,205,1)", pointColor : "rgba(151,187,205,1)", pointStrokeColor : "#fff", pointHighlightFill : "#fff", pointHighlightStroke : "rgba(151,187,205,1)", data : ${stPageVo.data.all } } ] } window.onload = function(){ var ctx = document.getElementById("online").getContext("2d"); window.myLine = new Chart(ctx).Line(onlineData, { responsive: false }); } </script> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de