[GitHub] [incubator-echarts] xiaobaiha opened a new issue #13095: 平滑曲线控制点的选择

2020-08-07 Thread GitBox


xiaobaiha opened a new issue #13095:
URL: https://github.com/apache/incubator-echarts/issues/13095


   原先的算法会根据当前点与前一个点、后一个点,共同决定控制点位置,并且控制点两边一般是在一条直线上的(除非因为超出了最大最小值而被调整)。正如 
@Erimus-Koo 在上面列出的(感谢~),这一算法会在某些情况下出现不理想的平滑结果,并且是比较常见的。
   
因此,我们新实现了一种更简单有效的平滑算法,也就是每个控制点两边都保持水平或竖直(取决于数据点是在哪个方向上单调递增)。这样的好处是,生成的曲线是可导的(每个点都是连续并且存在导数),不会产生突变的情况。缺点是没法处理不单调的情况(比如点坐标依次是:`[100,
 100], [200, 200], [150, 180]`)。
   因此,ECharts 默认对于单调的情况采用新算法,对于不单调的情况采用老算法。如果想要强行使用老算法,可以将 `smoothMonotone` 指定为 
`'none'` 实现。例子参见 0af0297bf29b1d6652879c9686355138e0656457 。
   后面我会在文档里补充图文,更清楚地说明这一问题。
   
   _Originally posted by @Ovilia in 
https://github.com/apache/incubator-echarts/issues/7158#issuecomment-364828528_



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] xiaobaiha closed issue #13095: 平滑曲线控制点的选择

2020-08-07 Thread GitBox


xiaobaiha closed issue #13095:
URL: https://github.com/apache/incubator-echarts/issues/13095


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13095: 平滑曲线控制点的选择

2020-08-07 Thread GitBox


echarts-bot[bot] commented on issue #13095:
URL: 
https://github.com/apache/incubator-echarts/issues/13095#issuecomment-670375044


   This issue is not created using [issue 
template](https://ecomfe.github.io/echarts-issue-helper/) so I'm going to close 
it. 
   Sorry for this, but it helps save our maintainers' time so that more 
developers get helped.
   Feel free to create another issue using the issue template.
   
   If you think you have already made your point clear without the template, or 
your problem cannot be covered by it, you may re-open this issue again.
   
   这个 issue 未使用 [issue 
模板](https://ecomfe.github.io/echarts-issue-helper/?lang=zh-cn) 创建,所以我将关闭此 issue。
   为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。
   如果您愿意,可以请使用 issue 模板重新创建 issue。
   
   如果你认为虽然没有使用模板,但你已经提供了复现问题的充分描述,或者你的问题无法使用模板表达,也可以重新 open 这个 issue。



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] AbhaysinghBhosale commented on issue #13049: On sunburst chart hand cursor shows clickable for already drilled down item - echarts-for-react

2020-08-07 Thread GitBox


AbhaysinghBhosale commented on issue #13049:
URL: 
https://github.com/apache/incubator-echarts/issues/13049#issuecomment-670353097


   Yes i tried the same logic but unable to find way that current hovered node 
is having ability to drill down.
   
   Is there any way to check that hovered node is drill-able or not.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] jackferrous closed issue #13082: 使用散点图,多组散点下,散点未显示全

2020-08-07 Thread GitBox


jackferrous closed issue #13082:
URL: https://github.com/apache/incubator-echarts/issues/13082


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] jackferrous commented on issue #13082: 使用散点图,多组散点下,散点未显示全

2020-08-07 Thread GitBox


jackferrous commented on issue #13082:
URL: 
https://github.com/apache/incubator-echarts/issues/13082#issuecomment-670378419


   thanks,已经解决



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] xiaobaiha opened a new issue #13096: 平滑曲线控制点的选择问题

2020-08-07 Thread GitBox


xiaobaiha opened a new issue #13096:
URL: https://github.com/apache/incubator-echarts/issues/13096


   ### What problem does this feature solve?
   现有的平滑控制点选择还会比较坐标的最大值和最小值,这个比较的必要性是什么呢
   
   ### What does the proposed API look like?
   smoothMonotone
   
   
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13096: 平滑曲线控制点的选择问题

2020-08-07 Thread GitBox


echarts-bot[bot] commented on issue #13096:
URL: 
https://github.com/apache/incubator-echarts/issues/13096#issuecomment-670376169


   Hi! We've received your issue and please be patient to get responded. 
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to 
demo your request**. You may also check out the 
[API](http://echarts.apache.org/api.html) and [chart 
option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent 
question to ask, you may also send an email to d...@echarts.apache.org. Please 
attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail 
list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[incubator-echarts] branch next updated (a69b446 -> 69d2bcc)

2020-08-07 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a change to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.


from a69b446  style: optimize color of brush rect
 add 69d2bcc  chore: generate types when run prepublish

No new revisions were added by this update.

Summary of changes:
 .gitignore   |   4 +-
 .npmignore   |   7 ++--
 build/pre-publish.js |  12 --
 index.d.ts   |  28 -
 option.ts| 107 -
 package.json |   1 +
 src/echarts.ts   |  18 +
 src/option.ts| 111 +++
 src/util/types.ts|   8 ++--
 9 files changed, 167 insertions(+), 129 deletions(-)
 delete mode 100644 option.ts
 create mode 100644 src/option.ts


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



[GitHub] [incubator-echarts] wlbksy commented on issue #12982: 类似MATLAB中axis equal功能

2020-08-07 Thread GitBox


wlbksy commented on issue #12982:
URL: 
https://github.com/apache/incubator-echarts/issues/12982#issuecomment-670367857


   +1



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] llanc commented on issue #9311: title.textStyle.width property not working

2020-08-07 Thread GitBox


llanc commented on issue #9311:
URL: 
https://github.com/apache/incubator-echarts/issues/9311#issuecomment-670392900


   Is this feature updated?



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] zhutianlong95 commented on issue #12697: 散点图开启大数据优化,brush无法正常返回选取的数据

2020-08-07 Thread GitBox


zhutianlong95 commented on issue #12697:
URL: 
https://github.com/apache/incubator-echarts/issues/12697#issuecomment-670546738


   @cyberlaugh 
我现在有一个办法可以获取数据点,brush的回调事件中,可以找到框选线的X范围和Y范围。已知散点的坐标,假设框选线坐标起始点是X1和X2,去判断X在X1~X2范围内的点的Y坐标是否也在Y1~Y2之间,满足,则在选取框范围内,就可以获取选取框的点了,其实就是一个平面坐标系判断位置



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] zhutianlong95 commented on issue #12697: 散点图开启大数据优化,brush无法正常返回选取的数据

2020-08-07 Thread GitBox


zhutianlong95 commented on issue #12697:
URL: 
https://github.com/apache/incubator-echarts/issues/12697#issuecomment-670547055


   > 1、outOfBrush即使取消默认color:'#ddd'的配置仍然会重绘。
   > 2、数据量大时散点框选brushSelected回调中无法返回数据点
   
   @cyberlaugh 
我现在有一个办法可以获取数据点,brush的回调事件中,可以找到框选线的X范围和Y范围。已知散点的坐标,假设框选线坐标起始点是X1和X2,去判断X在X1X2范围内的点的Y坐标是否也在Y1Y2之间,满足,则在选取框范围内,就可以获取选取框的点了,其实就是一个平面坐标系判断位置



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] zhutianlong95 removed a comment on issue #12697: 散点图开启大数据优化,brush无法正常返回选取的数据

2020-08-07 Thread GitBox


zhutianlong95 removed a comment on issue #12697:
URL: 
https://github.com/apache/incubator-echarts/issues/12697#issuecomment-670546738


   @cyberlaugh 
我现在有一个办法可以获取数据点,brush的回调事件中,可以找到框选线的X范围和Y范围。已知散点的坐标,假设框选线坐标起始点是X1和X2,去判断X在X1~X2范围内的点的Y坐标是否也在Y1~Y2之间,满足,则在选取框范围内,就可以获取选取框的点了,其实就是一个平面坐标系判断位置



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] PipiHua opened a new issue #13098: 如何修改 一个serie的属性呢?

2020-08-07 Thread GitBox


PipiHua opened a new issue #13098:
URL: https://github.com/apache/incubator-echarts/issues/13098


   如何修改 一个serie的属性呢
   多个series那我怎么选择特定的series改他的data呢???
   
   _Originally posted by @tinybright in 
https://github.com/apache/incubator-echarts/issues/828#issuecomment-478234056_



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13098: 如何修改 一个serie的属性呢?

2020-08-07 Thread GitBox


echarts-bot[bot] commented on issue #13098:
URL: 
https://github.com/apache/incubator-echarts/issues/13098#issuecomment-670415818


   This issue is not created using [issue 
template](https://ecomfe.github.io/echarts-issue-helper/) so I'm going to close 
it. 
   Sorry for this, but it helps save our maintainers' time so that more 
developers get helped.
   Feel free to create another issue using the issue template.
   
   If you think you have already made your point clear without the template, or 
your problem cannot be covered by it, you may re-open this issue again.
   
   这个 issue 未使用 [issue 
模板](https://ecomfe.github.io/echarts-issue-helper/?lang=zh-cn) 创建,所以我将关闭此 issue。
   为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。
   如果您愿意,可以请使用 issue 模板重新创建 issue。
   
   如果你认为虽然没有使用模板,但你已经提供了复现问题的充分描述,或者你的问题无法使用模板表达,也可以重新 open 这个 issue。



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13099: The data point item style [borderColor] should has higher priority than series item style [borderColor]

2020-08-07 Thread GitBox


echarts-bot[bot] commented on issue #13099:
URL: 
https://github.com/apache/incubator-echarts/issues/13099#issuecomment-670419103


   Hi! We've received your issue and please be patient to get responded. 
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to 
demo your request**. You may also check out the 
[API](http://echarts.apache.org/api.html) and [chart 
option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent 
question to ask, you may also send an email to d...@echarts.apache.org. Please 
attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail 
list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] katherinebai opened a new issue #13099: The data point item style [borderColor] should has higher priority than series item style [borderColor]

2020-08-07 Thread GitBox


katherinebai opened a new issue #13099:
URL: https://github.com/apache/incubator-echarts/issues/13099


   ### Version
   4.7.0
   
   ### Steps to reproduce
   Please use this option as following to reproduce the issue.
   
![image](https://user-images.githubusercontent.com/36399340/89629993-4bd16500-d8d1-11ea-8d2a-4bd3ab489f54.png)
   
   ---
   
   option = {
"animation": true,
"backgroundColor": "#FF",
"tooltip": {
"trigger": "item"
},
"title": null,
"legend": {
"show": true,
"orient": "vertical",
"align": "left",
"backgroundColor": "transparent",
"borderColor": "transparent",
"borderWidth": 1,
"borderType": "solid",
"textStyle": {
"color": "#00",
"fontFamily": "'Microsoft YaHei'",
"fontSize": 14.67,
"fontStyle": "Normal",
"fontWeight": 400
},
"data": [{
"name": "整数",
"icon": "roundRect"
}],
"right": 5,
"top": "center",
"itemWidth": 14,
"itemGap": 11.73599853515625
},
"series": [{
"name": "整数",
"z": 2,
"type": "bar",
"data": [{
"value": 12,
"itemStyle": {
"color": "lightgreen",
"borderColor": "red",
"borderWidth": 2,
"borderType": "solid"
}
}, {
"value": 34
}, {
"value": 45
}, {
"value": 56
}, {
"value": 23
}, {
"value": 45
}, {
"value": 67
}],
"label": {
"show": false
},
"itemStyle": {
"color": "lightblue",
"opacity": 1,
"borderColor": "blue",
"borderWidth": 1,
"borderType": "solid"
},
"barGap": 0,
"barCategoryGap": "30%"
}],
"xAxis": {
"show": true,
"type": "value",
"axisLine": {
"show": true,
"lineStyle": {
"color": "#00",
"width": 1,
"type": "solid"
}
},
"axisTick": {
"show": true,
"inside": false,
"length": 7,
"lineStyle": {
"color": "#00",
"width": 1
}
},
"axisLabel": {
"show": true,
"rotate": 0,
"textStyle": {
"color": "#00",
"fontFamily": "'Microsoft YaHei'",
"fontSize": 14.67,
"fontStyle": "Normal",
"fontWeight": 400
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": "#868686",
"width": 0.5,
"type": "solid"
}
},
"max": 80,
"min": 0,
"splitNumber": 8,
"boundaryGap": true
},
"yAxis": {
"show": true,
"type": "category",
"axisLine": {
"show": true,
"lineStyle": {
"color": "#00",
"width": 1,
"type": "solid"
}
},
"axisTick": {
"show": true,
"inside": false,
"length": 7,
"lineStyle": {
"color": "#00",
"width": 1
}
},
 

[GitHub] [incubator-echarts] fhfuih opened a new issue #13097: grid.containLabel conflicts with yAxis.axisLabel.formatter

2020-08-07 Thread GitBox


fhfuih opened a new issue #13097:
URL: https://github.com/apache/incubator-echarts/issues/13097


   ### Version
   4.8.0
   
   ### Steps to reproduce
   1. Set `grid.containLabel` to true.
   2. Set a funtion to `yAxis.axisLabel.formatter`, namely `foo(value, index)`
   
   One can utilize 
`https://echarts.apache.org/examples/zh/editor.html?c=scatter-simple` for 
reproduction.
   
   ### What is expected?
   The formatter function runs all right, with `value` the tick value and 
`index` the tick index.
   
   ### What is actually happening?
   The formatter will run twice during the rendering of the graph. In the first 
run(virtual rendering and calculcating the labels' width) `index` will be 
undefined. If I need to do some calculation with index, errors will be thrown. 
In fact I also encountered the case where both `value` and `index` are 
undefined in the first run. But too many configs are involved and I could not 
found a minimal reproduction yet.
   
   
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13097: grid.containLabel conflicts with yAxis.axisLabel.formatter

2020-08-07 Thread GitBox


echarts-bot[bot] commented on issue #13097:
URL: 
https://github.com/apache/incubator-echarts/issues/13097#issuecomment-670400534


   Hi! We've received your issue and please be patient to get responded. 
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to 
demo your request**. You may also check out the 
[API](http://echarts.apache.org/api.html) and [chart 
option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent 
question to ask, you may also send an email to d...@echarts.apache.org. Please 
attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail 
list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] dr-itz opened a new pull request #13100: fix(tooltip): keep axis tooltip open on refresh

2020-08-07 Thread GitBox


dr-itz opened a new pull request #13100:
URL: https://github.com/apache/incubator-echarts/pull/13100


   
   
   ## Brief Information
   
   This pull request is in the type of:
   
   - [ x] bug fixing
   - [ ] new feature
   - [ ] others
   
   
   
   ### What does this PR do?
   
   Fix a tooltip disappearing when tooltip trigger is "axis" and data is 
refreshed.
   
   
   
   ### Fixed issues
   
   
   
   
   ## Details
   
   ### Before: What was the problem?
   
   Chart with datazoom slider and live update every few seconds. The slider is 
somewhere in the middle with a fixed value range. When the user hovers over the 
data, the tooltip with trigger "axis" shows correctly. But as soon as new data 
is pushed to the chart the tooltip disappears. This PR fixes that.
   
   
   ### After: How is it fixed in this PR?
   
   Tooltip with trigger axis stays when data is refresehd.
   
   
   ## Usage
   
   ### Are there any API changes?
   
   - [ ] The API has been changed.
   
   
   
   
   
   ### Related test cases or examples to use the new APIs
   
   NA.
   
   
   
   ## Others
   
   ### Merging options
   
   - [ ] Please squash the commits into a single one when merge.
   
   ### Other information
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] cyberlaugh commented on issue #12697: 散点图开启大数据优化,brush无法正常返回选取的数据

2020-08-07 Thread GitBox


cyberlaugh commented on issue #12697:
URL: 
https://github.com/apache/incubator-echarts/issues/12697#issuecomment-670401888


   1、outOfBrush即使取消默认color:'#ddd'的配置仍然会重绘。
   2、数据量大时散点框选brushSelected回调中无法返回数据点



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[incubator-echarts] branch next updated: style: optimize dark theme.

2020-08-07 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/next by this push:
 new e9cb992  style: optimize dark theme.
e9cb992 is described below

commit e9cb992f7a8e5c7febcc6fca941a3033f97fbeb1
Author: pissang 
AuthorDate: Fri Aug 7 23:39:42 2020 +0800

style: optimize dark theme.
---
 src/label/labelStyle.ts|  8 +--
 src/model/globalDefault.ts | 14 ++--
 src/theme/dark.ts  | 55 +++---
 src/util/log.ts|  2 +-
 4 files changed, 51 insertions(+), 28 deletions(-)

diff --git a/src/label/labelStyle.ts b/src/label/labelStyle.ts
index a6866dc..2a12570 100644
--- a/src/label/labelStyle.ts
+++ b/src/label/labelStyle.ts
@@ -438,8 +438,12 @@ function setTokenTextStyle(
 strokeColor = null;
 }
 }
-fillColor = fillColor || globalTextStyle.color;
-strokeColor = strokeColor || globalTextStyle.textBorderColor;
+if (!isAttached) {
+// Only use default global textStyle.color if text is individual.
+// Otherwise it will use the strategy of attached text color because 
text may be on a path.
+fillColor = fillColor || globalTextStyle.color;
+strokeColor = strokeColor || globalTextStyle.textBorderColor;
+}
 if (fillColor != null) {
 textStyle.fill = fillColor;
 }
diff --git a/src/model/globalDefault.ts b/src/model/globalDefault.ts
index e74ce8c..289bcc7 100644
--- a/src/model/globalDefault.ts
+++ b/src/model/globalDefault.ts
@@ -43,13 +43,13 @@ export default {
 // '#51689b', '#ce5c5c', '#fbc357', '#8fbf8f', '#659d84', '#fb8e6a', 
'#c77288', '#786090', '#91c4c5', '#6890ba'
 '#5470c6',
 '#91cc75',
-'#ffbf25',
-'#ef6868',
-'#ffa086',
-'#b25790',
-'#fe719b',
-'#59d9d2',
-'#46a9ee'
+'#fac858',
+'#ee',
+'#73c0de',
+'#3ba272',
+'#fc8452',
+'#9a60b4',
+'#ea7ccc'
 ],
 
 gradientColor: ['#f6efa6', '#d88273', '#bf444c'],
diff --git a/src/theme/dark.ts b/src/theme/dark.ts
index 9e4cc18..3f83a6d 100644
--- a/src/theme/dark.ts
+++ b/src/theme/dark.ts
@@ -17,7 +17,8 @@
 * under the License.
 */
 
-const contrastColor = '#eee';
+const contrastColor = '#aaacbc';
+const backgroundColor = '#181432';
 const axisCommon = function () {
 return {
 axisLine: {
@@ -25,39 +26,40 @@ const axisCommon = function () {
 color: contrastColor
 }
 },
-axisTick: {
-lineStyle: {
-color: contrastColor
-}
-},
-axisLabel: {
-textStyle: {
-color: contrastColor
-}
-},
 splitLine: {
 lineStyle: {
-type: 'dashed',
-color: '#aaa'
+color: '#33324A'
 }
 },
 splitArea: {
 areaStyle: {
-color: contrastColor
+color: ['rgba(255,255,255,0.02)', 'rgba(255,255,255,0.05)']
+}
+},
+minorSplitLine: {
+lineStyle: {
+color: '#20203B'
 }
 }
 };
 };
 
 const colorPalette = [
-'#dd6b66', '#759aa0', '#e69d87', '#8dc1a9', '#ea7e53',
-'#eedd78', '#73a373', '#73b9bc', '#7289ab', '#91ca8c', '#f49f42'
+'#4992ff',
+'#7cffb2',
+'#fddd60',
+'#ff6e76',
+'#58d9f9',
+'#05c091',
+'#ff8a45',
+'#8d48e3',
+'#dd79ff'
 ];
 const theme = {
 darkMode: true,
 
 color: colorPalette,
-backgroundColor: '#333',
+backgroundColor: backgroundColor,
 tooltip: {
 axisPointer: {
 lineStyle: {
@@ -81,7 +83,10 @@ const theme = {
 },
 title: {
 textStyle: {
-color: contrastColor
+color: '#dae0f1'
+},
+subtextStyle: {
+color: '#aaacbc'
 }
 },
 toolbox: {
@@ -124,6 +129,20 @@ const theme = {
 }
 }
 },
+calendar: {
+itemStyle: {
+color: backgroundColor
+},
+dayLabel: {
+color: contrastColor
+},
+monthLabel: {
+color: contrastColor
+},
+yearLabel: {
+color: contrastColor
+}
+},
 timeAxis: axisCommon(),
 logAxis: axisCommon(),
 valueAxis: axisCommon(),
diff --git a/src/util/log.ts b/src/util/log.ts
index e50fb6d..45cc4ef 100644
--- a/src/util/log.ts
+++ b/src/util/log.ts
@@ -47,7 +47,7 @@ export function deprecateLog(str: string) {
 }
 if (hasConsole) {
 storedLogs[str] = true;
-console.warn(ECHARTS_PREFIX + 'DEPRECATED: ' + str);
+console.warn(ECHARTS_PREFIX + 'DEPRECATED: ' + str);
 }

[GitHub] [incubator-echarts] anthony-bt commented on issue #12319: RoundCap for stacked BarChart

2020-08-07 Thread GitBox


anthony-bt commented on issue #12319:
URL: 
https://github.com/apache/incubator-echarts/issues/12319#issuecomment-670605772


   Hi @gehringf,
   
   I was trying to find a solution to this same problem and I would like to 
share with you a workaround here: https://jsfiddle.net/zha1fgw2/1/
   I hope we won't have to wait for long for this feature.
   
   Have a good day.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] plainheart commented on issue #13098: 如何修改 一个serie的属性呢?

2020-08-07 Thread GitBox


plainheart commented on issue #13098:
URL: 
https://github.com/apache/incubator-echarts/issues/13098#issuecomment-670571261


   可以为每个 series 指定 
[`id`](https://echarts.apache.org/zh/option.html#series-line.id) 或者 
[`name`](https://echarts.apache.org/zh/option.html#series-line.name)



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] plainheart closed issue #13099: The data point item style [borderColor] should has higher priority than series item style [borderColor]

2020-08-07 Thread GitBox


plainheart closed issue #13099:
URL: https://github.com/apache/incubator-echarts/issues/13099


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] plainheart commented on issue #13099: The data point item style [borderColor] should has higher priority than series item style [borderColor]

2020-08-07 Thread GitBox


plainheart commented on issue #13099:
URL: 
https://github.com/apache/incubator-echarts/issues/13099#issuecomment-670569424


   This has been fixed in 5.0.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] nuts-cake commented on issue #13101: echarts in Taro3.0 lose efficacy

2020-08-07 Thread GitBox


nuts-cake commented on issue #13101:
URL: 
https://github.com/apache/incubator-echarts/issues/13101#issuecomment-670828592


   
![t2](https://user-images.githubusercontent.com/57939875/89703482-c22ba100-d97d-11ea-95ff-a752fef94d41.png)
   
![T3](https://user-images.githubusercontent.com/57939875/89703483-c35cce00-d97d-11ea-875c-6322b80d53c4.png)
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13101: echarts in Taro3.0 lose efficacy

2020-08-07 Thread GitBox


echarts-bot[bot] commented on issue #13101:
URL: 
https://github.com/apache/incubator-echarts/issues/13101#issuecomment-670812031


   Hi! We've received your issue and please be patient to get responded. 
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to 
demo your request**. You may also check out the 
[API](http://echarts.apache.org/api.html) and [chart 
option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent 
question to ask, you may also send an email to d...@echarts.apache.org. Please 
attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail 
list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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



[GitHub] [incubator-echarts] nuts-cake opened a new issue #13101: echarts in Taro3.0 lose efficacy

2020-08-07 Thread GitBox


nuts-cake opened a new issue #13101:
URL: https://github.com/apache/incubator-echarts/issues/13101


   ### Version
   4.0.0
   
   ### Steps to reproduce
   in Taro2.0 there will be  echarts the living example , can init , but the 
Taro3.0  this.Charts is not a function. so echarts in Taro3.0 no the use... 
   
   ### What is expected?
   in Taro3.0 use chart
   
   ### What is actually happening?
   no use
   
   ---
   undefined
   
   
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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