当前位置:网站首页>General configuration toolbox
General configuration toolbox
2022-07-08 01:11:00 【Just love life】
toolbox:ECharts Toolbar provided
toolbox Configure in option Subelement
Show toolbar buttons feature
Built in export picture saveAsImage, Data view dataView, Dynamic type switching magicType, Data area scaling dataZoom, Reset restore Five tools 




<!-- 1.ECharts The most basic code structure 2.x Axis data :[' Zhang San ',‘ Li Si ’,‘ Wang Wu ’,‘ Intercalary soil ’,‘ Xiao Ming ’,‘ maotai ’,‘ Er Niu ’,‘ Daqiang ’] 3.y Axis data :[88,92,63,77,94,80,72,86] 4. take type Is set to bar --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <script src="lib/echarts.min.js"></script> </head> <body> <div style="width: 600px;height: 400px;"></div> <script> var mCharts= echarts.init(document.querySelector('div')) var xDataArr=[' Zhang San ',' Li Si ',' Wang Wu ',' Intercalary soil ',' Xiao Ming ',' maotai ',' Er Niu ',' Daqiang '] var yDaraArr=[70,92,85,89,77,90,87,98] var option={
title:{
text:' Results show ', textStyle:{
color:'blue'
},
borderWidth:5,
borderColor:'blue',
borderRadius:5,
left:30,
top:10
}, tooltip:{
trigger:'axis', triggerOn:'click', // formatter:'{b} The results of {c}' formatter:function(arg){
return arg[0].name+' My score is '+arg[0].data
}
}, toolbox:{
feature:{
saveAsImage:{
},// Export pictures dataView:{
}, // Data view restore:{
} , // Data reset ( Restore ) dataZoom:{
}, // Area zoom magicType:{
// Chart switching
type:['bar','line']
}
}
}, xAxis:{
type:'category' ,// Taxonomic axis
data:xDataArr
}, yAxis:{
type:'value' ,// Value axis
}, series:[
{
name:' Chinese language and literature ', type:'bar', //bar It's a histogram ,line It's linear ,pie It's pie shaped markPoint:{
data:[
{
type:'max',name:' Maximum '
},{
type:'min',name:' minimum value '
}
]
}, markLine:{
data:[
{
type:'average',name:' Average '
}
]
}, label:{
show: true,
position:'top'
},
barWidth:'30%',
data:yDaraArr
}
]
}
// step 5: Set the configuration item to echarts Instance object
mCharts.setOption(option)
</script>
</body>
</html>
边栏推荐
- How does starfish OS enable the value of SFO in the fourth phase of SFO destruction?
- 5. Over fitting, dropout, regularization
- 6. Dropout application
- 股票开户免费办理佣金最低的券商,手机上开户安全吗
- 手机上炒股安全么?
- Ag9310meq ag9310mfq angle two USB type C to HDMI audio and video data conversion function chips parameter difference and design circuit reference
- Codeforces Round #804 (Div. 2)
- Redis, do you understand the list
- C# ?,?.,?? .....
- Get started quickly using the local testing tool postman
猜你喜欢

11. Recurrent neural network RNN
![[necessary for R & D personnel] how to make your own dataset and display it.](/img/50/3d826186b563069fd8d433e8feefc4.png)
[necessary for R & D personnel] how to make your own dataset and display it.

High quality USB sound card / audio chip sss1700 | sss1700 design 96 kHz 24 bit sampling rate USB headset microphone scheme | sss1700 Chinese design scheme explanation

AI遮天传 ML-回归分析入门

Share a latex online editor | with latex common templates

利用GPU训练网络模型

5. Over fitting, dropout, regularization

网络模型的保存与读取

letcode43:字符串相乘

Chapter 7 Bayesian classifier
随机推荐
Cross modal semantic association alignment retrieval - image text matching
10. CNN applied to handwritten digit recognition
How to transfer Netease cloud music /qq music to Apple Music
What does interface testing test?
ThinkPHP kernel work order system source code commercial open source version multi user + multi customer service + SMS + email notification
AI遮天传 ML-回归分析入门
Design method and application of ag9311maq and ag9311mcq in USB type-C docking station or converter
国外众测之密码找回漏洞
Image data preprocessing
大二级分类产品页权重低,不收录怎么办?
New library launched | cnopendata China Time-honored enterprise directory
Chapter IV decision tree
130. 被围绕的区域
STL -- common function replication of string class
11.递归神经网络RNN
12. RNN is applied to handwritten digit recognition
USB type-C docking design | design USB type-C docking scheme | USB type-C docking circuit reference
[reprint] solve the problem that CONDA installs pytorch too slowly
新库上线 | CnOpenData中华老字号企业名录
Ag9310 design USB type C to hdmi+u2+5v slow charging scheme design | ag9310 expansion dock scheme circuit | type-C dongle design data