Browse Source

坐标轴文本调整成14px

ljj 6 năm trước cách đây
mục cha
commit
96c5dfb123

+ 3 - 0
component/chart/bar-chart.js

@ -25,6 +25,9 @@
            setOption: function (options) {
                if(!options)return
                var options = $.extend({}, defaults, options);
                options.yAxis[0].axisLabel.fontSize='14'
                options.yAxis[1].axisLabel.fontSize='14'
                options.xAxis[0].axisLabel.fontSize='14'
                return options
            }
        },

+ 4 - 2
page/bigData/component/high-incidence-disease.js

@ -152,7 +152,8 @@
							}
						},
						axisLabel: {
							color: '#b5e1fc'
							color: '#b5e1fc',
							fontSize:'14'
						},
						nameTextStyle:{color: '#b5e1fc'}
					}],
@ -170,7 +171,8 @@
							}
						},
						axisLabel: {
							color: '#fff'
							color: '#fff',
							fontSize:'14'
						},
						splitLine: {
							show: false // 不显示坐标轴刻度

+ 6 - 3
page/bigData/component/key-service-population.js

@ -90,7 +90,8 @@
								}
							},
							axisLabel: {
								color: '#b5e1fc'
								color: '#b5e1fc',
								fontSize:'14'
							}
				        }
				    ],
@ -110,7 +111,8 @@
								}
							},
							axisLabel: {
								color: '#b5e1fc'
								color: '#b5e1fc',
								fontSize:'14'
							}
				        },
				        {
@ -128,7 +130,8 @@
								}
							},
							axisLabel: {
								color: '#b5e1fc' // 坐标轴刻度标签文本颜色
								color: '#b5e1fc' ,// 坐标轴刻度标签文本颜色
								fontSize:'14'
							},
							show: true
				        }