2024-09-20 耶鲁沙冷
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
itemStyle: {
normal: {
color: '#E6A23C',
lineStyle: {
color: '#409EFF'
}
}
},
}
]series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
itemStyle: {
normal: {
color: '#E6A23C',
lineStyle: {
color: '#409EFF',
width: 3
}
}
},
}
]series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
itemStyle: {
normal: {
color: '#E6A23C',
lineStyle: {
color: '#409EFF',
width: 3,
type: 'dashed'
}
}
},
}
]series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
itemStyle: {
normal: {
color: '#E6A23C',
lineStyle: {
color: '#409EFF',
width: 3,
type: 'dashed',
shadowColor: 'rgba(0, 0, 0, 0.5)',
shadowBlur: 10,
shadowOffsetY: 10
}
}
},
}
]series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
smooth: true,
itemStyle: {
normal: {
color: '#E6A23C',
lineStyle: {
color: '#409EFF',
width: 3,
type: 'dashed',
shadowColor: 'rgba(0, 0, 0, 0.5)',
shadowBlur: 10,
shadowOffsetY: 10
}
}
},
}
]series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
symbol: 'circle',
symbolSize: 20,
itemStyle: {
normal: {
color: '#E6A23C',
lineStyle: {
color: '#409EFF',
}
}
},
}
]series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
symbol: 'circle',
symbolSize: 20,
itemStyle: {
normal: {
color: '#E6A23C',
lineStyle: {
color: '#409EFF',
},
areaStyle: {
color: 'rgba(0, 0, 0, 0.5)'
}
}
},
}
]series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
symbol: 'circle',
symbolSize: 20,
itemStyle: {
normal: {
color: '#E6A23C',
lineStyle: {
color: '#409EFF',
},
borderColor: '#409EFF',
borderWidth: 5
}
},
}
]series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
symbol: 'circle',
symbolSize: 20,
itemStyle: {
normal: {
color: '#E6A23C',
lineStyle: {
color: '#409EFF',
},
borderColor: '#409EFF',
borderWidth: 5,
shadowColor: 'rgba(0, 0, 0, 0.5)',
shadowBlur: 10,
shadowOffsetY: 10
}
},
}
]series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
itemStyle: {
normal: {
color: '#E6A23C',
lineStyle: {
color: '#409EFF',
},
}
},
tooltip: {
trigger: 'axis'
},
}
]series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
itemStyle: {
normal: {
color: '#E6A23C',
lineStyle: {
color: '#409EFF',
},
}
},
tooltip: {
trigger: 'axis',
formatter: '{b}<br />{a}: {c}'
},
}
]series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
itemStyle: {
normal: {
color: '#E6A23C',
lineStyle: {
color: '#409EFF',
},
}
},
tooltip: {
trigger: 'axis',
formatter: function (params) {
return params[0].name + '<br /><span style="color:#409EFF">hello world<span>'
}
},
}
]series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
itemStyle: {
normal: {
color: '#E6A23C',
lineStyle: {
color: '#409EFF',
},
}
},
tooltip: {
trigger: 'axis',
backgroundColor: '#E6A23C'
},
}
]series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
itemStyle: {
normal: {
color: '#E6A23C',
lineStyle: {
color: '#409EFF',
},
}
},
tooltip: {
trigger: 'axis',
borderColor: '#409EFF',
borderWidth: 15
},
}
]series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
itemStyle: {
normal: {
color: '#E6A23C',
lineStyle: {
color: '#409EFF',
},
}
},
tooltip: {
trigger: 'axis',
shadowColor: 'rgba(0, 0, 0, 0.5)',
shadowBlur: 10,
shadowOffsetY: 10
},
}
]series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
itemStyle: {
normal: {
color: '#E6A23C',
lineStyle: {
color: '#409EFF',
},
}
},
tooltip: {
trigger: 'axis',
textStyle: {
color: '#409EFF',
fontSize: 20
}
},
}
]option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
toolbox: {
feature: {
saveAsImage: {}
}
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
toolbox: {
feature: {
saveAsImage: {
icon: 'image://https://img.88icon.com/download/jpg/202001/388cc11b509232e7b5a2340742aba2ef.jpg!88con'
}
}
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
toolbox: {
feature: {
saveAsImage: {
title: '保存为图片'
}
}
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
toolbox: {
feature: {
dataZoom: {},
dataView: {readOnly: false},
magicType: {type: ['line', 'bar']},
restore: {},
saveAsImage: {}
}
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
legend: {
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
series: [
{
name:'Mon',
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
},
{
name:'Tue',
data: [50, 30, 24, 18, 35, 47, 60],
type: 'line'
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
legend: {
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
left: 'right'
},
series: [
{
name:'Mon',
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
},
{
name:'Tue',
data: [50, 30, 24, 18, 35, 47, 60],
type: 'line'
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
legend: {
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
icon: 'circle'
},
series: [
{
name:'Mon',
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
},
{
name:'Tue',
data: [50, 30, 24, 18, 35, 47, 60],
type: 'line'
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
legend: {
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
icon: 'circle',
itemWidth: 20,
itemHeight: 20
},
series: [
{
name:'Mon',
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
},
{
name:'Tue',
data: [50, 30, 24, 18, 35, 47, 60],
type: 'line'
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
legend: {
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
icon: 'circle',
itemGap: 20
},
series: [
{
name:'Mon',
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
},
{
name:'Tue',
data: [50, 30, 24, 18, 35, 47, 60],
type: 'line'
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
legend: {
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
icon: 'circle',
textStyle: {
fontSize: 20
}
},
series: [
{
name:'Mon',
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
},
{
name:'Tue',
data: [50, 30, 24, 18, 35, 47, 60],
type: 'line'
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
legend: {
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
icon: 'circle',
textStyle: {
color: 'red'
}
},
series: [
{
name:'Mon',
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
},
{
name:'Tue',
data: [50, 30, 24, 18, 35, 47, 60],
type: 'line'
}
]
};option = {
xAxis: {
type: 'value'
},
yAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value',
name: '我是Y轴名称'
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value',
name: '我是Y轴名称',
nameLocation: 'middle'
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value',
name: '我是Y轴名称',
nameTextStyle: {
color: 'red',
fontSize: 20
}
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value',
name: '我是Y轴名称',
nameGap: 20
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
label: {
show: true
}
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
label: {
show: true,
position: 'left'
}
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
label: {
show: true,
position: 'left',
textStyle: {
color: 'red',
fontSize: 20
}
}
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
label: {
show: true,
textStyle: {
color: 'red',
fontSize: 20
},
backgroundColor: 'yellow'
}
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
label: {
show: true,
borderColor: 'blue',
borderWidth: 2
}
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
label: {
show: true,
borderRadius: 10
}
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
label: {
show: true,
borderColor: 'blue',
borderWidth: 5,
borderRadius: 10,
padding: 10
}
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
label: {
show: true,
borderColor: 'blue',
borderWidth: 1,
padding: 10,
shadowColor: 'red',
shadowBlur: 10,
shadowOffsetX: 1,
shadowOffsetY: 1
}
}
]
};option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
label: {
show: true,
rotate: 45
}
}
]
};xAxis: {
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
axisLabel: {
interval: 0,
rotate: 40
}
}
43:x轴内容样式
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
axisLabel: {
textStyle: {
color: 'red'
}
}
},原文链接:https://daomb.com/news/3786.html
本文版权:如无特别标注,本站文章均为原创。