[GitHub] semdy commented on issue #5009: canvas经过css3旋转90deg之后,响应触摸点有问题
semdy commented on issue #5009: canvas经过css3旋转90deg之后,响应触摸点有问题 URL: https://github.com/apache/incubator-echarts/issues/5009#issuecomment-393758782 @hsay 是的 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] rickysang commented on issue #7370: 滚动图例,icon为circle时,第一个icon显示不全
rickysang commented on issue #7370: 滚动图例,icon为circle时,第一个icon显示不全 URL: https://github.com/apache/incubator-echarts/issues/7370#issuecomment-393758313 遇到了相同的问题,发现改小图例宽度`legend.itemWidth`能暂时避免这个问题,但是改的太小文字也会缩小。 ![20180601125750](https://user-images.githubusercontent.com/19810448/40821841-b7448282-659b-11e8-8b5c-0171d1206a37.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] wyrj opened a new issue #8444: yaxis name alignment fail
wyrj opened a new issue #8444: yaxis name alignment fail URL: https://github.com/apache/incubator-echarts/issues/8444 ### One-line summary [问题简述] It seems always be 'center' no matter what value I set for yAxis.nameTextStyle.align ### Version & Environment [版本及环境] + ECharts version [ECharts 版本]: 4.1.0 + Browser version [浏览器类型和版本]: 66.0.3359.181 + OS Version [操作系统类型和版本]: Windows 7 ### Expected behaviour [期望结果] ### ECharts option [ECharts配置项] ```javascript option = { xAxis: { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }, yAxis: { type: 'value', name: 'WWW', nameTextStyle: { color: 'red', align: 'left', //the setting is failed } }, series: [{ data: [820, 932, 901, 934, 1290, 1330, 1320], type: 'line' }] }; ``` ### 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] fwfm opened a new issue #8443: 地图显示问题
fwfm opened a new issue #8443: 地图显示问题 URL: https://github.com/apache/incubator-echarts/issues/8443 ### One-line summary [问题简述] 在引用中国地图的js库之后,显示到页面时各省份之间出现空隙。 ### Version & Environment [版本及环境] + ECharts version [ECharts 版本]: + Browser version [浏览器类型和版本]: + OS Version [操作系统类型和版本]: ### Expected behaviour [期望结果] ### ECharts option [ECharts配置项] ```javascript option = { title : { text: '企业对外投资分布图', left: 'center' }, tooltip : { trigger: 'item' }, legend: { orient: 'vertical', left: 'left', data:[], selectedMode: false }, visualMap: { min: 0, max: 2500, left: 'left', top: 'bottom', text:['高','低'], // 文本,默认为数值文本 calculable : true }, toolbox: { show: true, orient : 'vertical', left: 'right', top: 'center', feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, restore : {show: true}, saveAsImage : {show: true} } }, series : [ { name: 'iphone3', type: 'map', mapType: 'china', roam: false, zoom:0.8, left: 0, label: { normal: { show: false }, emphasis: { show: true } }, data: data },{ name:'2011全国GDP对比', type:'pie', roseType : 'area', tooltip: { trigger: 'item', formatter: "{a} {b} : {c} ({d}%)" }, center:['800','50%'], radius: [30, 100], data:[ {name: '北京', value: 16251.93}, {name: '上海', value: 19195.69}, {name: '广东', value: 53210.28} ] } ] } ``` ### Other comments [其他信息] ![0](https://user-images.githubusercontent.com/39818084/40820096-1d036cb0-6591-11e8-9e96-3e43d84315c1.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] ZhuGYao opened a new issue #8442: timeline与地图整合,拖动timeline,地图也会跟随移动,无法监测到时间轴拖动事件!
ZhuGYao opened a new issue #8442: timeline与地图整合,拖动timeline,地图也会跟随移动,无法监测到时间轴拖动事件! URL: https://github.com/apache/incubator-echarts/issues/8442 ### One-line summary [问题简述] 希望能将此拖动能检测到,能拿到钩子函数,谢谢。 ### Version & Environment [版本及环境] + ECharts version [ECharts 版本]:3.8.5 + Browser version [浏览器类型和版本]:谷歌 + OS Version [操作系统类型和版本]:win7 ### Expected behaviour [期望结果] 谢谢,希望能拿到钩子函数 ### ECharts option [ECharts配置项] ```javascript option = { } ``` ### Other comments [其他信息] ![default](https://user-images.githubusercontent.com/24791960/40819674-da322428-658e-11e8-8898-cb389fc2e6dc.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
Re: Request for Apache Website server
Hi John, I managed to push to the repo. Thanks! Zhang Wenli http://zhangwenli.com On Fri, Jun 1, 2018 at 9:14 AM, John D. Ament wrote: > Could you double check? The repo is empty, so needs something pushed to it. > > John > > On Wed, May 30, 2018 at 11:07 PM Wenli Zhang > wrote: > > > Hi John, > > > > Thanks for reply. > > > > You mentioned that just created a git repo. I guess that should be > > https://github.com/apache/incubator-echarts-website . > > But we don't have the access to it, probably admin right is needed. > > > > Thanks! > > > > Zhang Wenli > > http://zhangwenli.com > > > > On Thu, May 31, 2018 at 10:54 AM, John D. Ament > > wrote: > > > > > Sending an email is probably the easiest way to get started. I believe > > > what you did was create a JIRA ticket in our JIRA board, INFRA has > their > > > own. > > > > > > Getting a website is a handful of steps. > > > > > > - Create a git repo created (just did that) > > > - Create two branches on the repo. One that includes the source files > > for > > > editing, another that includes the final production build. We > typically > > > use "master" for the code, and "asf-site" for the build output > > > - Create an automated build process so that when someone pushes to > > master, > > > it builds and places output into asf-site branch. If you review > > > https://github.com/apache/incubator/blob/master/build_site.sh it > should > > > give you a general understanding of how that works. This script is run > > > from Jenkins. > > > - Once we have that build in place, we can ask INFRA to serve our > > asf-site > > > branch as the website for echarts.incubator.apache.org > > > > > > Let me know if that works. > > > > > > John > > > > > > > > > On Wed, May 30, 2018 at 10:48 PM Wenli Zhang > > > wrote: > > > > > > > Hi, > > > > > > > > We'd like to request for Apache Website server for > > > > http://echarts.incubator.apache.org/ . > > > > > > > > We want to use gitpubsub, so how can we create this git repo? > > > > > > > > I created this issue > > > > > > > > https://issues.apache.org/jira/projects/ECHARTS/issues/ > > > ECHARTS-1?filter=allopenissues > > > > but no one replied. So I guess I need to send this email to discuss > > about > > > > it. > > > > > > > > Thanks! > > > > > > > > Zhang Wenli > > > > http://zhangwenli.com > > > > > > > > > >
[GitHub] komagic commented on issue #8436: 如何获取省内每个市的坐标建立地图?
komagic commented on issue #8436: 如何获取省内每个市的坐标建立地图? URL: https://github.com/apache/incubator-echarts/issues/8436#issuecomment-393738283 我之前用的时候杭州湾,新疆,海南、内蒙古有些问题。。关键是现在还要求敏感边界要虚线,海岸线要虚线,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
Re: Request for Apache Website server
Could you double check? The repo is empty, so needs something pushed to it. John On Wed, May 30, 2018 at 11:07 PM Wenli Zhang wrote: > Hi John, > > Thanks for reply. > > You mentioned that just created a git repo. I guess that should be > https://github.com/apache/incubator-echarts-website . > But we don't have the access to it, probably admin right is needed. > > Thanks! > > Zhang Wenli > http://zhangwenli.com > > On Thu, May 31, 2018 at 10:54 AM, John D. Ament > wrote: > > > Sending an email is probably the easiest way to get started. I believe > > what you did was create a JIRA ticket in our JIRA board, INFRA has their > > own. > > > > Getting a website is a handful of steps. > > > > - Create a git repo created (just did that) > > - Create two branches on the repo. One that includes the source files > for > > editing, another that includes the final production build. We typically > > use "master" for the code, and "asf-site" for the build output > > - Create an automated build process so that when someone pushes to > master, > > it builds and places output into asf-site branch. If you review > > https://github.com/apache/incubator/blob/master/build_site.sh it should > > give you a general understanding of how that works. This script is run > > from Jenkins. > > - Once we have that build in place, we can ask INFRA to serve our > asf-site > > branch as the website for echarts.incubator.apache.org > > > > Let me know if that works. > > > > John > > > > > > On Wed, May 30, 2018 at 10:48 PM Wenli Zhang > > wrote: > > > > > Hi, > > > > > > We'd like to request for Apache Website server for > > > http://echarts.incubator.apache.org/ . > > > > > > We want to use gitpubsub, so how can we create this git repo? > > > > > > I created this issue > > > > > > https://issues.apache.org/jira/projects/ECHARTS/issues/ > > ECHARTS-1?filter=allopenissues > > > but no one replied. So I guess I need to send this email to discuss > about > > > it. > > > > > > Thanks! > > > > > > Zhang Wenli > > > http://zhangwenli.com > > > > > >
[GitHub] thomaspessato commented on issue #8160: Highlighting the clicked month
thomaspessato commented on issue #8160: Highlighting the clicked month URL: https://github.com/apache/incubator-echarts/issues/8160#issuecomment-393661267 gonna try 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] vikramkalta commented on issue #8160: Highlighting the clicked month
vikramkalta commented on issue #8160: Highlighting the clicked month URL: https://github.com/apache/incubator-echarts/issues/8160#issuecomment-393659861 @thomaspessato I have tried dispatching action, it works for a click, on every click just pass the ev.dataIndex to dataIndex property https://ecomfe.github.io/echarts-doc/public/en/api.html#action 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] thomaspessato commented on issue #8160: Highlighting the clicked month
thomaspessato commented on issue #8160: Highlighting the clicked month URL: https://github.com/apache/incubator-echarts/issues/8160#issuecomment-393655685 I could not find emphasize on click, but will search for that 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] thomaspessato commented on issue #8160: Highlighting the clicked month
thomaspessato commented on issue #8160: Highlighting the clicked month URL: https://github.com/apache/incubator-echarts/issues/8160#issuecomment-393654753 @vikramkalta Damn!! That was so obvious... thanks for pointing that out! 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] vikramkalta commented on issue #8160: Highlighting the clicked month
vikramkalta commented on issue #8160: Highlighting the clicked month URL: https://github.com/apache/incubator-echarts/issues/8160#issuecomment-393653868 but in order to keep the previous clicked circle also in the same state, i had not tried that yet!! 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] vikramkalta commented on issue #8160: Highlighting the clicked month
vikramkalta commented on issue #8160: Highlighting the clicked month URL: https://github.com/apache/incubator-echarts/issues/8160#issuecomment-393652618 set emphasize to false in the options or refer the docs, and set emphasize for each click. or you can dispatch an action on a click and that would do the same!! dispatchAction({ type: 'highlight', // optional; series index; could be an array of multiple series seriesIndex?: number|Array, // optional; series name; could be an array of multiple series seriesName?: string|Array, // options are index of data dataIndex?: number, // options are data name name?: string }) refer the api section in echarts website 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] thomaspessato commented on issue #8160: Highlighting the clicked month
thomaspessato commented on issue #8160: Highlighting the clicked month URL: https://github.com/apache/incubator-echarts/issues/8160#issuecomment-393648150 @vikramkalta that's nice! I'm happy that you could solve this! **"I guess u are trying to just emphasize the circle when it is clicked!!"** yeah, but I was having a hard time with this because when I hover my cursor to another point it emphasize that other point and my previously emphasized point is just gone :/ Do you have any tips for 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] thomaspessato commented on issue #8160: Highlighting the clicked month
thomaspessato commented on issue #8160: Highlighting the clicked month URL: https://github.com/apache/incubator-echarts/issues/8160#issuecomment-393648150 @vikramkalta that's nice! I'm glad you could solve this! **"I guess u are trying to just emphasize the circle when it is clicked!!"** yeah, but I was having a hard time with this because when I hover my cursor to another point it emphasize that other point and my previously emphasized point is just gone :/ Do you have any tips for 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] vikramkalta commented on issue #8160: Highlighting the clicked month
vikramkalta commented on issue #8160: Highlighting the clicked month URL: https://github.com/apache/incubator-echarts/issues/8160#issuecomment-393639174 @thomaspessato I guess u are trying to just emphasize the circle when it is clicked!! I reworked on it today and and found exactly what i was looking for, so i made a custom series with same rectangular figure, and position it inside renderItem property. renderItem: (params: any, api: any) => { const categoryIndex = api.value(0); console.log('category', api.coord([api.value(0), maxVal])); const start = api.coord([api.value(0), maxVal]); if (params.dataIndex === this.monthIndex) { return { type: 'group', children: [ { type: 'rect', shape: { width: '30', height: 110 }, position: newStart, top: this.options.grid.top, style: { fill: 'rgba(255,255,0,0.3)' } } ] }; } }, Phe... even if screen sizez changes the graphic does not move a inch. 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] chfw commented on issue #8436: 如何获取省内每个市的坐标建立地图?
chfw commented on issue #8436: 如何获取省内每个市的坐标建立地图? URL: https://github.com/apache/incubator-echarts/issues/8436#issuecomment-393490126 我的理解是中国地图需要进一步审核。其他省市地图并不包含敏感地区,比如北京,河北,理论上是可以的。根据国家地图法,所有商用地图需要国家审查备案之后才能用。 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] komagic commented on issue #8436: 如何获取省内每个市的坐标建立地图?
komagic commented on issue #8436: 如何获取省内每个市的坐标建立地图? URL: https://github.com/apache/incubator-echarts/issues/8436#issuecomment-393488669 echarts 源码里不是有map吗? 但是如果严格要求的话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] cfphoenix closed issue #8440: 在ionic3中用tooltip 无论我怎么设置tooltip都无法出现
cfphoenix closed issue #8440: 在ionic3中用tooltip 无论我怎么设置tooltip都无法出现 URL: https://github.com/apache/incubator-echarts/issues/8440 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] bummm26 opened a new issue #8441: xAxis ticks disappappear when set negative min Yaxis value.
bummm26 opened a new issue #8441: xAxis ticks disappappear when set negative min Yaxis value. URL: https://github.com/apache/incubator-echarts/issues/8441 When I set negative min. value at yAxis value the xAxis ticks disappear. I attach a picture. **Here is the wrong chart with negativr axes.** ![chart](https://user-images.githubusercontent.com/32642115/40774328-9466131a-64c5-11e8-9cc0-9d165db3f92f.png) **Here with just postive values:** ![screenshot from 2018-05-31 11-27-02](https://user-images.githubusercontent.com/32642115/40774434-e19d4eb4-64c5-11e8-93f1-79fd1dce94a9.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] lmq0324 commented on issue #8328: 雷达图axisLabel显示报错
lmq0324 commented on issue #8328: 雷达图axisLabel显示报错 URL: https://github.com/apache/incubator-echarts/issues/8328#issuecomment-393460949 @100pah [关于echarts中雷达图如何在线上面显示数字的问题。](https://bbs.csdn.net/topics/391923262) 从上述链接可见之前的版本是支持该功能的,希望可以恢复支持 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] lmq0324 commented on issue #8328: 雷达图axisLabel显示报错
lmq0324 commented on issue #8328: 雷达图axisLabel显示报错 URL: https://github.com/apache/incubator-echarts/issues/8328#issuecomment-393462097 #8301 相同问题 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] lmq0324 commented on issue #8328: 雷达图axisLabel显示报错
lmq0324 commented on issue #8328: 雷达图axisLabel显示报错 URL: https://github.com/apache/incubator-echarts/issues/8328#issuecomment-393460949 @100pah [https://bbs.csdn.net/topics/391923262](url) 从上述链接可见之前的版本是支持该功能的,希望可以恢复支持 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] lmq0324 commented on issue #8328: 雷达图axisLabel显示报错
lmq0324 commented on issue #8328: 雷达图axisLabel显示报错 URL: https://github.com/apache/incubator-echarts/issues/8328#issuecomment-393460949 @100pah [https://bbs.csdn.net/topics/391923262](url) 从上述链接可见之前是支持该功能的,希望可以恢复支持 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] Bonjourjw opened a new issue #8439: 如何实现一个梯形波图(频谱图)
Bonjourjw opened a new issue #8439: 如何实现一个梯形波图(频谱图) URL: https://github.com/apache/incubator-echarts/issues/8439 One-line summary [问题简述] echarts如何实现绘制一个梯形频谱图,相当于每个数据是一个频谱范围,每个数据的展示就是一个梯形图。看了自定义系列,type类只有原有的'line'、'pie'……,只能利用本来有的类型进行修改。 我需要修改源码来实现吗? Version & Environment [版本及环境] + ECharts version [ECharts 版本]:3or4 + Browser version [浏览器类型和版本]:谷歌 + OS Version [操作系统类型和版本]:win7 Expected behaviour [期望结果] ECharts option [ECharts配置项] 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] chfw commented on issue #8436: 如何获取省内每个市的坐标建立地图?
chfw commented on issue #8436: 如何获取省内每个市的坐标建立地图? URL: https://github.com/apache/incubator-echarts/issues/8436#issuecomment-393458009 请参考这个图库: https://github.com/echarts-maps/echarts-china-cities-js#pyecharts-usage https://user-images.githubusercontent.com/4280312/29755070-9bc9ae70-8b89-11e7-9bf2-bec09cb5f1a1.png; width=600> 城市坐标请审核这个[坐标文件](https://github.com/pyecharts/pyecharts/blob/master/pyecharts/datasets/city_coordinates.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] chfw commented on a change in pull request #8425: new
chfw commented on a change in pull request #8425: new URL: https://github.com/apache/incubator-echarts/pull/8425#discussion_r192024056 ## File path: test/axis-interval.html ## @@ -54,6 +56,75 @@ [ Test time axis interval ] should not overlap when data z + + + + + + +
[GitHub] chfw commented on a change in pull request #8425: new
chfw commented on a change in pull request #8425: new URL: https://github.com/apache/incubator-echarts/pull/8425#discussion_r192023253 ## File path: src/coord/geo/geoJSONLoader.js ## @@ -0,0 +1,94 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +import {each} from 'zrender/src/core/util'; +import parseGeoJson from './parseGeoJson'; +import {makeInner} from '../../util/model'; + +// Built-in GEO fixer. +import fixNanhai from './fix/nanhai'; +import fixTextCoord from './fix/textCoord'; +import fixGeoCoord from './fix/geoCoord'; +import fixDiaoyuIsland from './fix/diaoyuIsland'; + +var inner = makeInner(); + +export default { + +/** + * @param {string} mapName + * @param {Object} mapRecord {specialAreas, geoJSON} + * @return {Object} {regions, boundingRect} + */ +load: function (mapName, mapRecord) { + +var parsed = inner(mapRecord).parsed; + +if (parsed) { +return parsed; +} + +var specialAreas = mapRecord.specialAreas || {}; +var geoJSON = mapRecord.geoJSON; +var regions; + +// https://jsperf.com/try-catch-performance-overhead +try { +regions = geoJSON ? parseGeoJson(geoJSON) : []; +} +catch (e) { +throw new Error('Invalid geoJson format\n' + e.message); +} + +each(regions, function (region) { +var regionName = region.name; + +fixTextCoord(mapName, region); +fixGeoCoord(mapName, region); +fixDiaoyuIsland(mapName, region); + +// Some area like Alaska in USA map needs to be tansformed +// to look better +var specialArea = specialAreas[regionName]; +if (specialArea) { +region.transformTo( +specialArea.left, specialArea.top, specialArea.width, specialArea.height +); +} +}); + +fixNanhai(mapName, regions); Review comment: 为什么南海的画法不能用阿拉斯加的画法呢? 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] chfw commented on a change in pull request #8425: new
chfw commented on a change in pull request #8425: new URL: https://github.com/apache/incubator-echarts/pull/8425#discussion_r191835363 ## File path: src/component/helper/RoamController.js ## @@ -203,16 +208,19 @@ function mousewheel(e) { // wheelDelta of mouse wheel is bigger than touch pad. var factor = absWheelDeltaDelta > 3 ? 1.4 : absWheelDeltaDelta > 1 ? 1.2 : 1.1; var scale = wheelDelta > 0 ? factor : 1 / factor; -zoom.call(this, e, scale, e.offsetX, e.offsetY); +checkPointerAndTrigger(this, 'zoom', 'zoomOnMouseWheel', e, { +scale: scale, originX: originX, originY: originY +}); } - +// console.log(shouldMove); Review comment: Dead code 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] chfw commented on issue #8437: 地图显示问题
chfw commented on issue #8437: 地图显示问题 URL: https://github.com/apache/incubator-echarts/issues/8437#issuecomment-393452746 中国(china) 地图需要另外加载,不然就只有南海。 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] China-Boy-1985 commented on issue #8437: 地图显示问题
China-Boy-1985 commented on issue #8437: 地图显示问题 URL: https://github.com/apache/incubator-echarts/issues/8437#issuecomment-393450698 已经找到处理方式了,需要单独import相关的map文件。不过我建议各位做echarts的大佬最好把这个问题处理一下下。毕竟我觉得是直接npm 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] pissang closed issue #8430: echarts tree(纵向)高度问题
pissang closed issue #8430: echarts tree(纵向)高度问题 URL: https://github.com/apache/incubator-echarts/issues/8430 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] jaslou commented on issue #8430: echarts tree(纵向)高度问题
jaslou commented on issue #8430: echarts tree(纵向)高度问题 URL: https://github.com/apache/incubator-echarts/issues/8430#issuecomment-393449267 好吧,难怪我调试进源码都没有发现有关于高度的相关限制。 刚看了一下,canvas画布高度限制为32767,超过了就画不出了。 thanks! 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] Ppsj closed issue #8438: I'll user effectScatter in bmap Extended
Ppsj closed issue #8438: I'll user effectScatter in bmap Extended URL: https://github.com/apache/incubator-echarts/issues/8438 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] Ppsj opened a new issue #8438: I'll user effectScatter in bmap Extended
Ppsj opened a new issue #8438: I'll user effectScatter in bmap Extended URL: https://github.com/apache/incubator-echarts/issues/8438 One-line summary [问题简述] 我在 bmap 扩展中无法使用 effectScatter 类型 Version & Environment [版本及环境] + ECharts version [ECharts 版本]: 4.1.0 + Browser version [浏览器类型和版本]: Chrome 66.0.3359.181 + OS Version [操作系统类型和版本]: WIN10 Expected behaviour [期望结果] 我想要在 bmap 扩展中使用 effectScatter 类型 ECharts option [ECharts配置项] ```javascript option = { bmap: { center: [113.28, 21.9399], zoom: 13, roam: true }, series: [{ type: 'effectScatter', coordinateSystem: 'geo', data: [{ name: '测试', value: [113.24251,21.954233, 80] }], rippleEffect: { brushType: 'stroke' }, label: { normal: { formatter: '{b}', position: 'right', show: true } }, itemStyle: { normal: { color: '#f4e925', shadowBlur: 10, shadowColor: '#333' } } }] } ``` ### Other comments [其他信息] https://cdn.bootcss.com/echarts/4.1.0.rc2/echarts.min.js">