摘要: 代码: 1 page.addTargetRequests( 2 page.getHtml().xpath("//div[@class='rinfo']/a/@href").all()); 实战代码: 阅读全文
posted @ 2020-01-31 23:18 博二爷 阅读(515) 评论(0) 推荐(0)
摘要: ajax 代码: $.ajax({ type : "post", async : true, url : "${pageContext.request.contextPath}/charts", type:"POST", data: { "method":"huizhu" }, dataType:" 阅读全文
posted @ 2020-01-31 21:54 博二爷 阅读(267) 评论(0) 推荐(0)
摘要: 含有最简单的页面ajax 申请数据库数据,echarts显示 示例图: 源代码:https://github.com/Smartisa/beijingparse DEMO 阅读全文
posted @ 2020-01-31 21:28 博二爷 阅读(338) 评论(0) 推荐(0)
摘要: 代码: 1 xAxis: [ 2 { 3 type: 'category', 4 data:[], 5 axisLabel: { 6 interval: 0, 7 formatter:function(value) 8 { 9 debugger 10 var ret = "";//拼接加\n返回的类 阅读全文
posted @ 2020-01-31 18:34 博二爷 阅读(930) 评论(0) 推荐(0)
摘要: 代码: 1 xAxis: [ 2 { 3 type: 'category', 4 data:[], 5 axisLabel: { 6 interval:0, 7 rotate:40 8 }, 9 grid: { 10 left: '10%', 11 bottom:'35%' 12 } 13 14 } 阅读全文
posted @ 2020-01-31 18:32 博二爷 阅读(600) 评论(0) 推荐(0)
摘要: 代码: 1 dataZoom : [ 2 3 { 4 5 type: 'slider', 6 7 show: true, 8 9 start: 94, 10 11 end: 100, 12 13 handleSize: 8 14 15 }, 16 17 { 18 19 type: 'inside', 阅读全文
posted @ 2020-01-31 18:29 博二爷 阅读(4905) 评论(0) 推荐(0)