-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
图表库调研 #28
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
echarts
老牌可视化库,支持
PC
和移动端.(更详细的内容可以去官方文档查看)官方文档
gallery - 社区 (各种图表示例)
ZRender - echarts底层渲染器
用法 - 快速玩转
echarts
echarts
全局对象init
创建实例(图表层)registerMap
注册地图,使用地图功能时用到echartsInstance
实例对象,图表的配置及优化;setOption
给实例添加配置项on
给图表绑定事件off
给图表解除绑定事件showLoading
显示loading动画hideLoading
隐藏loading动画getDataURL
返回图表url(base64)生成图片用clear
清空当前实例(优化)dispose
销毁实例(优化)action
交互图表内交互性动作增强, 比如
tips
提示、图表的区域选择、图表的timeline
events
事件监听图表的事件行为, 类似
window.addEventListener
setOption
是关键grid
图表在画布中的布局样式xAxis
画布中X
轴的描述yAxis
画布中Y
轴的描述dataZoom
长用于图表中的时间轴、数据轴visualMap
映射组件, 长用于地图上多层数据叠加使用tooltip
提示语axisPointer
鼠标在图表节点上显示对应数据toolbox
组件自带的工具栏brush
图表中选择区域块timeline
时间轴series
图表描述(划重点)animation
动画系列配置这里抽取6个类型图列, 从红线部分可以看出有很多共性, 都是通过
series
来描述echarts
实例图. 不同类型的图通过series.type
来设定, 图表的数据是通过series.data
来设定.只要熟悉series
的用法我们就玩转echarts
所有的图例.复杂地图示例
示例图中有4中效果, 都是基于
series
的描述叠加完成.结语
这篇文章的目的是为了讲解
echarts
常用配置项, 基于这些配置项可以快速完成基本的可视化工作. 如果想基于echarts
玩转更定制化的需求还需要自己在官网好好研读.d3
完全自主生成图表,链式操作.
highcharts
商业授权
chart
googlechart
bizchart
阿里
viserjs
阿里
G2
阿里
python
matplotlib
seaborn
bokeh
chartify
The text was updated successfully, but these errors were encountered: