记得上下班打卡 | git大法好,push需谨慎

Commit 1b76a0c3 authored by anjiabin's avatar anjiabin

提交chime社交相关

parent dd8b0d0a
...@@ -60,9 +60,9 @@ ...@@ -60,9 +60,9 @@
</a> </a>
</div> </div>
</div> </div>
<div class="ibox-content"> <div class="ibox-content" style="height:480px">
<div class="echarts" id="provinceDataChart"></div> <div class="echarts" id="provinceDataChart" style = "height:400px"></div>
</div> </div>
</div> </div>
</div> </div>
...@@ -90,9 +90,9 @@ ...@@ -90,9 +90,9 @@
</a> </a>
</div> </div>
</div> </div>
<div class="ibox-content"> <div class="ibox-content" style="height:480px">
<div class="echarts" id="cityDataChart"></div> <div class="echarts" id="cityDataChart" style="height:400px"></div>
</div> </div>
</div> </div>
</div> </div>
...@@ -120,9 +120,9 @@ ...@@ -120,9 +120,9 @@
</a> </a>
</div> </div>
</div> </div>
<div class="ibox-content"> <div class="ibox-content" style="height:480px">
<div class="echarts" id="ageDataChart"></div> <div class="echarts" id="ageDataChart" style="height:400px"></div>
</div> </div>
</div> </div>
</div> </div>
...@@ -248,10 +248,10 @@ ...@@ -248,10 +248,10 @@
var barChart = echarts.init(document.getElementById("provinceDataChart")); var barChart = echarts.init(document.getElementById("provinceDataChart"));
var baroption = { var baroption = {
title : { // title : {
text: '按省份统计购票数量', // text: '按省份统计购票数量',
x:'center' // x:'center'
}, // },
toolbox: { //可视化的工具箱 toolbox: { //可视化的工具箱
show: true, show: true,
feature: { feature: {
...@@ -281,14 +281,22 @@ ...@@ -281,14 +281,22 @@
grid:{ grid:{
x:30, x:30,
x2:40, x2:40,
y2:24 y2:100,
height: 1200
}, },
calculable : true, calculable : true,
xAxis : [ xAxis : [
{ {
type : 'category', type : 'category',
// data : ['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'] // data : ['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月']
data : name data : name,
axisLabel:{
formatter:function(value){
return value.split("").join("\n");
}
// interval: 0,
// rotate: 30
}
} }
], ],
yAxis : [ yAxis : [
...@@ -356,11 +364,11 @@ ...@@ -356,11 +364,11 @@
var barChart = echarts.init(document.getElementById("cityDataChart")); var barChart = echarts.init(document.getElementById("cityDataChart"));
var baroption = { var baroption = {
title : { // title : {
text: '按城市统计购票数量', // text: '按城市统计购票数量',
x:'center' // x:'center'
//
}, // },
toolbox: { //可视化的工具箱 toolbox: { //可视化的工具箱
show: true, show: true,
feature: { feature: {
...@@ -390,14 +398,21 @@ ...@@ -390,14 +398,21 @@
grid:{ grid:{
x:30, x:30,
x2:40, x2:40,
y2:24 y2:100
}, },
calculable : true, calculable : true,
xAxis : [ xAxis : [
{ {
type : 'category', type : 'category',
// data : ['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'] // data : ['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月']
data : name data : name,
axisLabel:{
formatter:function(value){
return value.split("").join("\n");
}
// interval: 0,
// rotate: 30
}
} }
], ],
yAxis : [ yAxis : [
...@@ -466,10 +481,10 @@ ...@@ -466,10 +481,10 @@
var barChart = echarts.init(document.getElementById("ageDataChart")); var barChart = echarts.init(document.getElementById("ageDataChart"));
var baroption = { var baroption = {
title : { // title : {
text: '按年龄统计购票数量', // text: '按年龄统计购票数量',
x:'center' // x:'center'
}, // },
toolbox: { //可视化的工具箱 toolbox: { //可视化的工具箱
show: true, show: true,
feature: { feature: {
...@@ -591,11 +606,11 @@ ...@@ -591,11 +606,11 @@
var pieChart = echarts.init(document.getElementById("sexDataChart")); var pieChart = echarts.init(document.getElementById("sexDataChart"));
var pieoption = { var pieoption = {
title : { // title : {
text: '按性别统计购票数量', // text: '按性别统计购票数量',
// subtext: '纯属虚构', // // subtext: '纯属虚构',
x:'center' // x:'center'
}, // },
toolbox: { //可视化的工具箱 toolbox: { //可视化的工具箱
show: true, show: true,
feature: { feature: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment