Skip to content
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

echarts图表(富文本、地图、散点图) #35

Open
threetown opened this issue Jul 13, 2018 · 0 comments
Open

echarts图表(富文本、地图、散点图) #35

threetown opened this issue Jul 13, 2018 · 0 comments

Comments

@threetown
Copy link
Contributor

threetown commented Jul 13, 2018

目录

  • 富文本
  • 地图

一、富文本

二、地图

2.1 echarts 4.x

https://github.com/ecomfe/echarts-map-tool/blob/gh-pages/maker/raw/china-contour.json

  • echarts 4.1
$.get('js/echarts/map/'+city+'.json', function (chinaJson) {
        echarts.registerMap('cityMap', chinaJson);
        //获取数组,循环引用
        var types=echarts.getMap('cityMap').geoJson.features;
}

三、散点图

[x,y,v]

  • 坐标点 x 位置
  • 坐标点 y 位置
  • 值 v

image

image

@threetown threetown changed the title echarts图表 - 地图 echarts图表(富文本、地图) Dec 4, 2018
@threetown threetown changed the title echarts图表(富文本、地图) echarts图表(富文本、地图、散点图) Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant