统计修改
This commit is contained in:
@@ -239,6 +239,7 @@ Page({
|
||||
{
|
||||
name: 'Access From',
|
||||
type: 'pie',
|
||||
bottom:'12%',
|
||||
radius: ['45%', '65%'],
|
||||
labelLine: {
|
||||
fontSize:5,
|
||||
@@ -304,13 +305,13 @@ Page({
|
||||
name: 'Access From',
|
||||
type: 'pie',
|
||||
bottom:'12%',
|
||||
radius: ['40%', '70%'],
|
||||
avoidLabelOverlap: false,
|
||||
itemStyle: {
|
||||
borderRadius: 10,
|
||||
borderColor: '#fff',
|
||||
borderWidth: 2
|
||||
},
|
||||
radius: '70%',
|
||||
// avoidLabelOverlap: false,
|
||||
// itemStyle: {
|
||||
// borderRadius: 10,
|
||||
// borderColor: '#fff',
|
||||
// borderWidth: 2
|
||||
// },
|
||||
label: {
|
||||
show: false,
|
||||
position: 'center'
|
||||
@@ -377,13 +378,13 @@ Page({
|
||||
name: 'Access From',
|
||||
type: 'pie',
|
||||
bottom:'12%',
|
||||
radius: ['40%', '70%'],
|
||||
avoidLabelOverlap: false,
|
||||
itemStyle: {
|
||||
borderRadius: 10,
|
||||
borderColor: '#fff',
|
||||
borderWidth: 2
|
||||
},
|
||||
radius: '70%',
|
||||
// avoidLabelOverlap: false,
|
||||
// itemStyle: {
|
||||
// borderRadius: 10,
|
||||
// borderColor: '#fff',
|
||||
// borderWidth: 2
|
||||
// },
|
||||
label: {
|
||||
show: false,
|
||||
position: 'center'
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
<view class="font-36">{{Pie1title}}</view>
|
||||
</view>
|
||||
<lcb-listmore isNoData='{{pie1noData}}' noDataMsg='暂无数据'></lcb-listmore>
|
||||
<view class="mt50 mb20 relative height-500 z-index-0" wx:if="{{!pie1noData}}">
|
||||
<view class="absolute wp100 height-500" wx:if="{{showPie1Chart}}">
|
||||
<view class="mt50 mb20 relative height-600 z-index-0" wx:if="{{!pie1noData}}">
|
||||
<view class="absolute wp100 height-600" wx:if="{{showPie1Chart}}">
|
||||
<ec-canvas class="absolute top-0 bottom-0 left-0 right-0" ec="{{ ecPie1 }}"></ec-canvas>
|
||||
</view>
|
||||
<view class="absolute left-0 bottom-0 right-0 text-center font-22 color-888">{{pie1Bottom}}</view>
|
||||
@@ -46,8 +46,8 @@
|
||||
<view class="font-36">{{Pie2title}}</view>
|
||||
</view>
|
||||
<lcb-listmore isNoData='{{pie2noData}}' noDataMsg='暂无数据'></lcb-listmore>
|
||||
<view class="mt50 mb20 relative height-500 z-index-0" wx:if="{{!pie2noData}}">
|
||||
<view class="absolute wp100 height-500" wx:if="{{showPie2Chart}}">
|
||||
<view class="mt50 mb20 relative height-600 z-index-0" wx:if="{{!pie2noData}}">
|
||||
<view class="absolute wp100 height-600" wx:if="{{showPie2Chart}}">
|
||||
<ec-canvas class="absolute top-0 bottom-0 left-0 right-0" ec="{{ ecPie2 }}"></ec-canvas>
|
||||
</view>
|
||||
<view class="absolute left-0 bottom-0 right-0 text-center font-22 color-888" >{{pie2Bottom}}</view>
|
||||
@@ -61,8 +61,8 @@
|
||||
<view class="font-36">{{Pie3title}}</view>
|
||||
</view>
|
||||
<lcb-listmore isNoData='{{pie3noData}}' noDataMsg='暂无数据'></lcb-listmore>
|
||||
<view class="mt50 mb20 relative height-500 z-index-0" wx:if="{{!pie3noData}}">
|
||||
<view class="absolute wp100 height-500" wx:if="{{showPie3Chart}}">
|
||||
<view class="mt50 mb20 relative height-600 z-index-0" wx:if="{{!pie3noData}}">
|
||||
<view class="absolute wp100 height-600" wx:if="{{showPie3Chart}}">
|
||||
<ec-canvas class="absolute top-0 bottom-0 left-0 right-0" ec="{{ ecPie3 }}"></ec-canvas>
|
||||
</view>
|
||||
<view class="absolute left-0 bottom-0 right-0 text-center font-22 color-888" >{{pie3Bottom}}</view>
|
||||
|
||||
@@ -241,7 +241,7 @@ Page({
|
||||
let params = {};
|
||||
params['city_id'] = this.data.city_id;
|
||||
params['days'] = this.data.daysIndex == 0?'7':'30';
|
||||
_.apiQuery.getAppBizStats_days(params).then(res => {
|
||||
_.apiQuery.getAppStatisticsStats_days(params).then(res => {
|
||||
|
||||
//lineChartData = getLineOption()
|
||||
lineChartData = {
|
||||
|
||||
Reference in New Issue
Block a user