Commit 886d391c authored by 陈明豪's avatar 陈明豪

bug修改

parent a271b182
...@@ -29,7 +29,7 @@ export default { ...@@ -29,7 +29,7 @@ export default {
// borderColor: '#f8911b', // borderColor: '#f8911b',
title: { title: {
text: _this.title, text: _this.title,
left: 'left', left: -5,
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
fontFamily: 'Microsoft YaHei', fontFamily: 'Microsoft YaHei',
......
...@@ -25,17 +25,14 @@ export default { ...@@ -25,17 +25,14 @@ export default {
const mapChart = this.$echarts.init(this.$refs.mapChart) const mapChart = this.$echarts.init(this.$refs.mapChart)
mapChart.setOption({ mapChart.setOption({
backgroundColor: '', // 背景颜色 backgroundColor: '', // 背景颜色
// borderWidth: 4, // 设置外层边框
// borderColor: '#f8911b',
title: { title: {
text: _this.title, text: _this.title,
left: 'left', left: -5,
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
fontFamily: 'Microsoft YaHei', fontFamily: 'Microsoft YaHei',
fontWeight: 'bold', fontWeight: 'bold',
color: '#333333' color: '#333333'
// margin-bottom: 20px,
} }
}, },
// 是视觉映射组件,用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。 // 是视觉映射组件,用于进行『视觉编码』,也就是将数据映射到视觉元素(视觉通道)。
......
...@@ -28,7 +28,7 @@ export default { ...@@ -28,7 +28,7 @@ export default {
const mapChart = this.$echarts.init(this.$refs.columnar) const mapChart = this.$echarts.init(this.$refs.columnar)
mapChart.setOption({ mapChart.setOption({
title: { title: {
left: 'left', left: -5,
text: _this.title, text: _this.title,
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
......
...@@ -25,7 +25,7 @@ export default { ...@@ -25,7 +25,7 @@ export default {
const mapChart = this.$echarts.init(this.$refs.CrosswiseColumnar) const mapChart = this.$echarts.init(this.$refs.CrosswiseColumnar)
mapChart.setOption({ mapChart.setOption({
title: { title: {
left: 'left', left: -5,
text: _this.title, text: _this.title,
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
......
...@@ -25,7 +25,7 @@ export default { ...@@ -25,7 +25,7 @@ export default {
const mapChart = this.$echarts.init(this.$refs.CrosswiseColumnar) const mapChart = this.$echarts.init(this.$refs.CrosswiseColumnar)
mapChart.setOption({ mapChart.setOption({
title: { title: {
left: 'left', left: -5,
text: _this.title, text: _this.title,
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
......
...@@ -36,7 +36,7 @@ export default { ...@@ -36,7 +36,7 @@ export default {
const mapChart = this.$echarts.init(this.$refs.towLine) const mapChart = this.$echarts.init(this.$refs.towLine)
mapChart.setOption({ mapChart.setOption({
title: { title: {
left: 'left', left: -5,
text: '诊治次数统计', text: '诊治次数统计',
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
......
...@@ -28,7 +28,7 @@ export default { ...@@ -28,7 +28,7 @@ export default {
const mapChart = this.$echarts.init(this.$refs.radarMap) const mapChart = this.$echarts.init(this.$refs.radarMap)
mapChart.setOption({ mapChart.setOption({
title: { title: {
left: 'left', left: -5,
text: '医院评级分布', text: '医院评级分布',
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
......
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
const mapChart = this.$echarts.init(this.$refs.radarMap) const mapChart = this.$echarts.init(this.$refs.radarMap)
mapChart.setOption({ mapChart.setOption({
title: { title: {
left: 'left', left: -5,
text: '宠主宠物数量分析', text: '宠主宠物数量分析',
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
......
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
const mapChart = this.$echarts.init(this.$refs.radarMap) const mapChart = this.$echarts.init(this.$refs.radarMap)
mapChart.setOption({ mapChart.setOption({
title: { title: {
left: 'left', left: -5,
text: '宠主年消费额分析', text: '宠主年消费额分析',
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
......
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
const mapChart = this.$echarts.init(this.$refs.radarMap) const mapChart = this.$echarts.init(this.$refs.radarMap)
mapChart.setOption({ mapChart.setOption({
title: { title: {
left: 'left', left: -5,
text: _this.title, text: _this.title,
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
......
...@@ -23,7 +23,7 @@ export default { ...@@ -23,7 +23,7 @@ export default {
const mapChart = this.$echarts.init(this.$refs.radarMap) const mapChart = this.$echarts.init(this.$refs.radarMap)
mapChart.setOption({ mapChart.setOption({
title: { title: {
left: 'left', left: -5,
text: _this.title, text: _this.title,
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
......
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
const mapChart = this.$echarts.init(this.$refs.towLine) const mapChart = this.$echarts.init(this.$refs.towLine)
mapChart.setOption({ mapChart.setOption({
title: { title: {
left: 'left', left: -5,
text: _this.title, text: _this.title,
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
......
...@@ -67,7 +67,7 @@ export default { ...@@ -67,7 +67,7 @@ export default {
const mapChart = this.$echarts.init(this.$refs.towLineNoUnit) const mapChart = this.$echarts.init(this.$refs.towLineNoUnit)
mapChart.setOption({ mapChart.setOption({
title: { title: {
left: 'left', left: -5,
text: _this.title, text: _this.title,
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
......
...@@ -946,7 +946,7 @@ export default { ...@@ -946,7 +946,7 @@ export default {
} }
</script> </script>
<style> <style scoped>
.el-col-8 { .el-col-8 {
padding-left: inherit !important; padding-left: inherit !important;
} }
......
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