国际化图表标题

This commit is contained in:
zhanghongqing
2018-07-17 10:09:34 +08:00
parent 7c19df6876
commit 70f01de1b0
4 changed files with 62 additions and 42 deletions

View File

@@ -391,7 +391,7 @@ function echart_2(rs){
},
colors:['#f36f8a', '#44A9A8', '#ffff43','#25f3e6','#0035f9','#964CEC','#32B0ED','#95CEFF','#7278DD','#2DA9D8','#C66FE6'],
title: {
text: '操作系统分类',
text: '<spring:message code="os_type"/>',
style: {//设置字体颜色
color: '#fff',
fontSize:'18px',
@@ -498,7 +498,7 @@ function echart_5(rs){
},
colors:['#f36f8a', '#44A9A8', '#ffff43','#25f3e6','#0035f9','#964CEC','#32B0ED','#95CEFF','#7278DD','#2DA9D8','#C66FE6'],
title: {
text: '浏览器分类列表',
text: '<spring:message code="browser_type"/>',
style: {//设置字体颜色
color: '#fff',
fontSize:'18px',
@@ -596,15 +596,7 @@ function echart_4(rs){
colors:[ '#44A9A8', '#f36f8a','#25f3e6','#ffff43','#0035f9','#964CEC','#32B0ED','#95CEFF','#7278DD','#2DA9D8','#C66FE6'],
title: {
text: '网站统计分析',
y:30,
overflow: 'justify',
style: {//设置字体颜色
color: '#fff',
fontSize:'18px',
fontFamily:'Microsoft YaHei'
},
text: null,
},
plotOptions: {
series: {
@@ -617,7 +609,7 @@ function echart_4(rs){
pie:{
point: {
events: {
mouseOver: function(e) { // 鼠标滑过时动态更新标题
mouseOver: function(e) {
this.slice();
},
// 鼠标移出时,收回突出显示
@@ -694,15 +686,7 @@ function echart_6(rs){
colors:[ '#44A9A8', '#f36f8a','#25f3e6','#ffff43','#0035f9','#964CEC','#32B0ED','#95CEFF','#7278DD','#2DA9D8','#C66FE6'],
title: {
text: '网站分类',
y:30,
overflow: 'justify',
style: {//设置字体颜色
color: '#fff',
fontSize:'18px',
fontFamily:'Microsoft YaHei'
},
text: null,
},
plotOptions: {
series: {