level 9
ILYXS2000
楼主
这种,12个月份,难道每次都要单独调整textStyle里的字体大小吗?
能否一次调整吗?
xAxis : [
{
type : 'category',
data : [
{
value : '1月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '2月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '3月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '4月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '5月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '6月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '7月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '8月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '9月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '10月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '11月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '12月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
}]
}
],
2016年04月12日 12点04分
1
能否一次调整吗?
xAxis : [
{
type : 'category',
data : [
{
value : '1月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '2月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '3月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '4月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '5月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '6月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '7月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '8月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '9月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '10月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '11月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
},
{
value : '12月',
textStyle : {
fontSize : 40,
color : '#3693fd'
}
}]
}
],