[GitHub] amittonge opened a new issue #8434: can we show zero mark line for axis.

2018-05-30 Thread GitBox
amittonge opened a new issue #8434: can we show zero mark line for axis.
URL: https://github.com/apache/incubator-echarts/issues/8434
 
 
   
   
   
   ### One-line summary [问题简述]
   
   Suppose we have axis scale from -500 to 500, then axis line get drawn on 0 
and no line where drawn on end of axis.
   I think we should always show axis line at end and have an option for axis 
zero mark line which will be useful in above case. 
   
   
   
   ### 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] summerhll opened a new issue #8433: 对于图表类型切换magicType,源码是怎么实现的?

2018-05-30 Thread GitBox
summerhll opened a new issue #8433: 对于图表类型切换magicType,源码是怎么实现的?
URL: https://github.com/apache/incubator-echarts/issues/8433
 
 
   
   
   
   ### One-line summary [问题简述]
   
工作有涉及到echarts的图表类型切换内容,然后去看了下magicType相关源码,源码里面的内容重新设置newOption,并没有找到相关的echarts.setOption(newOption)的内容,请问源码中echarts.setOption(newOption)这部分在哪里?
   相关代码:
   `
var zrUtil = __webpack_require__(4);
   
function MagicType(model) {
this.model = model;
}
   
MagicType.defaultOption = {
show: true,
type: [],
// Icon group
icon: {
line: 
'M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4',
bar: 
'M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7',
stack: 
'M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z 
M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z
 
M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z',
 // jshint ignore:line
tiled: 'M2.3,2.2h22.8V25H2.3V2.2z 
M35,2.2h22.8V25H35V2.2zM2.3,35h22.8v22.8H2.3V35z M35,35h22.8v22.8H35V35z'
},
title: {
line: '切换为折线图',
bar: '切换为柱状图',
stack: '切换为堆叠',
tiled: '切换为平铺'
},
option: {},
seriesIndex: {}
};
   
var proto = MagicType.prototype;
   
proto.getIcons = function () {
var model = this.model;
var availableIcons = model.get('icon');
var icons = {};
zrUtil.each(model.get('type'), function (type) {
if (availableIcons[type]) {
icons[type] = availableIcons[type];
}
});
return icons;
};
   
var seriesOptGenreator = {
'line': function (seriesType, seriesId, seriesModel, model) {
if (seriesType === 'bar') {
return zrUtil.merge({
id: seriesId,
type: 'line',
// Preserve data related option
data: seriesModel.get('data'),
stack: seriesModel.get('stack'),
markPoint: seriesModel.get('markPoint'),
markLine: seriesModel.get('markLine')
}, model.get('option.line') || {}, true);
}
},
'bar': function (seriesType, seriesId, seriesModel, model) {
if (seriesType === 'line') {
return zrUtil.merge({
id: seriesId,
type: 'bar',
// Preserve data related option
data: seriesModel.get('data'),
stack: seriesModel.get('stack'),
markPoint: seriesModel.get('markPoint'),
markLine: seriesModel.get('markLine')
}, model.get('option.bar') || {}, true);
}
},
'stack': function (seriesType, seriesId, seriesModel, model) {
if (seriesType === 'line' || seriesType === 'bar') {
return zrUtil.merge({
id: seriesId,
stack: '__ec_magicType_stack__'
}, model.get('option.stack') || {}, true);
}
},
'tiled': function (seriesType, seriesId, seriesModel, model) {
if (seriesType === 'line' || seriesType === 'bar') {
return zrUtil.merge({
id: seriesId,
stack: ''
}, model.get('option.tiled') || {}, true);
}
}
};
   
var radioTypes = [
['line', 'bar'],
['stack', 'tiled']
];
   
proto.onclick = function (ecModel, api, type) {
var model = this.model;
var seriesIndex = model.get('seriesIndex.' + type);
// Not supported magicType
if (!seriesOptGenreator[type]) {
return;
}
var newOption = {
series: []
};
var generateNewSeriesTypes = function (seriesModel) {
var seriesType = 

[GitHub] summerhll opened a new issue #8432: echarts 4.0 的兼容性怎么样,兼容IE8吗?

2018-05-30 Thread GitBox
summerhll opened a new issue #8432: echarts 4.0 的兼容性怎么样,兼容IE8吗?
URL: https://github.com/apache/incubator-echarts/issues/8432
 
 
   
   
   
   ### One-line summary [问题简述]
   请问在哪里可以看到echarts的兼容性描述,在官网没找到,谢谢
   
   
   
   
   ### 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



Re: Request for Apache Website server

2018-05-30 Thread Wenli Zhang
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
> >
>


Re: Request for Apache Website server

2018-05-30 Thread John D. Ament
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] raonian opened a new issue #8431: 如何让散点图能像饼图一样使用labelline?

2018-05-30 Thread GitBox
raonian opened a new issue #8431: 如何让散点图能像饼图一样使用labelline?
URL: https://github.com/apache/incubator-echarts/issues/8431
 
 
   
   
   
   ### One-line summary [问题简述]
   
   
   
   
   
   ### Version & Environment [版本及环境]
   + ECharts version [ECharts 版本]:
   + Browser version [浏览器类型和版本]:
   + OS Version [操作系统类型和版本]:
   
   
   
   
   
   ### Expected behaviour [期望结果]
   如图:
   
![image](https://user-images.githubusercontent.com/11386431/40758578-94c4c0b8-64c0-11e8-83a7-b87c8a6ce8e4.png)
   
   
   
   ### 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] wangmeijian commented on issue #4817: echarts.graphic.LinearGradient

2018-05-30 Thread GitBox
wangmeijian commented on issue #4817: echarts.graphic.LinearGradient
URL: 
https://github.com/apache/incubator-echarts/issues/4817#issuecomment-393382674
 
 
   @pissang 链接过去是空白的


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] fanstvn opened a new issue #8429: 柱状图不支持误差线功能?

2018-05-30 Thread GitBox
fanstvn opened a new issue #8429: 柱状图不支持误差线功能?
URL: https://github.com/apache/incubator-echarts/issues/8429
 
 
   类似这样的:
   
![1](https://user-images.githubusercontent.com/30677462/40757800-dc5c350e-64bc-11e8-859b-590d58139564.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] Quintalq commented on issue #8076: echarts怎么在世界地图添加中国省份分界线

2018-05-30 Thread GitBox
Quintalq commented on issue #8076: echarts怎么在世界地图添加中国省份分界线
URL: 
https://github.com/apache/incubator-echarts/issues/8076#issuecomment-393377023
 
 
   
谢谢您的回答,我已经这样改好了,但是如果想要所有国家的地图呢,如果把所有国家的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] komagic commented on issue #8418: toolbox 如何顯示繁體中文

2018-05-30 Thread GitBox
komagic commented on issue #8418: toolbox 如何顯示繁體中文
URL: 
https://github.com/apache/incubator-echarts/issues/8418#issuecomment-393374947
 
 
   formatter 嘛


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 #8384: echarts2.0实例中以前有地图,现在没有这个分类了,我想找到那个城市冒圈圈的效果

2018-05-30 Thread GitBox
komagic commented on issue #8384: echarts2.0实例中以前有地图,现在没有这个分类了,我想找到那个城市冒圈圈的效果
URL: 
https://github.com/apache/incubator-echarts/issues/8384#issuecomment-393373322
 
 
   多的是,在官网gallary里


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 opened a new issue #8428: 如何从api获取某个折线图的折点坐标?我这里有个方法但是不知道有没有更好的

2018-05-30 Thread GitBox
komagic opened a new issue #8428: 如何从api获取某个折线图的折点坐标?我这里有个方法但是不知道有没有更好的
URL: https://github.com/apache/incubator-echarts/issues/8428
 
 
   
   
   如下图所示,我想得到某个点的坐标,除了点击事件,我还可以在源代码上加上一个getposition方法获得:
   echartsProto.getMyPosition=function(finder){
   var ecModel=this._model;
   finder=parseFinder(ecModel,finder,{defaultMainType:'series'});
   var seriesModel=finder.seriesModel;
   if(__DEV__){
   if(!seriesModel){
   console.log("NO specified seres model");
   }
   }
   var data=seriesModel.getData();
   return data;
   }
   
   ### One-line summary [问题简述]
   
   
![666](https://user-images.githubusercontent.com/13415767/40756018-b04243f4-64b3-11e8-9412-a02d7cfc2505.png)
   那么问题来了,我只是希望在折线图末端加上一个箭头,并保证箭头与折现的角度正确,如下图所示,那么请问还有更好的方法吗?
   
   
   ### Version & Environment [版本及环境]
   + ECharts version [ECharts 版本]:3.7.2
   + Browser version [浏览器类型和版本]:chrome
   + OS Version [操作系统类型和版本]:win10
   
   
   
   
   
   ### Expected behaviour [期望结果]
   
   ![uclpahl rftu s h 
3to59](https://user-images.githubusercontent.com/13415767/40756088-1481f166-64b4-11e8-931f-6d31b3f576a2.png)
   ![snfj tvkf x 
wwzqkb_8b](https://user-images.githubusercontent.com/13415767/40756128-4ab2eaec-64b4-11e8-8bde-a742f80e5943.png)
   
   
   
   
   ### 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] komagic commented on issue #8426: How to make a node above the axis?

2018-05-30 Thread GitBox
komagic commented on issue #8426: How to make a node above the axis?
URL: 
https://github.com/apache/incubator-echarts/issues/8426#issuecomment-393370722
 
 
   
![555](https://user-images.githubusercontent.com/13415767/40755935-45bc10aa-64b3-11e8-8818-10b6e5469a5f.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] htjn opened a new issue #8427: 柱形图能分组吗?

2018-05-30 Thread GitBox
htjn opened a new issue #8427: 柱形图能分组吗?
URL: https://github.com/apache/incubator-echarts/issues/8427
 
 
   如图能实现吗?[
   ![c 8s3pw9 4s0 k0s_n 
58kr](https://user-images.githubusercontent.com/39783529/40755839-c62ac3e0-64b2-11e8-86aa-a087ef862bee.png)
   ](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] rundleman commented on issue #8426: How to make a node above the axis?

2018-05-30 Thread GitBox
rundleman commented on issue #8426: How to make a node above the axis?
URL: 
https://github.com/apache/incubator-echarts/issues/8426#issuecomment-393198570
 
 
   I found. I need zlevel attribute.
   
   Close.


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