我如何在我的高地图中加入2个或更多mapData? [英] How can I join 2 or more mapData in my highmaps?
问题描述
系列:[{p>
data:$ b $ mapData:Highcharts.maps ['custom / asia'],
joinBy:'hc-key',
name:'Random data',
$,
你提到的两张地图,因为它们具有不同的底座坐标/属性。你最终会得到两张重叠的地图 - demo#1 , demo#2 。
您可以使用更大的地图 - 超过您的需求(例如大洲世界地图)。接下来,请不要提供您不希望拥有的区域的数据,并设置 <$ c $例如: rel =nofollow> http://jsfiddle.net/8wsezjqy/
另一个选项是创建一个自定义地图,如文档。
I want to plot Asia-Pacific (Asia and Africa), how can I achieve this?
series: [{
data: data,
mapData: Highcharts.maps['custom/asia'],
joinBy: 'hc-key',
name: 'Random data',
},
It is not possible to just join two maps you mentioned, because they have different base coordinates/properties. You would end up with two overlapping maps - demo #1, demo #2.
You could use bigger map - with more than you need (e.g. continents world map). Next don't provide data for areas you do not want to have and set allAreas
to false.
Example: http://jsfiddle.net/8wsezjqy/
Another option is to create a custom map as explained in the Docs.
这篇关于我如何在我的高地图中加入2个或更多mapData?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!