Commit 77f14cc1 authored by 郭铭瑶's avatar 郭铭瑶 🤘

调整数据

parent 9cb94197
...@@ -9,18 +9,42 @@ ...@@ -9,18 +9,42 @@
<script> <script>
const mock = [ const mock = [
{disease: '鲤春病毒血症', year: '2019', data1: 32, data2: 55}, {disease: '鲤春病毒血症', year: '2019', data1: 32, data2: 17},
{disease: '鲤春病毒血症', year: '2018', data1: 21, data2: 75}, {disease: '鲤春病毒血症', year: '2018', data1: 27, data2: 16},
{disease: '鲤春病毒血症', year: '2017', data1: 27, data2: 28}, {disease: '鲤春病毒血症', year: '2017', data1: 21, data2: 14},
{disease: '白斑综合征', year: '2019', data1: 85, data2: 175}, {disease: '鲤春病毒血症', year: '2016', data1: 20, data2: 14},
{disease: '白斑综合征', year: '2018', data1: 117, data2: 329}, {disease: '鲤春病毒血症', year: '2015', data1: 18, data2: 10},
{disease: '白斑综合征', year: '2017', data1: 128, data2: 136}, {disease: '鲤春病毒血症', year: '2014', data1: 15, data2: 12},
{disease: '草鱼出血病', year: '2019', data1: 14, data2: 39}, {disease: '鲤春病毒血症', year: '2013', data1: 15, data2: 10},
{disease: '草鱼出血病', year: '2018', data1: 30, data2: 42}, {disease: '鲤春病毒血症', year: '2012', data1: 13, data2: 8},
{disease: '草鱼出血病', year: '2017', data1: 14, data2: 14}, {disease: '鲤春病毒血症', year: '2011', data1: 12, data2: 9},
{disease: '锦鲤疱疹病毒病', year: '2019', data1: 4, data2: 45}, {disease: '白斑综合征', year: '2019', data1: 128, data2: 98},
{disease: '锦鲤疱疹病毒病', year: '2018', data1: 12, data2: 104}, {disease: '白斑综合征', year: '2018', data1: 117, data2: 84},
{disease: '锦鲤疱疹病毒病', year: '2017', data1: 11, data2: 13}, {disease: '白斑综合征', year: '2017', data1: 112, data2: 87},
{disease: '白斑综合征', year: '2016', data1: 106, data2: 78},
{disease: '白斑综合征', year: '2015', data1: 102, data2: 64},
{disease: '白斑综合征', year: '2014', data1: 98, data2: 71},
{disease: '白斑综合征', year: '2013', data1: 95, data2: 76},
{disease: '白斑综合征', year: '2012', data1: 91, data2: 74},
{disease: '白斑综合征', year: '2011', data1: 89, data2: 69},
{disease: '草鱼出血病', year: '2019', data1: 30, data2: 21},
{disease: '草鱼出血病', year: '2018', data1: 28, data2: 18},
{disease: '草鱼出血病', year: '2017', data1: 24, data2: 19},
{disease: '草鱼出血病', year: '2016', data1: 22, data2: 18},
{disease: '草鱼出血病', year: '2015', data1: 21, data2: 16},
{disease: '草鱼出血病', year: '2014', data1: 20, data2: 17},
{disease: '草鱼出血病', year: '2013', data1: 18, data2: 14},
{disease: '草鱼出血病', year: '2012', data1: 18, data2: 15},
{disease: '草鱼出血病', year: '2011', data1: 16, data2: 14},
{disease: '锦鲤疱疹病毒病', year: '2019', data1: 13, data2: 3},
{disease: '锦鲤疱疹病毒病', year: '2018', data1: 12, data2: 5},
{disease: '锦鲤疱疹病毒病', year: '2017', data1: 11, data2: 4},
{disease: '锦鲤疱疹病毒病', year: '2016', data1: 11, data2: 4},
{disease: '锦鲤疱疹病毒病', year: '2015', data1: 10, data2: 3},
{disease: '锦鲤疱疹病毒病', year: '2014', data1: 9, data2: 3},
{disease: '锦鲤疱疹病毒病', year: '2013', data1: 8, data2: 2},
{disease: '锦鲤疱疹病毒病', year: '2012', data1: 8, data2: 1},
{disease: '锦鲤疱疹病毒病', year: '2011', data1: 7, data2: 1},
] ]
export default { export default {
name: 'SpecialMonitoring', name: 'SpecialMonitoring',
...@@ -63,9 +87,10 @@ export default { ...@@ -63,9 +87,10 @@ export default {
textStyle: { textStyle: {
color: '#ccc', color: '#ccc',
}, },
interval: 0,
fontSize: this.fontSize, fontSize: this.fontSize,
}, },
data: ['2017', '2018', '2019'], data: ['2011', '2011', '2013', '2014', '2015', '2016', '2017', '2018', '2019'],
}, },
yAxis: [ yAxis: [
{ {
......
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