|
|
|
@ -18,14 +18,14 @@ |
|
|
|
|
<!-- 游客偏好 --> |
|
|
|
|
<view class="v-card-item"><view class="v-card-box"> |
|
|
|
|
<common-title :title="'游客偏好'" ></common-title> |
|
|
|
|
<view class="charts-box-pie"> |
|
|
|
|
<view class="charts-box-pie-max"> |
|
|
|
|
<qiun-data-charts :chartData="chartData3" :opts="chartOpts3" type="pie" /> |
|
|
|
|
</view> |
|
|
|
|
</view></view> |
|
|
|
|
<!-- 职业占比 --> |
|
|
|
|
<view class="v-card-item"><view class="v-card-box"> |
|
|
|
|
<common-title :title="'职业占比'" ></common-title> |
|
|
|
|
<view class="charts-box-pie"> |
|
|
|
|
<view class="charts-box-pie-max"> |
|
|
|
|
<qiun-data-charts :chartData="chartData4" :opts="chartOpts4" type="pie" /> |
|
|
|
|
</view> |
|
|
|
|
</view></view> |
|
|
|
@ -270,8 +270,8 @@ import {getTouristsData,getSexScaleData,getTouristsPreferencesData,getCareerScal |
|
|
|
|
padding: [5,5,5,5], |
|
|
|
|
enableScroll: false, |
|
|
|
|
legend: { |
|
|
|
|
show: false, |
|
|
|
|
position: "right", |
|
|
|
|
show: true, |
|
|
|
|
position: "bottom", |
|
|
|
|
lineHeight: 25 |
|
|
|
|
}, |
|
|
|
|
extra: { |
|
|
|
@ -302,10 +302,10 @@ import {getTouristsData,getSexScaleData,getTouristsPreferencesData,getCareerScal |
|
|
|
|
dataLabel:false, |
|
|
|
|
color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"], |
|
|
|
|
padding: [5,5,5,5], |
|
|
|
|
enableScroll: false, |
|
|
|
|
enableScroll: true, |
|
|
|
|
legend: { |
|
|
|
|
show: false, |
|
|
|
|
position: "right", |
|
|
|
|
show: true, |
|
|
|
|
position: "bottom", |
|
|
|
|
lineHeight: 25 |
|
|
|
|
}, |
|
|
|
|
extra: { |
|
|
|
@ -456,4 +456,9 @@ import {getTouristsData,getSexScaleData,getTouristsPreferencesData,getCareerScal |
|
|
|
|
height: 430rpx; |
|
|
|
|
margin: 20rpx auto; |
|
|
|
|
} |
|
|
|
|
.charts-box-pie-max{ |
|
|
|
|
width: 80%; |
|
|
|
|
height: 630rpx; |
|
|
|
|
margin: 20rpx auto; |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|