|
@@ -69,7 +69,7 @@
|
|
var option = {
|
|
var option = {
|
|
backgroundColor: '#2c343c',
|
|
backgroundColor: '#2c343c',
|
|
title: {
|
|
title: {
|
|
- text: '育肥出栏比例饼状图',
|
|
|
|
|
|
+ text: '认养比例饼状图',
|
|
left: 'center',
|
|
left: 'center',
|
|
top: 20,
|
|
top: 20,
|
|
textStyle: {
|
|
textStyle: {
|
|
@@ -95,8 +95,8 @@
|
|
radius: '65%',
|
|
radius: '65%',
|
|
center: ['50%', '55%'],
|
|
center: ['50%', '55%'],
|
|
data: [
|
|
data: [
|
|
- { value: this.proportion['inFenct'], name: '育肥' },
|
|
|
|
- { value: this.proportion['outFenct'], name: '出栏' },
|
|
|
|
|
|
+ { value: this.proportion['notAdopted'], name: '未认养 ' + this.proportion['notAdopted'] + '头 ' + this.proportion['notAdoptedPercent'] },
|
|
|
|
+ { value: this.proportion['adopted'], name: '已认养 ' + this.proportion['adopted'] + '头 ' + this.proportion['adoptedPercent'] },
|
|
// { value: 274, name: '联盟广告' },
|
|
// { value: 274, name: '联盟广告' },
|
|
// { value: 235, name: '视频广告' },
|
|
// { value: 235, name: '视频广告' },
|
|
// { value: 400, name: '搜索引擎' }
|
|
// { value: 400, name: '搜索引擎' }
|