web前端全系列 教程
1839个小节阅读:2244.1k
目录
鸿蒙应用开发
C语言快速入门
JAVA全系列 教程
面向对象的程序设计语言
Python全系列 教程
Python3.x版本,未来主流的版本
人工智能 教程
顺势而为,AI创新未来
大厂算法 教程
算法,程序员自我提升必经之路
C++ 教程
一门通用计算机编程语言
微服务 教程
目前业界流行的框架组合
web前端全系列 教程
通向WEB技术世界的钥匙
大数据全系列 教程
站在云端操控万千数据
AIGC全能工具班
A A
White Night
折线图是用折线将各个数据点标志连接起来的图表,用于展现数据的变化趋势
我们可以通过 series
设置一系列的数据展示方式
xxxxxxxxxx
legend: {
data: ["Email1", "Email2"]
},
...
series: [
{
name: 'Email1',
type: "line",
colorBy: "data",
symbol: "rect",
symbolSize: 10,
symbolRotate: 45,
step: false,
lineStyle:{
color:"red",
width:5,
type:"dotted"
},
areaStyle:{
color:"red",
opacity:"0.5"
},
emphasis: {
disabled:false,
scale:true,
focus: 'series'
},
smooth: true,
data: [10, 20, 40, 20, 10, 50, 7]
},
{
name: 'Email2',
type: "line",
colorBy: "data",
data: [5, 45, 23, 23, 12, 44, 7]
}
]
实时效果反馈
1. ECharts折线图,设置线段为平滑曲线的属性是:
A symbol
B smooth
C step
D lineStyle
答案
1=>B