This is an automated email from the ASF dual-hosted git repository. shenyi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git
The following commit(s) were added to refs/heads/master by this push: new 16036dd tweak docs of geo and map 16036dd is described below commit 16036dd03cd399a68d9541162ecd4ed7577f2f47 Author: pissang <bm2736...@gmail.com> AuthorDate: Thu Sep 19 09:52:18 2019 +0800 tweak docs of geo and map --- cn/option/component/geo.md | 4 ++-- cn/option/series/map.md | 8 ++++++-- en/option/component/geo.md | 4 ++-- en/option/series/map.md | 8 ++++++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/cn/option/component/geo.md b/cn/option/component/geo.md index 8bf4bea..4ae66fd 100644 --- a/cn/option/component/geo.md +++ b/cn/option/component/geo.md @@ -5,9 +5,9 @@ 地理坐标系组件。 地理坐标系组件用于地图的绘制,支持在地理坐标系上绘制[散点图](~series-scatter),[线集](~series-lines)。 - +<!-- **在地理坐标系中使用散点图的示例:** -~[600x400](${galleryViewPath}scatter-map&edit=1&reset=1) +~[600x400](${galleryViewPath}scatter-map&edit=1&reset=1) --> diff --git a/cn/option/series/map.md b/cn/option/series/map.md index f69e448..a5f9936 100644 --- a/cn/option/series/map.md +++ b/cn/option/series/map.md @@ -10,6 +10,10 @@ 多个[地图类型](~series-map.map)相同的系列会在同一地图上显示,这时候使用第一个系列的配置项作为地图绘制的配置。 **Tip: **在 ECharts 3 中不再建议在地图类型的图表使用 `markLine` 和 `markPoint`。如果要实现点数据或者线数据的可视化,可以使用在[地理坐标系组件](~geo)上的[散点图](~series-scatter)和[线图](~series-lines)。 +<!-- +**示例:** +~[600x400](${galleryViewPath}doc-example/map-example&reset=1&edit=1) + --> ## type(string) = 'map' @@ -29,9 +33,9 @@ 默认情况下,map series 会自己生成内部专用的 `geo` 组件。但是也可以用这个 `geoIndex` 指定一个 [geo](~geo) 组件。这样的话,map 和 其他 series(例如散点图)就可以共享一个 [geo](~geo) 组件了。并且,[geo](~geo) 组件的颜色也可以被这个 map series 控制,从而用 [visualMap](~visualMap) 来更改。 当设定了 `geoIndex` 后,[series-map.map](~series-map.map) 属性,以及 [series-map.itemStyle](~series-map.itemStyle) 等样式配置不再起作用,而是采用 [geo](~geo) 中的相应属性。 - +<!-- 参见: -~[600x400](${galleryViewPath}geo-map-scatter&reset=1&edit=1) +~[600x400](${galleryViewPath}geo-map-scatter&reset=1&edit=1) --> ## mapValueCalculation(string) = 'sum' 多个拥有相同[地图类型](~series-map.map)的系列会使用同一个地图展现,如果多个系列都在同一个区域有值,ECharts 会对这些值统计得到一个数据。这个配置项就是用于配置统计的方式,目前有: diff --git a/en/option/component/geo.md b/en/option/component/geo.md index 03b27ae..1aadcd4 100644 --- a/en/option/component/geo.md +++ b/en/option/component/geo.md @@ -5,10 +5,10 @@ Geographic coorinate system component. Geographic coorinate system component is used to draw maps, which also supports [scatter series](~series-scatter), and [line series](~series-lines). - +<!-- **Example of using scatter series in geographic coordinate:** ~[600x400](${galleryViewPath}scatter-map&edit=1&reset=1) - + --> From `3.1.10`, geo component also supports mouse events, whose parameters are: diff --git a/en/option/series/map.md b/en/option/series/map.md index 79090d5..6f72370 100644 --- a/en/option/series/map.md +++ b/en/option/series/map.md @@ -8,6 +8,10 @@ Map is maily used in the visulization of geographic area data, which can be used with [visualMap](~visualMap) component to visualize the datas such as population distribution density in diffrent areas. Series of same [map type](~series-map.map) will show in one map. At this point, the configuration of the first series will be used for the map configuration. +<!-- +**Example: ** +~[600x400](${galleryViewPath}doc-example/map-example&reset=1&edit=1) --> + ## type(string) = 'map' @@ -27,9 +31,9 @@ Series of same [map type](~series-map.map) will show in one map. At this point, In default case, map series create exclusive `geo` component for themselves. But `geoIndex` can be used to specify an outer [geo component](~geo), which can be shared with other series like [pie](~series-pie). Moreover, the region color of the outer [geo component](~geo) can be controlled by the map series (via [visualMap](~visualMap)). When `geoIndex` specified, [series-map.map](~series-map.map) other style configurations like [series-map.itemStyle](~series-map.itemStyle) will not work, but cooresponding configurations in [geo component](~geo) will be used. - +<!-- For example: -~[600x400](${galleryViewPath}geo-map-scatter&reset=1&edit=1) +~[600x400](${galleryViewPath}geo-map-scatter&reset=1&edit=1) --> ## mapValueCalculation(string) = 'sum' Value of multiple series with the same [map type](~series-map.map) can use this option to get a statistical value. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org