This commit is contained in:
parent
698ebbdf7e
commit
084c97c3ef
|
@ -13,7 +13,8 @@ $(function(){
|
||||||
var myColor = ['#1089E7', '#F57474', '#56D0E3', '#F8B448', '#8B78F6'];
|
var myColor = ['#1089E7', '#F57474', '#56D0E3', '#F8B448', '#8B78F6'];
|
||||||
|
|
||||||
var histogramChart1 = echarts.init(document.getElementById('histogramChart1'));
|
var histogramChart1 = echarts.init(document.getElementById('histogramChart1'));
|
||||||
histogramChart1.setOption({
|
if(histogramChart1){
|
||||||
|
histogramChart1.setOption({
|
||||||
|
|
||||||
color:['#5bc0de'],
|
color:['#5bc0de'],
|
||||||
grid:{
|
grid:{
|
||||||
|
@ -75,6 +76,8 @@ $(function(){
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//主要症状
|
//主要症状
|
||||||
var histogramChart2 = echarts.init(document.getElementById('histogramChart2'));
|
var histogramChart2 = echarts.init(document.getElementById('histogramChart2'));
|
||||||
|
@ -141,7 +144,8 @@ $(function(){
|
||||||
|
|
||||||
//传染病发病趋势
|
//传染病发病趋势
|
||||||
var lineChart1 = echarts.init(document.getElementById('lineChart1'));
|
var lineChart1 = echarts.init(document.getElementById('lineChart1'));
|
||||||
lineChart1.setOption({
|
if(lineChart1){
|
||||||
|
lineChart1.setOption({
|
||||||
title: {
|
title: {
|
||||||
text: '访问趋势',
|
text: '访问趋势',
|
||||||
textStyle:{
|
textStyle:{
|
||||||
|
@ -219,6 +223,8 @@ $(function(){
|
||||||
]
|
]
|
||||||
|
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//TOP10销量趋势
|
//TOP10销量趋势
|
||||||
var histogramChart3_names = [];
|
var histogramChart3_names = [];
|
||||||
|
|
Loading…
Reference in New Issue