[GitHub] pissang commented on issue #9335: 建议还是用自定义系列的 polygon 绘制

2018-11-04 Thread GitBox
pissang commented on issue #9335: 建议还是用自定义系列的 polygon 绘制
URL: 
https://github.com/apache/incubator-echarts/issues/9335#issuecomment-435776604
 
 
   这个 data 其实只要数量跟多边形数量一致就行了,具体里面是什么值无所谓


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] DorisOu commented on issue #9335: 建议还是用自定义系列的 polygon 绘制

2018-11-04 Thread GitBox
DorisOu commented on issue #9335: 建议还是用自定义系列的 polygon 绘制
URL: 
https://github.com/apache/incubator-echarts/issues/9335#issuecomment-435772578
 
 
   @pissang 不好意思,搞错了,这里的data里表示的是数值


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] ColinCLL commented on issue #6343: 地图和geo如何同步缩放

2018-11-04 Thread GitBox
ColinCLL commented on issue #6343: 地图和geo如何同步缩放
URL: 
https://github.com/apache/incubator-echarts/issues/6343#issuecomment-435768801
 
 
   @huimei123 上面不是已经有人给出例子了吗


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] huimei123 commented on issue #6343: 地图和geo如何同步缩放

2018-11-04 Thread GitBox
huimei123 commented on issue #6343: 地图和geo如何同步缩放
URL: 
https://github.com/apache/incubator-echarts/issues/6343#issuecomment-435768011
 
 
   请问你实现了同时缩放两层地图吗,我也遇到了同样的问题,还不知道如何改这个配置。


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] DorisOu commented on issue #9335: 建议还是用自定义系列的 polygon 绘制

2018-11-04 Thread GitBox
DorisOu commented on issue #9335: 建议还是用自定义系列的 polygon 绘制
URL: 
https://github.com/apache/incubator-echarts/issues/9335#issuecomment-435765011
 
 
   @pissang 
非常感谢。效果出来了,但是不太明白在系列里的data为什么写成[0,1]?我大概理解为数组有几个写几个?比如有三个data这样[0,1,2]?但是我的这个coords可能有更多,几千个,怎样写好呢?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] s5s5 closed issue #9324: 改 option 切换时,数据变少了

2018-11-04 Thread GitBox
s5s5 closed issue #9324: 改 option 切换时,数据变少了
URL: https://github.com/apache/incubator-echarts/issues/9324
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] s5s5 commented on issue #9324: 改 option 切换时,数据变少了

2018-11-04 Thread GitBox
s5s5 commented on issue #9324: 改 option 切换时,数据变少了
URL: 
https://github.com/apache/incubator-echarts/issues/9324#issuecomment-435764357
 
 
   非常感谢


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] chenzhiw commented on issue #9333: zoomData问题

2018-11-04 Thread GitBox
chenzhiw commented on issue #9333: zoomData问题
URL: 
https://github.com/apache/incubator-echarts/issues/9333#issuecomment-435761137
 
 
   1. 我是想默认激活鼠标选框缩放,而不是鼠标中键滚动缩放,这个是默认的
   
   2. 有没有办法实现 裁剪视图范围,给个思路也行


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] yequ1006 opened a new issue #9336: Candlestick组件中,markPoint宽度怎么随缩放改变大小?也就是markPoint宽度,随着拖拉,和k线宽度保持一致

2018-11-04 Thread GitBox
yequ1006 opened a new issue #9336: 
Candlestick组件中,markPoint宽度怎么随缩放改变大小?也就是markPoint宽度,随着拖拉,和k线宽度保持一致
URL: https://github.com/apache/incubator-echarts/issues/9336
 
 
   
   
   
   ### One-line summary [问题简述]
   
   
   
   
   
   ### Version & Environment [版本及环境]
   + ECharts version [ECharts 版本]:
   + Browser version [浏览器类型和版本]:
   + OS Version [操作系统类型和版本]:
   
   
   
   
   
   ### Expected behaviour [期望结果]
   
   
   
   
   
   ### ECharts option [ECharts配置项]
   
   
   ```javascript
   option = {
   
   }
   
   ```
   
   
   
   
   ### Other comments [其他信息]
   
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] yequ1006 closed issue #9329: vue中按需引入dataZoom,明显比全量引入echarts,前后拖动操作更卡。是否还需引入某些性能优化组件?

2018-11-04 Thread GitBox
yequ1006 closed issue #9329: 
vue中按需引入dataZoom,明显比全量引入echarts,前后拖动操作更卡。是否还需引入某些性能优化组件?
URL: https://github.com/apache/incubator-echarts/issues/9329
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] pissang commented on issue #9333: zoomData问题

2018-11-04 Thread GitBox
pissang commented on issue #9333: zoomData问题
URL: 
https://github.com/apache/incubator-echarts/issues/9333#issuecomment-435753272
 
 
   1. 鼠标缩放不是 toolbox 里控制里,是 dataZoom 组件控制的,如果加了 dataZoom 组件且 type 是 'inside' 
则会使用鼠标或者双指缩放
   
   2. dataZoom 的目的是为了过滤数据而不是裁剪视图范围,所以目前这个表现是符合预期的


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] pissang commented on issue #9335: 建议还是用自定义系列的 polygon 绘制

2018-11-04 Thread GitBox
pissang commented on issue #9335: 建议还是用自定义系列的 polygon 绘制
URL: 
https://github.com/apache/incubator-echarts/issues/9335#issuecomment-435752814
 
 
   ```js
   var coords = [[
   [116.7,39.53],
   [103.73,36.03],
   [112.91,27.87],
   [120.65,28.01],
   [119.57,39.95]
   ], [
   [116.7,35.53],
   [103.73,32.03],
   [112.91,20.87],
   [120.65,28.01],
   [119.57,39.95]
   ]];
   function renderItem(params, api) {
   var points = [];
   var dataIndex = params.dataIndex;
   
   for (var i = 0; i < coords[dataIndex].length; i++) {
   points.push(api.coord(coords[dataIndex][i]));
   }
   
   var color = api.visual('color');
   
   return {
   type: 'polygon',
   shape: {
   points: echarts.graphic.clipPointsByRect(points, {
   x: params.coordSys.x,
   y: params.coordSys.y,
   width: params.coordSys.width,
   height: params.coordSys.height
   })
   },
   style: api.style({
   fill: color,
   stroke: echarts.color.lift(color)
   })
   };
   }
   ```
   
   在系列里
   
   ```
   [{
   ...
   data: [0, 1]
   }]
   ```


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] pissang removed a comment on issue #9335: 建议还是用自定义系列的 polygon 绘制

2018-11-04 Thread GitBox
pissang removed a comment on issue #9335: 建议还是用自定义系列的 polygon 绘制
URL: 
https://github.com/apache/incubator-echarts/issues/9335#issuecomment-435752242
 
 
   使用两个自定义系列来表示两个数组


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] pissang commented on issue #9335: 建议还是用自定义系列的 polygon 绘制

2018-11-04 Thread GitBox
pissang commented on issue #9335: 建议还是用自定义系列的 polygon 绘制
URL: 
https://github.com/apache/incubator-echarts/issues/9335#issuecomment-435752242
 
 
   使用两个自定义系列来表示两个数组


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] DorisOu opened a new issue #9335: 建议还是用自定义系列的 polygon 绘制

2018-11-04 Thread GitBox
DorisOu opened a new issue #9335: 建议还是用自定义系列的 polygon 绘制
URL: https://github.com/apache/incubator-echarts/issues/9335
 
 
   当自定义区域的坐标为这样的格式 var paths = [
   [
   [113.447976, 22.363792],
   [113.328872, 22.422652],
   [113.370276, 22.308298],
   [113.474307, 22.260588]
   ],
   [
   [113.55542316292018, 22.451920414231754],
   [113.2840279444, 22.452818734758235],
   [113.55371761986818, 22.453423869526087],
   [113.55356109301499, 22.454512840320145]
   ]
   ]
   
   renderItem这样写起效果了。但是无法渲染第二数组
   function renderItem(params, api) {
   var coords = paths[0];
   var points = [];
   for (var i = 0; i < coords.length; i++) {
   points.push(api.coord(coords[i]));
   }
   return {
   type: 'polygon',
   shape: {
   points: echarts.graphic.clipPointsByRect(points, {
   x: params.coordSys.x,
   y: params.coordSys.y,
   width: params.coordSys.width,
   height: params.coordSys.height
   })
   },
   style: api.style({
   fill: 'lightblue',
   stroke: '#000'
   })
   }
   }
   如何写出复用的函数?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] wuyandefeixue opened a new issue #9334: 配置项中图表的颜色调整解释不清

2018-11-04 Thread GitBox
wuyandefeixue opened a new issue #9334: 配置项中图表的颜色调整解释不清
URL: https://github.com/apache/incubator-echarts/issues/9334
 
 
   
   
   
   ### One-line summary [问题简述]
   图表的color调整。
   1.比如line的series——itemStyle——color中(series[i]-line.itemStyle. 
color)中,为什么下面的解释中会有圆心中等参数?
   2.比如bar的series——itemStyle——color中,解释不清,这里其实可以写function的
   
   
   
   
   ### Version & Environment [版本及环境]
   + ECharts version [ECharts 版本]:
   + Browser version [浏览器类型和版本]:Chrome 69
   + OS Version [操作系统类型和版本]: Windows 7
   
   
   
   
   
   ### Expected behaviour [期望结果]
   建议将所有的series——itemStyle——color参数规范完善一下。
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] DorisOu commented on issue #8504: series map和百度地图之间坐标如何进行转换?

2018-11-04 Thread GitBox
DorisOu commented on issue #8504: series map和百度地图之间坐标如何进行转换?
URL: 
https://github.com/apache/incubator-echarts/issues/8504#issuecomment-435741943
 
 
   @nekonabe-tokumori  自定义坐标是这样的格式;
   //自定义区域坐标
   var paths = [
   [
   [113.447976, 22.363792],
   [113.328872, 22.422652],
   [113.370276, 22.308298],
   [113.474307, 22.260588]
   ],
   [
   [113.55542316292018, 22.451920414231754],
   [113.2840279444, 22.452818734758235],
   [113.55371761986818, 22.453423869526087],
   [113.55356109301499, 22.454512840320145]
   ]
   ]
   renderItem这样用没有问题,但是我要怎么循环渲染出pths的多边形?
   function renderItem(params, api) {
   var coords = paths[0];
   var points = [];
   for (var i = 0; i < coords.length; i++) {
   points.push(api.coord(coords[i]));
   }
   return {
   type: 'polygon',
   shape: {
   points: echarts.graphic.clipPointsByRect(points, {
   x: params.coordSys.x,
   y: params.coordSys.y,
   width: params.coordSys.width,
   height: params.coordSys.height
   })
   },
   style: api.style({
   fill: 'lightblue',
   stroke: '#000'
   })
   }
   }


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



Re: [VOTE] Release Apache ECharts 4.2.0 (release candidate 2)

2018-11-04 Thread Deqing Li
+1  binding

Yi Shen  于2018年11月1日周四 上午1:07写道:

> +1 binding
>
> checked:
> - distribution files are correct.
> - No files missing license.
>
> SHUANG SU  于2018年10月27日周六 下午4:23写道:
>
> > I am pleased to be calling this vote for the release of Apache ECharts
> > 4.2.0 (release candidate 2).
> >
> > The release candidate to be voted over is available at:
> > https://dist.apache.org/repos/dist/dev/incubator/echarts/4.2.0-rc.2/
> >
> > The release candidate is signed with a GPG key available at:
> > https://dist.apache.org/repos/dist/dev/incubator/echarts/KEYS
> >
> > The Git commit for this release is:
> >
> >
> https://gitbox.apache.org/repos/asf?p=incubator-echarts.git;a=commit;h=1a566de
> >
> > The Release Note is available in:
> >
> >
> https://dist.apache.org/repos/dist/dev/incubator/echarts/4.2.0-rc.2/RELEASE_NOTE.txt
> >
> > Some shell commands for validating the release:
> >
> > ```shell
> > # Download the release:
> > curl
> >
> >
> https://dist.apache.org/repos/dist/dev/incubator/echarts/4.2.0-rc.2/apache-echarts-4.2.0-rc.2-incubating-src.zip
> > -o apache-echarts-4.2.0-rc.2-incubating-src.zip
> > unzip apache-echarts-4.2.0-rc.2-incubating-src.zip -d
> > apache-echarts-4.2.0-rc.2-incubating-src > /dev/null
> >
> > # Build the project (Node.js environment is required):
> > cd "apache-echarts-4.2.0-rc.2-incubating-src" && npm install && cd ..
> > node "apache-echarts-4.2.0-rc.2-incubating-src/build/build.js" --release
> > # (See help: `node
> > "apache-echarts-4.2.0-rc.2-incubating-src/build/build.js" --help`)
> > ```
> >
> >
> > Please vote on releasing this package as:
> > Apache ECharts 4.2.0 (release candidate 2)
> > by "2018-10-30T09:12:13.512Z".
> >
> > [ ] +1 Release this package
> > [ ] 0 I don't feel strongly about it, but don't object
> > [ ] -1 Do not release this package because...
> >
> > Anyone can participate in testing and voting, not just committers, please
> > feel free to try out the release candidate and provide your votes.
> >
> >
> > --
> >  Su Shuang (100pah)
> > --
> >
>
>
> --
> Yi Shen
> Senior Developer
> Baidu, Inc.
>


[GitHub] DorisOu commented on issue #8504: series map和百度地图之间坐标如何进行转换?

2018-11-04 Thread GitBox
DorisOu commented on issue #8504: series map和百度地图之间坐标如何进行转换?
URL: 
https://github.com/apache/incubator-echarts/issues/8504#issuecomment-435739290
 
 
   您好,你这个自定义的区域是怎么用polygon实现的?我只能画出一个区域。求代码


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] DorisOu commented on issue #4017: 自定义geojson的多边形,部分简单多边形渲染不出来

2018-11-04 Thread GitBox
DorisOu commented on issue #4017: 自定义geojson的多边形,部分简单多边形渲染不出来
URL: 
https://github.com/apache/incubator-echarts/issues/4017#issuecomment-435736521
 
 
   你好,我最近在做一个项目,需要在百度地图上画自定义的区域,但是我发现实现不了。只能画单一的一个。
   var var paths = [
   [
   [113.447976, 22.363792],
   [113.328872, 22.422652],
   [113.370276, 22.308298],
   [113.474307, 22.260588]
   
   ],
   [
   [113.55542316292018, 22.451920414231754],
   [113.2840279444, 22.452818734758235],
   [113.55371761986818, 22.453423869526087],
   [113.55356109301499, 22.454512840320145]
   ]
   ]
   function renderItem(params, api) {
   var coords = paths[0];
   var points = [];
   for (var i = 0; i < coords.length; i++) {
   points.push(api.coord(coords[i]));
   }
   return {
   type: 'polygon',
   shape: {
   points: echarts.graphic.clipPointsByRect(points, {
   x: params.coordSys.x,
   y: params.coordSys.y,
   width: params.coordSys.width,
   height: params.coordSys.height
   })
   },
   style: api.style({
   fill: 'lightblue',
   stroke: '#000'
   })
   }
   }
   
   要怎么实现循环渲染?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] fangzheng0518 closed issue #9316: echarts能在线生成图表吗?

2018-11-04 Thread GitBox
fangzheng0518 closed issue #9316: echarts能在线生成图表吗?
URL: https://github.com/apache/incubator-echarts/issues/9316
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] fangzheng0518 commented on issue #9316: echarts能在线生成图表吗?

2018-11-04 Thread GitBox
fangzheng0518 commented on issue #9316: echarts能在线生成图表吗?
URL: 
https://github.com/apache/incubator-echarts/issues/9316#issuecomment-435736397
 
 
   > 整体流程确实是这样的。
   > 如果仅仅是做一个 json 的可视化编辑器,在某些场景,并不一定方便使用。
   > 比如完成一个事情可能要修改几处的 json 配置。
   > 当然,json 可视化编辑,也可能能一定程度带来方便,我不是十分确定。
   
   好的,多谢!


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] chairy11 edited a comment on issue #9326: 关系图中怎么使用多维度数据进行视觉映射visualMap?

2018-11-04 Thread GitBox
chairy11 edited a comment on issue #9326: 关系图中怎么使用多维度数据进行视觉映射visualMap?
URL: 
https://github.com/apache/incubator-echarts/issues/9326#issuecomment-435735996
 
 
   @100pah 
   我现在看到的是有大小有颜色的。但就是两个都对应到value:[0, 1, 2, 3]中的第一个数,不能动态对应到不同的列上去……
   
   
   
![image](https://user-images.githubusercontent.com/1669457/47974547-163c8e00-e0e5-11e8-89f5-0603002b5671.png)
   
   
   
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] zhangyunhai210 edited a comment on issue #9301: 关于在桌面环境下对滑动事件的支持/About support for sliding events in the desktop environment

2018-11-04 Thread GitBox
zhangyunhai210 edited a comment on issue #9301: 关于在桌面环境下对滑动事件的支持/About support 
for sliding events in the desktop environment
URL: 
https://github.com/apache/incubator-echarts/issues/9301#issuecomment-435727590
 
 
   > 戴尔24寸触摸屏触屏上是否任何触摸都没有响应?
   > (抱歉暂时没有这个设备来测试,只能猜测一下问题)
   
   只有图表canvas没有响应滑动事件,点击事件可以触发,
   网页body本身响应滑动和点击事件
   使用chrome的改变为移动设备功能后,所有功能正常使用,包括滑动等


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] chairy11 commented on issue #9326: 关系图中怎么使用多维度数据进行视觉映射visualMap?

2018-11-04 Thread GitBox
chairy11 commented on issue #9326: 关系图中怎么使用多维度数据进行视觉映射visualMap?
URL: 
https://github.com/apache/incubator-echarts/issues/9326#issuecomment-435735996
 
 
   @100pah 
   我现在看到的是有大小有颜色的。但就是两个都对应到value:[0, 1, 2, 3]中的第一个数,不能动态对应到不同的列上去……
   
   
   
   
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] chenzhiw opened a new issue #9333: zoomData问题

2018-11-04 Thread GitBox
chenzhiw opened a new issue #9333: zoomData问题
URL: https://github.com/apache/incubator-echarts/issues/9333
 
 
   ### One-line summary [问题简述]
   
   1. 
怎么才能把toolbox上的zoomData设置成默认激活状态,不管toolbox上的zoomData按钮显不显示,图片加载完成之后,直接就可以用鼠标进行选框缩放,而不需要再点zoomData按钮
   
   2. 折线在缩放之后会用目前的点重新画线,如果有点超出了缩放区域的范围,点就会被忽略,连线也会跳过这个点,clipOverflow: false 
也没有效果
   
   
   ### Version & Environment [版本及环境]
   + ECharts version [ECharts 版本]:4.2.0rc2
   + Browser version [浏览器类型和版本]:chrome v66
   + OS Version [操作系统类型和版本]:win7 x64
   
   
   ### Expected behaviour [期望结果]
   
   1. 可以有配置项配置自动激活缩放选项
   
   2. 可以有选项配置超出缩放范围的点不会忽略掉
   
   
   
   ### ECharts option [ECharts配置项]
   
   option = {
   xAxis: {
   type: 'category',
   data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 
38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 
58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 
78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 
98, 99]
   },
   yAxis: {
   type: 'value'
   },
   toolbox: {
   feature: {
   dataZoom: {
   show: true
   },
   restore: {},
   saveAsImage: {}
   }
   },
   series: [{
   data:[115, 154, 97, 181, 167, 60, 106, 149, 121, 184, 142, 146, 177, 
195, 198, 172, 144, 111, 55, 56, 6, 155, 54, 175, 152, 78, 148, 36, 114, 7, 
130, 69, 110, 15, 178, 145, 128, 20, 63, 74, 95, 92, 104, 48, 31, 125, 160, 
173, 109, 170, 49, 71, 37, 129, 50, 58, 59, 13, 10, 51, 47, 133, 102, 27, 17, 
113, 70, 83, 32, 139, 65, 137, 16, 166, 176, 25, 40, 14, 194, 90, 116, 141, 3, 
138, 68, 62, 169, 179, 42, 174, 126, 93, 183, 18, 66, 143, 86, 0, 98, 199],
   type: 'line',
   smooth: true,
   clipOverflow: false,
   label : {
   show: true,
   formatter:'({b}, {c})'
   },
   }],
   dataZoom: [
   {
   type: 'inside',
   realtime: true,
   xAxisIndex: [0],
   },
   {
   type: 'inside',
   realtime: true,
   yAxisIndex: [0]
   },
   ],
   };
   
   
   
   
   
   ### Other comments [其他信息]
   
![echarts](https://user-images.githubusercontent.com/32631622/47973601-4df50700-e0e0-11e8-92ca-f214c9362597.png)
   可以看出42直接连到了48,中间的点都没了
   
   plotly放大效果
   
![plotly](https://user-images.githubusercontent.com/32631622/47973692-c22faa80-e0e0-11e8-842a-f40a7cc3f9b7.png)
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] lsy9202 commented on issue #6447: 请问是否支持多grid多yAxis的图表?

2018-11-04 Thread GitBox
lsy9202 commented on issue #6447: 请问是否支持多grid多yAxis的图表?
URL: 
https://github.com/apache/incubator-echarts/issues/6447#issuecomment-435730646
 
 
   已解决。
   xAxis和yAxis的数量与gridIndex都一致就ok了。
   感谢。


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] lsy9202 commented on issue #9332: 双grid时添加多yAxis时报错:xAxis and yAxis must use the same grid

2018-11-04 Thread GitBox
lsy9202 commented on issue #9332: 双grid时添加多yAxis时报错:xAxis and yAxis must use 
the same grid
URL: 
https://github.com/apache/incubator-echarts/issues/9332#issuecomment-435729308
 
 
   
我给不显示刻度和文字的yAxis加上min和max手动指定了范围,现在都显示刻度和文字的了,但是这个是必须的吗?yAxis.type=value时不是应该自动获取范围的吗?
   
   var option = {
   grid:[{
   height:"40%"
   },{
   height:"40%",
   bottom:"40px"
   }],
   xAxis: [{
   type: 'category',
   gridIndex:0,
   data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
   },{
   gridIndex:0
   },{
   gridIndex:1
   },{
   type: 'category',
   gridIndex:1,
   data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
   }],
   yAxis: [{
   type: 'value',
   gridIndex:0
   },{
   type:'value',
   gridIndex:0,
   min:0,
   max:1500,
   scale:true,
   position:'right'
   },{
   type: 'value',
   min:0,
   max:1400,
   gridIndex:1
   },{
   type:'value',
   gridIndex:1,
   scale:true,
   position:'right'
   }],
   series: [{
   data: [820, 932, 901, 934, 1290, 1330, 1320],
   type: 'line',
   xAxisIndex:0,
   yAxisIndex:0
   },{
   data: [820, 932, 901, 934, 1290, 1330, 1320],
   type: 'line',
   xAxisIndex:3,
   yAxisIndex:3
   }]
   };
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] lsy9202 commented on issue #9332: 双grid时添加多yAxis时报错:xAxis and yAxis must use the same grid

2018-11-04 Thread GitBox
lsy9202 commented on issue #9332: 双grid时添加多yAxis时报错:xAxis and yAxis must use 
the same grid
URL: 
https://github.com/apache/incubator-echarts/issues/9332#issuecomment-435728905
 
 
   
改成这样不报错了,好像是xAxisIndex和yAxisIndex要成对出现。但是新情况是左右两边的yAxis都是只有一个显示刻度和文字,另一个只显示轴线没有刻度和文字。
   
   var option = {
   grid:[{
   height:"40%"
   },{
   height:"40%",
   bottom:"40px"
   }],
   xAxis: [{
   type: 'category',
   gridIndex:0,
   data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
   },{
   gridIndex:0
   },{
   gridIndex:1
   },{
   type: 'category',
   gridIndex:1,
   data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
   }],
   yAxis: [{
   type: 'value',
   gridIndex:0
   },{
   type:'value',
   gridIndex:0,
   scale:true,
   position:'right'
   },{
   type: 'value',
   gridIndex:1
   },{
   type:'value',
   gridIndex:1,
   scale:true,
   position:'right'
   }],
   series: [{
   data: [820, 932, 901, 934, 1290, 1330, 1320],
   type: 'line',
   xAxisIndex:0,
   yAxisIndex:0
   },{
   data: [820, 932, 901, 934, 1290, 1330, 1320],
   type: 'line',
   xAxisIndex:3,
   yAxisIndex:3
   }]
   };
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] zhangyunhai210 commented on issue #9301: 关于在桌面环境下对滑动事件的支持/About support for sliding events in the desktop environment

2018-11-04 Thread GitBox
zhangyunhai210 commented on issue #9301: 关于在桌面环境下对滑动事件的支持/About support for 
sliding events in the desktop environment
URL: 
https://github.com/apache/incubator-echarts/issues/9301#issuecomment-435727590
 
 
   > 戴尔24寸触摸屏触屏上是否任何触摸都没有响应?
   > (抱歉暂时没有这个设备来测试,只能猜测一下问题)
   
   只有图表canvas没有响应滑动事件,点击事件可以触发,
   网页body本身响应滑动和点击事件


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] okon3 commented on issue #9273: fix: #8444 axis align option ignored

2018-11-04 Thread GitBox
okon3 commented on issue #9273: fix: #8444 axis align option ignored
URL: 
https://github.com/apache/incubator-echarts/pull/9273#issuecomment-435709085
 
 
   @100pah Should be good now. 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #8335: 多类型柱状图如何在某项数据为0的情况下不显示该柱子(且不占据x轴空间)

2018-11-04 Thread GitBox
100pah commented on issue #8335: 多类型柱状图如何在某项数据为0的情况下不显示该柱子(且不占据x轴空间)
URL: 
https://github.com/apache/incubator-echarts/issues/8335#issuecomment-435688378
 
 
   这目前看起来不能够做到。


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #9301: 关于在桌面环境下对滑动事件的支持/About support for sliding events in the desktop environment

2018-11-04 Thread GitBox
100pah commented on issue #9301: 关于在桌面环境下对滑动事件的支持/About support for sliding 
events in the desktop environment
URL: 
https://github.com/apache/incubator-echarts/issues/9301#issuecomment-435688200
 
 
   戴尔24寸触摸屏触屏上是否任何触摸都没有响应?
   (抱歉暂时没有这个设备来测试,只能猜测一下问题)
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #9188: tooltip formatter when using axis trigger

2018-11-04 Thread GitBox
100pah commented on issue #9188: tooltip formatter when using axis trigger
URL: 
https://github.com/apache/incubator-echarts/issues/9188#issuecomment-435687712
 
 
   If the tooltip is `trigger: axis` and the axis is Y, only current y value 
can be obtained in the parameter of the tooltip.formatter.
   If the x value is required, maybe change it to this one 
.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #7340: 柱状图设置item颜色为透明时,legend看不出来

2018-11-04 Thread GitBox
100pah commented on issue #7340: 柱状图设置item颜色为透明时,legend看不出来
URL: 
https://github.com/apache/incubator-echarts/issues/7340#issuecomment-435685781
 
 
   legend 应支持设置 itemStyle,以及同步 borderColor。


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] ramarro123 edited a comment on issue #9188: tooltip formatter when using axis trigger

2018-11-04 Thread GitBox
ramarro123 edited a comment on issue #9188: tooltip formatter when using axis 
trigger
URL: 
https://github.com/apache/incubator-echarts/issues/9188#issuecomment-435685568
 
 
   ok, let me try again
   http://jsfiddle.net/kucpfb8x/
   
   this one have a renderitem, so you are happy, but still, the tooltip work in 
the same way :)
   
   if you go on top of the item, X value it's the whole dataset source, making 
it impossible to detect where i am at the current position


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] ramarro123 commented on issue #9188: tooltip formatter when using axis trigger

2018-11-04 Thread GitBox
ramarro123 commented on issue #9188: tooltip formatter when using axis trigger
URL: 
https://github.com/apache/incubator-echarts/issues/9188#issuecomment-435685568
 
 
   ok, let me try again
   http://jsfiddle.net/ap6ydveq/
   
   this one have a renderitem, so you are happy, but still, the tooltip work in 
the same way :)
   
   if you go on top of the item, X value it's the whole dataset source, making 
it impossible to detect where i am at the current position


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #9188: tooltip formatter when using axis trigger

2018-11-04 Thread GitBox
100pah commented on issue #9188: tooltip formatter when using axis trigger
URL: 
https://github.com/apache/incubator-echarts/issues/9188#issuecomment-435683717
 
 
   If there is no `renderItem`, no chart will be painted, and only grid is 
painted.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #6447: 请问是否支持多grid多yAxis的图表?

2018-11-04 Thread GitBox
100pah commented on issue #6447: 请问是否支持多grid多yAxis的图表?
URL: 
https://github.com/apache/incubator-echarts/issues/6447#issuecomment-435683519
 
 
   支持,配置正确即可。


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #9332: 双grid时添加多yAxis时报错:xAxis and yAxis must use the same grid

2018-11-04 Thread GitBox
100pah commented on issue #9332: 双grid时添加多yAxis时报错:xAxis and yAxis must use the 
same grid
URL: 
https://github.com/apache/incubator-echarts/issues/9332#issuecomment-435683398
 
 
   就是如错误提示所示,配置有误,没有对应到同一个 grid。


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] iamweilee edited a comment on issue #9331: 当主图tooltip的trigger设为axis时,如何使得markPoint在mouseover到它上面时显示跟随的tooltip

2018-11-04 Thread GitBox
iamweilee edited a comment on issue #9331: 
当主图tooltip的trigger设为axis时,如何使得markPoint在mouseover到它上面时显示跟随的tooltip
URL: 
https://github.com/apache/incubator-echarts/issues/9331#issuecomment-435678710
 
 
   > MarkPoint 目前版本确实做不到这件事。
   > 如果不使用 MarkPoint,而是使用第一个单独的系列,例如 scatter,那么可以单独在此系列上定制
   > trigger 为 'item' 的 tooltip。
   
   
那么这个单独scatter系列里设置的tooltip和在option最外层设置的tooltip两者是否是独立的呢?我希望candlestick的tooltip始终固定位置,而scatter的tooltip可以被item的mouseover事件触发并跟随鼠标位置显示
   
补充:经过亲自试验,这两个tooltip是同一个tooltip,但是当是axis触发的时候位置是固定的,当是item触发的时候tooltip位置根据scatter的position配置项而定(这个配置项可以设置为top、bottom、left、right等等)


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] iamweilee edited a comment on issue #9331: 当主图tooltip的trigger设为axis时,如何使得markPoint在mouseover到它上面时显示跟随的tooltip

2018-11-04 Thread GitBox
iamweilee edited a comment on issue #9331: 
当主图tooltip的trigger设为axis时,如何使得markPoint在mouseover到它上面时显示跟随的tooltip
URL: 
https://github.com/apache/incubator-echarts/issues/9331#issuecomment-435678710
 
 
   > MarkPoint 目前版本确实做不到这件事。
   > 如果不使用 MarkPoint,而是使用第一个单独的系列,例如 scatter,那么可以单独在此系列上定制
   > trigger 为 'item' 的 tooltip。
   
   
那么这个单独scatter系列里设置的tooltip和在option最外层设置的tooltip两者是否是独立的呢?我希望candlestick的tooltip始终固定位置,而scatter的tooltip可以被item的mouseover事件触发并跟随鼠标位置显示
   
补充:经过亲自试验,这两个tooltip是同一个tooltip,但是当是axis触发的时候位置是固定的,当是item触发的时候tooltip位置根据scatter的position配置项而定(这个配置项可以设置为top、right、left、right等等)


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] iamweilee edited a comment on issue #9331: 当主图tooltip的trigger设为axis时,如何使得markPoint在mouseover到它上面时显示跟随的tooltip

2018-11-04 Thread GitBox
iamweilee edited a comment on issue #9331: 
当主图tooltip的trigger设为axis时,如何使得markPoint在mouseover到它上面时显示跟随的tooltip
URL: 
https://github.com/apache/incubator-echarts/issues/9331#issuecomment-435678710
 
 
   > MarkPoint 目前版本确实做不到这件事。
   > 如果不使用 MarkPoint,而是使用第一个单独的系列,例如 scatter,那么可以单独在此系列上定制
   > trigger 为 'item' 的 tooltip。
   
   
那么这个单独scatter系列里设置的tooltip和在option最外层设置的tooltip两者是否是独立的呢?我希望candlestick的tooltip始终固定位置,而scatter的tooltip可以被item的mouseover事件触发并跟随鼠标位置显示
   
补充:经过亲自试验,这两个tooltip是同一个tooltip,但是当是axis触发的时候位置是固定的,当是item触发的时候tooltip位置根据scatter的position配置项而定(这个配置项可以设置为top、right、left、right)


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] iamweilee commented on issue #9331: 当主图tooltip的trigger设为axis时,如何使得markPoint在mouseover到它上面时显示跟随的tooltip

2018-11-04 Thread GitBox
iamweilee commented on issue #9331: 
当主图tooltip的trigger设为axis时,如何使得markPoint在mouseover到它上面时显示跟随的tooltip
URL: 
https://github.com/apache/incubator-echarts/issues/9331#issuecomment-435678710
 
 
   > MarkPoint 目前版本确实做不到这件事。
   > 如果不使用 MarkPoint,而是使用第一个单独的系列,例如 scatter,那么可以单独在此系列上定制
   > trigger 为 'item' 的 tooltip。
   
   
那么这个单独scatter系列里设置的tooltip和在option最外层设置的tooltip两者是否是独立的呢?我希望candlestick的tooltip始终固定位置,而scatter的tooltip可以被item的mouseover事件触发并跟随鼠标位置显示


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah closed pull request #9171: fix #8009 & #5969, symbol symbolSize and opacity setting for category itemStyle in graph

2018-11-04 Thread GitBox
100pah closed pull request #9171: fix #8009 & #5969, symbol symbolSize and 
opacity setting for category itemStyle in graph
URL: https://github.com/apache/incubator-echarts/pull/9171
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/src/chart/graph/categoryVisual.js 
b/src/chart/graph/categoryVisual.js
index e7e318f53..00c54f968 100644
--- a/src/chart/graph/categoryVisual.js
+++ b/src/chart/graph/categoryVisual.js
@@ -31,11 +31,19 @@ export default function (ecModel) {
 var name = categoriesData.getName(idx);
 // Add prefix to avoid conflict with Object.prototype.
 categoryNameIdxMap['ec-' + name] = idx;
-
 var itemModel = categoriesData.getItemModel(idx);
+
 var color = itemModel.get('itemStyle.color')
 || seriesModel.getColorFromPalette(name, paletteScope);
 categoriesData.setItemVisual(idx, 'color', color);
+
+var itemStyleList = ['opacity', 'symbol', 'symbolSize', 
'symbolKeepAspect'];
+for (var i = 0; i < itemStyleList.length; i++) {
+var itemStyle = itemModel.getShallow(itemStyleList[i], true);
+if (itemStyle != null) {
+categoriesData.setItemVisual(idx, itemStyleList[i], 
itemStyle);
+}
+}
 });
 
 // Assign category color to visual
@@ -47,14 +55,19 @@ export default function (ecModel) {
 if (typeof category === 'string') {
 category = categoryNameIdxMap['ec-' + category];
 }
-if (!data.getItemVisual(idx, 'color', true)) {
-data.setItemVisual(
-idx, 'color',
-categoriesData.getItemVisual(category, 'color')
-);
+
+var itemStyleList = ['color', 'opacity', 'symbol', 
'symbolSize', 'symbolKeepAspect'];
+
+for (var i = 0; i < itemStyleList.length; i++) {
+if (data.getItemVisual(idx, itemStyleList[i], true) == 
null) {
+data.setItemVisual(
+idx, itemStyleList[i],
+categoriesData.getItemVisual(category, 
itemStyleList[i])
+);
+}
 }
 }
 });
 }
 });
-}
\ No newline at end of file
+}


 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #9316: echarts能在线生成图表吗?

2018-11-04 Thread GitBox
100pah commented on issue #9316: echarts能在线生成图表吗?
URL: 
https://github.com/apache/incubator-echarts/issues/9316#issuecomment-435670777
 
 
   整体流程确实是这样的。
   如果仅仅是做一个 json 的可视化编辑器,在某些场景,并不一定方便使用。
   比如完成一个事情可能要修改几处的 json 配置。
   当然,json 可视化编辑,也可能能一定程度带来方便,我不是十分确定。


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #9310: zoom 属性设置缩放 图表悬浮不正常

2018-11-04 Thread GitBox
100pah commented on issue #9310: zoom 属性设置缩放 图表悬浮不正常
URL: 
https://github.com/apache/incubator-echarts/issues/9310#issuecomment-435670406
 
 
   echarts 的版本是?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on a change in pull request #9171: fix #8009 & #5969, symbol symbolSize and opacity setting for category itemStyle in graph

2018-11-04 Thread GitBox
100pah commented on a change in pull request #9171: fix #8009 & #5969, symbol 
symbolSize and opacity setting for category itemStyle in graph
URL: https://github.com/apache/incubator-echarts/pull/9171#discussion_r230588438
 
 

 ##
 File path: src/chart/graph/categoryVisual.js
 ##
 @@ -31,30 +31,53 @@ export default function (ecModel) {
 var name = categoriesData.getName(idx);
 // Add prefix to avoid conflict with Object.prototype.
 categoryNameIdxMap['ec-' + name] = idx;
-
 var itemModel = categoriesData.getItemModel(idx);
+
 var color = itemModel.get('itemStyle.color')
 || seriesModel.getColorFromPalette(name, paletteScope);
 categoriesData.setItemVisual(idx, 'color', color);
+
+var opacity = itemModel.get('itemStyle.opacity') || 1;
+categoriesData.setItemVisual(idx, 'opacity', opacity);
+
+var symbolStyleList = ['symbolSize', 'symbolKeepAspect'];
+for (var i = 0; i < symbolStyleList.length; i++) {
+var symbolStyleItem = itemModel.getShallow(symbolStyleList[i], 
true);
+if (symbolStyleItem != null) {
+categoriesData.setItemVisual(idx, symbolStyleList[i], 
symbolStyleItem);
+}
+}
+
 });
 
 // Assign category color to visual
 if (categoriesData.count()) {
 data.each(function (idx) {
+var itemModel = categoriesData.getItemModel(idx);
+var symbol = itemModel.getShallow('symbol', true);
+if (symbol) {
 
 Review comment:
   My fault. `setItemVisual('symbol', ...)` works...
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah edited a comment on issue #8161: tooltip 默认时文字前面相应颜色的圆点,在设置 tooltip.formatter 后,如何显示?

2018-11-04 Thread GitBox
100pah edited a comment on issue #8161: tooltip 默认时文字前面相应颜色的圆点,在设置 
tooltip.formatter 后,如何显示?
URL: 
https://github.com/apache/incubator-echarts/issues/8161#issuecomment-435667047
 
 
   可使用 
   ```js
   var markerHTML = echarts.format.getTooltipMarker('#123456');
   ```


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah edited a comment on issue #8161: tooltip 默认时文字前面相应颜色的圆点,在设置 tooltip.formatter 后,如何显示?

2018-11-04 Thread GitBox
100pah edited a comment on issue #8161: tooltip 默认时文字前面相应颜色的圆点,在设置 
tooltip.formatter 后,如何显示?
URL: 
https://github.com/apache/incubator-echarts/issues/8161#issuecomment-435667047
 
 
   可使用 
   ```js
   var markerHTML = echarts.util.format.getTooltipMarker('#123456');
   ```


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #8161: tooltip 默认时文字前面相应颜色的圆点,在设置 tooltip.formatter 后,如何显示?

2018-11-04 Thread GitBox
100pah commented on issue #8161: tooltip 默认时文字前面相应颜色的圆点,在设置 tooltip.formatter 
后,如何显示?
URL: 
https://github.com/apache/incubator-echarts/issues/8161#issuecomment-435667047
 
 
   可使用 
   `var markerHTML = echarts.util.format.getTooltipMarker('#123456');`


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



Criteria for new ECharts committers

2018-11-04 Thread Wenli Zhang
Hi all,

As you can see, we have several new contributors making PRs for our project.
And here we'd like to discuss what criteria is requested for one to become
a committer.

Here are some of my suggestions to start with:

1. We can set a minimum number for required PRs merged or issues
contributed. And we need to discuss the amount for them. How about 3 merged
PRs and 10 issues?
As for the definition of *issues contributed*, I think they should report
to us those issues that they think they've helped or made a progress, and
let us judge.

2. I'd suggest candidates send an email for application (maybe to the
private mailing list) and mention the links of their PRs or solved issues
or other contributions (like document fixing, suggestions and etc.). If you
guys agree on this, we shall put a notice about the details on our website
or GitHub about how to apply.

3. The quality is even more important, so this should probably also be
assessed by us.

4. Another requirement I think necessary is the commitment to contribute,
which may be in the form of making more PRs or fixing document errors, or
answering issue problems.

5. After an offline discussion with Dave, Shen Yi and Su Shuang, we think
it is necessary to require those new committers to make PR before their
commits are merged. It's a safer way to make sure our code is at its best
state.

Please feel free to share your opinions on this topic!
And looking forward to having new committers. :)

Zhang Wenli
http://zhangwenli.com


[GitHub] 100pah edited a comment on issue #9190: Echarts 4.x 在线定制,graph图表渲染时会有透明度

2018-11-04 Thread GitBox
100pah edited a comment on issue #9190: Echarts 4.x 在线定制,graph图表渲染时会有透明度
URL: 
https://github.com/apache/incubator-echarts/issues/9190#issuecomment-435662799
 
 
   可暂时将 `edgeLabel: {show: true}` 去掉。下版本修复。


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #9190: Echarts 4.x 在线定制,graph图表渲染时会有透明度

2018-11-04 Thread GitBox
100pah commented on issue #9190: Echarts 4.x 在线定制,graph图表渲染时会有透明度
URL: 
https://github.com/apache/incubator-echarts/issues/9190#issuecomment-435662799
 
 
   可暂时将 `edgeLabel: true` 去掉。下版本修复。


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] lsy9202 opened a new issue #9332: 双grid时添加多yAxis时报错:xAxis and yAxis must use the same grid

2018-11-04 Thread GitBox
lsy9202 opened a new issue #9332: 双grid时添加多yAxis时报错:xAxis and yAxis must use 
the same grid
URL: https://github.com/apache/incubator-echarts/issues/9332
 
 
   
   
   
   ### One-line summary [问题简述]
   双grid,双yAxis时报错:
   echarts_v4.2.0rc2.js:39142 Uncaught Error: xAxis and yAxis must use the same 
grid
   at echarts_v4.2.0rc2.js:39142
   at ExtendedClass. (echarts_v4.2.0rc2.js:21073)
   at Array.forEach ()
   at each$1 (echarts_v4.2.0rc2.js:528)
   at ExtendedClass.eachSeries (echarts_v4.2.0rc2.js:21071)
   at Function.Grid.create (echarts_v4.2.0rc2.js:39120)
   at echarts_v4.2.0rc2.js:21377
   at each$1 (echarts_v4.2.0rc2.js:538)
   at CoordinateSystemManager.create (echarts_v4.2.0rc2.js:21376)
   at ECharts.update (echarts_v4.2.0rc2.js:27205)
   
   
   
   ### Version & Environment [版本及环境]
   + ECharts version [ECharts 版本]:4.2.0rc2
   + Browser version [浏览器类型和版本]:chrome v70
   + OS Version [操作系统类型和版本]:win10
   
   
   
   
   
   ### Expected behaviour [期望结果]
   
   
   
   
   
   ### ECharts option [ECharts配置项]
   
   
   ```javascript
   option = {
   grid:[{
   height:"40%"
   },{
   height:"40%",
   bottom:"20px"
   }],
   xAxis: [{
   type: 'category',
   gridIndex:0,
   data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
   },{
   type: 'category',
   gridIndex:1,
   data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
   }],
   yAxis: [{
   type: 'value',
   gridIndex:0
   },{
   type:'value',
   gridIndex:0,
   position:'right'
   },{
   type: 'value',
   gridIndex:1
   },{
   type:'value',
   gridIndex:1,
   position:'right'
   }],
   series: [{
   data: [820, 932, 901, 934, 1290, 1330, 1320],
   type: 'line',
   xAxisIndex:0,
   yAxisIndex:0
   },{
   data: [820, 932, 901, 934, 1290, 1330, 1320],
   type: 'line',
   xAxisIndex:1,
   yAxisIndex:1
   }]
   };
   
   
   ```
   
   
   
   
   ### Other comments [其他信息]
   
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] lsy9202 commented on issue #6447: 请问是否支持多grid多yAxis的图表?

2018-11-04 Thread GitBox
lsy9202 commented on issue #6447: 请问是否支持多grid多yAxis的图表?
URL: 
https://github.com/apache/incubator-echarts/issues/6447#issuecomment-435661719
 
 
   遇到了同样问题。
   
   option = {
   grid:[{
   height:"40%"
   },{
   height:"40%",
   bottom:"20px"
   }],
   xAxis: [{
   type: 'category',
   gridIndex:0,
   data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
   },{
   type: 'category',
   gridIndex:1,
   data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
   }],
   yAxis: [{
   type: 'value',
   gridIndex:0
   },{
   type:'value',
   gridIndex:0,
   position:'right'
   },{
   type: 'value',
   gridIndex:1
   },{
   type:'value',
   gridIndex:1,
   position:'right'
   }],
   series: [{
   data: [820, 932, 901, 934, 1290, 1330, 1320],
   type: 'line',
   xAxisIndex:0,
   yAxisIndex:0
   },{
   data: [820, 932, 901, 934, 1290, 1330, 1320],
   type: 'line',
   xAxisIndex:1,
   yAxisIndex:1
   }]
   };
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #9329: vue中按需引入dataZoom,明显比全量引入echarts,前后拖动操作更卡。是否还需引入某些性能优化组件?

2018-11-04 Thread GitBox
100pah commented on issue #9329: 
vue中按需引入dataZoom,明显比全量引入echarts,前后拖动操作更卡。是否还需引入某些性能优化组件?
URL: 
https://github.com/apache/incubator-echarts/issues/9329#issuecomment-435661342
 
 
   
   虽然我并没有试过,但是或许:
   
   
   > Properties that start with _ or $ will not be proxied on the Vue instance 
because they may conflict with Vue’s internal properties and API methods. You 
will have to access them as vm.$data._property.
   
   参见:
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] ramarro123 commented on issue #9188: tooltip formatter when using axis trigger

2018-11-04 Thread GitBox
ramarro123 commented on issue #9188: tooltip formatter when using axis trigger
URL: 
https://github.com/apache/incubator-echarts/issues/9188#issuecomment-435660771
 
 
   1) even without renderItem method, grid should work (if you go mouseover on 
chart it should log the data on console i think)
   
   2) if tooltip trigger = axis, and i go hovering, the formatter log ALL the 
data (10 entry in this case)
   so how should i detect where am i?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #9188: tooltip formatter when using axis trigger

2018-11-04 Thread GitBox
100pah commented on issue #9188: tooltip formatter when using axis trigger
URL: 
https://github.com/apache/incubator-echarts/issues/9188#issuecomment-435660485
 
 
   (1) The 4 series is `type: 'custom'`, but I dont find a `renderItem` method, 
which is necessary in 'custom series'.
   (2) When using `tooltip.trigger: 'axis'`, if we are hovering on a value like 
'Pump' on y axis, all of the data item having 'Pump' on the dimension 
corresponding to y will be included in the `formatter` parameters.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #9320: 关系图

2018-11-04 Thread GitBox
100pah commented on issue #9320: 关系图
URL: 
https://github.com/apache/incubator-echarts/issues/9320#issuecomment-435658812
 
 
   
   如果仅仅是“让某些点高亮,其他点保持原样”,可以尝试使用:
   `chart.dispatchAction({type: 'highlight', ...})` 
   
   如果是“让某些点高亮其他点暗下来”,这目前只能通过 setOption 实现。
   
   类似问题也参见 #9292
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #9324: 改 option 切换时,数据变少了

2018-11-04 Thread GitBox
100pah commented on issue #9324: 改 option 切换时,数据变少了
URL: 
https://github.com/apache/incubator-echarts/issues/9324#issuecomment-435658339
 
 
   准备的数据(dataset.source)看起来有点问题:
   
   
![image](https://user-images.githubusercontent.com/1956569/47962980-f2833480-e05f-11e8-8354-6229964d63da.png)
   
   
![image](https://user-images.githubusercontent.com/1956569/47962982-f616bb80-e05f-11e8-8afd-513f150c0031.png)
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on a change in pull request #9171: fix #8009 & #5969, symbol symbolSize and opacity setting for category itemStyle in graph

2018-11-04 Thread GitBox
100pah commented on a change in pull request #9171: fix #8009 & #5969, symbol 
symbolSize and opacity setting for category itemStyle in graph
URL: https://github.com/apache/incubator-echarts/pull/9171#discussion_r230582892
 
 

 ##
 File path: src/chart/graph/categoryVisual.js
 ##
 @@ -37,28 +37,21 @@ export default function (ecModel) {
 || seriesModel.getColorFromPalette(name, paletteScope);
 categoriesData.setItemVisual(idx, 'color', color);
 
-var opacity = itemModel.get('itemStyle.opacity') || 1;
-categoriesData.setItemVisual(idx, 'opacity', opacity);
+var opacity = itemModel.get('opacity');
+if (opacity != undefined) {
 
 Review comment:
   A tiny issue, in most cases, `xxx != null` is a little better than `xxx != 
undefined`, although they have the same meaning. Probably because `undefined` 
can be redefined in some environments but `null` can not.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on a change in pull request #9171: fix #8009 & #5969, symbol symbolSize and opacity setting for category itemStyle in graph

2018-11-04 Thread GitBox
100pah commented on a change in pull request #9171: fix #8009 & #5969, symbol 
symbolSize and opacity setting for category itemStyle in graph
URL: https://github.com/apache/incubator-echarts/pull/9171#discussion_r230582711
 
 

 ##
 File path: src/chart/graph/categoryVisual.js
 ##
 @@ -31,30 +31,53 @@ export default function (ecModel) {
 var name = categoriesData.getName(idx);
 // Add prefix to avoid conflict with Object.prototype.
 categoryNameIdxMap['ec-' + name] = idx;
-
 var itemModel = categoriesData.getItemModel(idx);
+
 var color = itemModel.get('itemStyle.color')
 || seriesModel.getColorFromPalette(name, paletteScope);
 categoriesData.setItemVisual(idx, 'color', color);
+
+var opacity = itemModel.get('itemStyle.opacity') || 1;
+categoriesData.setItemVisual(idx, 'opacity', opacity);
+
+var symbolStyleList = ['symbolSize', 'symbolKeepAspect'];
+for (var i = 0; i < symbolStyleList.length; i++) {
+var symbolStyleItem = itemModel.getShallow(symbolStyleList[i], 
true);
+if (symbolStyleItem != null) {
+categoriesData.setItemVisual(idx, symbolStyleList[i], 
symbolStyleItem);
+}
+}
+
 });
 
 // Assign category color to visual
 if (categoriesData.count()) {
 data.each(function (idx) {
+var itemModel = categoriesData.getItemModel(idx);
+var symbol = itemModel.getShallow('symbol', true);
+if (symbol) {
+data.setItemVisual(idx, 'symbol', symbol);
+}
+
 var model = data.getItemModel(idx);
 var category = model.getShallow('category');
 if (category != null) {
 if (typeof category === 'string') {
 category = categoryNameIdxMap['ec-' + category];
 }
-if (!data.getItemVisual(idx, 'color', true)) {
-data.setItemVisual(
-idx, 'color',
-categoriesData.getItemVisual(category, 'color')
-);
+
+var itemStyleList = ['color', 'opacity', 'symbolSize', 
'symbolKeepAspect'];
+
+for (var i = 0; i < itemStyleList.length; i++) {
+if (!data.getItemVisual(idx, itemStyleList[i], true)) {
+data.setItemVisual(
+idx, itemStyleList[i],
+categoriesData.getItemVisual(category, 
itemStyleList[i])
+);
+}
 }
 
 Review comment:
   `color`, `opacity`, `symbolSize` are retrieved in 
`src/chart/helper/Symbol.js` (search `'getItemVisual'` in this file). The 
`src/chart/helper/Symbol.js`, used by `GraphView.js`, is a common module 
abstracting the drawing and other behaviors of each node of the graph.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on a change in pull request #9171: fix #8009 & #5969, symbol symbolSize and opacity setting for category itemStyle in graph

2018-11-04 Thread GitBox
100pah commented on a change in pull request #9171: fix #8009 & #5969, symbol 
symbolSize and opacity setting for category itemStyle in graph
URL: https://github.com/apache/incubator-echarts/pull/9171#discussion_r230582711
 
 

 ##
 File path: src/chart/graph/categoryVisual.js
 ##
 @@ -31,30 +31,53 @@ export default function (ecModel) {
 var name = categoriesData.getName(idx);
 // Add prefix to avoid conflict with Object.prototype.
 categoryNameIdxMap['ec-' + name] = idx;
-
 var itemModel = categoriesData.getItemModel(idx);
+
 var color = itemModel.get('itemStyle.color')
 || seriesModel.getColorFromPalette(name, paletteScope);
 categoriesData.setItemVisual(idx, 'color', color);
+
+var opacity = itemModel.get('itemStyle.opacity') || 1;
+categoriesData.setItemVisual(idx, 'opacity', opacity);
+
+var symbolStyleList = ['symbolSize', 'symbolKeepAspect'];
+for (var i = 0; i < symbolStyleList.length; i++) {
+var symbolStyleItem = itemModel.getShallow(symbolStyleList[i], 
true);
+if (symbolStyleItem != null) {
+categoriesData.setItemVisual(idx, symbolStyleList[i], 
symbolStyleItem);
+}
+}
+
 });
 
 // Assign category color to visual
 if (categoriesData.count()) {
 data.each(function (idx) {
+var itemModel = categoriesData.getItemModel(idx);
+var symbol = itemModel.getShallow('symbol', true);
+if (symbol) {
+data.setItemVisual(idx, 'symbol', symbol);
+}
+
 var model = data.getItemModel(idx);
 var category = model.getShallow('category');
 if (category != null) {
 if (typeof category === 'string') {
 category = categoryNameIdxMap['ec-' + category];
 }
-if (!data.getItemVisual(idx, 'color', true)) {
-data.setItemVisual(
-idx, 'color',
-categoriesData.getItemVisual(category, 'color')
-);
+
+var itemStyleList = ['color', 'opacity', 'symbolSize', 
'symbolKeepAspect'];
+
+for (var i = 0; i < itemStyleList.length; i++) {
+if (!data.getItemVisual(idx, itemStyleList[i], true)) {
+data.setItemVisual(
+idx, itemStyleList[i],
+categoriesData.getItemVisual(category, 
itemStyleList[i])
+);
+}
 }
 
 Review comment:
   `color`, `opacity`, `symbolSize` are retrieved in 
`src/chart/helper/Symbol.js` (search `'getItemVisual'` in this file. The 
`src/chart/helper/Symbol.js`, used by `GraphView.js`, is a common module 
abstracting the drawing and other behaviors of each node of the graph.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] yequ1006 commented on issue #9329: vue中按需引入dataZoom,明显比全量引入echarts,前后拖动操作更卡。是否还需引入某些性能优化组件?

2018-11-04 Thread GitBox
yequ1006 commented on issue #9329: 
vue中按需引入dataZoom,明显比全量引入echarts,前后拖动操作更卡。是否还需引入某些性能优化组件?
URL: 
https://github.com/apache/incubator-echarts/issues/9329#issuecomment-435657055
 
 
   确实放this上了,那应该怎么做呢?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #9326: 关系图中怎么使用多维度数据进行视觉映射visualMap?

2018-11-04 Thread GitBox
100pah commented on issue #9326: 关系图中怎么使用多维度数据进行视觉映射visualMap?
URL: 
https://github.com/apache/incubator-echarts/issues/9326#issuecomment-435656960
 
 
   当然版本中,关系图只能用 viusualMap 映射颜色。
   这有望在下版本中得到改善。参见 #9171。


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #9328: 折线图用按钮切换改变数据的时候,会短暂的出现一条竖线然后消失

2018-11-04 Thread GitBox
100pah commented on issue #9328: 折线图用按钮切换改变数据的时候,会短暂的出现一条竖线然后消失
URL: 
https://github.com/apache/incubator-echarts/issues/9328#issuecomment-435656812
 
 
   没有提供 option,难于知道具体问题。


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #9329: vue中按需引入dataZoom,明显比全量引入echarts,前后拖动操作更卡。是否还需引入某些性能优化组件?

2018-11-04 Thread GitBox
100pah commented on issue #9329: 
vue中按需引入dataZoom,明显比全量引入echarts,前后拖动操作更卡。是否还需引入某些性能优化组件?
URL: 
https://github.com/apache/incubator-echarts/issues/9329#issuecomment-435656744
 
 
   有没有把 chart 实例,放在 vue 组件的 this 上?
   (因为之前其他人遇到的问题,把 chart 放在了 this 上导致 vue 对所有属性都进行包装,从而速度很慢,不知道会不会有这个原因)


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org



[GitHub] 100pah commented on issue #9331: 当主图tooltip的trigger设为axis时,如何使得markPoint在mouseover到它上面时显示跟随的tooltip

2018-11-04 Thread GitBox
100pah commented on issue #9331: 
当主图tooltip的trigger设为axis时,如何使得markPoint在mouseover到它上面时显示跟随的tooltip
URL: 
https://github.com/apache/incubator-echarts/issues/9331#issuecomment-435656357
 
 
   MarkPoint 目前版本确实做不到这件事。
   如果不使用 MarkPoint,而是使用第一个单独的系列,例如 scatter,那么可以单独在此系列上定制 
   trigger 为 'item' 的 tooltip。


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org