[GitHub] [echarts] akeagle closed issue #14208: echarts5.0.1 和vue2.6 版本在使用新特性动态:动态柱状图,label会始终是0

2021-02-04 Thread GitBox


akeagle closed issue #14208:
URL: https://github.com/apache/echarts/issues/14208


   



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] [echarts] echarts-bot[bot] commented on issue #14219: legend.textStyle.width Can text overflow when maximum width is set

2021-02-04 Thread GitBox


echarts-bot[bot] commented on issue #14219:
URL: https://github.com/apache/echarts/issues/14219#issuecomment-773818381


   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 question.
   
   If you are interested in the project, you may also subscribe our [mailing 
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] [echarts] xiaolannuoyi opened a new issue #14219: legend.textStyle.width Can text overflow when maximum width is set

2021-02-04 Thread GitBox


xiaolannuoyi opened a new issue #14219:
URL: https://github.com/apache/echarts/issues/14219


   ### What problem does this feature solve?
   Can text overflow when maximum width is set
   
   ### What does the proposed API look like?
   legend.textStyle.maxWidth
   
   
   



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] [echarts] akeagle commented on issue #14208: echarts5.0.1 和vue2.6 版本在使用新特性动态:动态柱状图,label会始终是0

2021-02-04 Thread GitBox


akeagle commented on issue #14208:
URL: https://github.com/apache/echarts/issues/14208#issuecomment-773815364


   > @akeagle 我写了个 import 的例子
   > https://codesandbox.io/s/dark-frog-28xz8?file=/src/index.js
   
   
具体原因我也不清楚,但您可以本地构建一下,我本地构建后的确实是存在上述问题的。ps:话说国内真是各种不方便,在线代码编辑的工具一个比一个卡,完全用不起的样子。



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] [echarts] iloveuav commented on issue #14218: The registration topic failed after upgrading from 4.9.0 to 5.0.1, as shown below

2021-02-04 Thread GitBox


iloveuav commented on issue #14218:
URL: https://github.com/apache/echarts/issues/14218#issuecomment-773813740


   > Please use named exports
   > 
   > ```js
   > import * as echarts from 'echarts/lib/echarts';
   > ```
   > 
   > Here is an upgrade guide.
   > 
   > 
https://echarts.apache.org/zh/tutorial.html#ECharts%205%20%E5%8D%87%E7%BA%A7%E6%8C%87%E5%8D%97
   
   This issue has been resolved according to the upgrade guide, but there are 
other compatibility issues I will try to resolve first. Thank you for your 
answer



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] [echarts] pissang commented on issue #14218: The registration topic failed after upgrading from 4.9.0 to 5.0.1, as shown below

2021-02-04 Thread GitBox


pissang commented on issue #14218:
URL: https://github.com/apache/echarts/issues/14218#issuecomment-773809253


   Please use named exports
   
   ```js
   import * as echarts from 'echarts/lib/echarts';
   ```
   
   Here is an upgrade guide.
   
   
https://echarts.apache.org/zh/tutorial.html#ECharts%205%20%E5%8D%87%E7%BA%A7%E6%8C%87%E5%8D%97
   



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] [echarts] iloveuav opened a new issue #14218: The registration topic failed after upgrading from 4.9.0 to 5.0.1, as shown below

2021-02-04 Thread GitBox


iloveuav opened a new issue #14218:
URL: https://github.com/apache/echarts/issues/14218


   ### Version
   5.0.1
   
   ### Steps to reproduce
   import echarts from 'echarts/lib/echarts';
   import { ThemeType, ChartType } from '@utils/Enum';
   import { IBaseChartConfig } from '@iwtypes/IBaseChartConfig';
   import blueTheme from './blue';
   import greenTheme from './green';
   import darkTheme from './dark';
   
   import greenEChartTheme from './green/green.json';
   import blueEChartTheme from './blue/blue.json';
   import darkEChartTheme from './dark/dark.json';
   
   // 注册echarts主题
   echarts.registerTheme(`${ThemeType.GREEN}theme`, greenEChartTheme);
   echarts.registerTheme(`${ThemeType.BLUE}theme`, blueEChartTheme);
   echarts.registerTheme(`${ThemeType.DARK}theme`, darkEChartTheme);
   
   export function getChartThemeConfig(
 chart: ChartType,
 theme?: ThemeType
   ): IBaseChartConfig {
 if (theme === ThemeType.BLUE) {
   return blueTheme[chart];
 } else if (theme === ThemeType.DARK) {
   return darkTheme[chart];
 } else {
   return greenTheme[chart];
 }
   }
   
   ---
   
   ©>Uncaught TypeError:index.ts?6a07:13echarts lib echarts WEBPACK IMPORTED 
MODULE 0 .default.registerTheme is not a function
   
   ### What is expected?
   Subject normal registration
   
   ### What is actually happening?
   Failed to register the subject
   
   
   



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] [echarts] echarts-bot[bot] commented on issue #14218: The registration topic failed after upgrading from 4.9.0 to 5.0.1, as shown below

2021-02-04 Thread GitBox


echarts-bot[bot] commented on issue #14218:
URL: https://github.com/apache/echarts/issues/14218#issuecomment-773802561


   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 question.
   
   If you are interested in the project, you may also subscribe our [mailing 
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] [echarts] echarts-bot[bot] commented on issue #14217: Treemap has wrong hover color when a previous data was removed

2021-02-04 Thread GitBox


echarts-bot[bot] commented on issue #14217:
URL: https://github.com/apache/echarts/issues/14217#issuecomment-773796959


   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 question.
   
   If you are interested in the project, you may also subscribe our [mailing 
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] [echarts] Ovilia opened a new issue #14217: Treemap has wrong hover color when a previous data was removed

2021-02-04 Thread GitBox


Ovilia opened a new issue #14217:
URL: https://github.com/apache/echarts/issues/14217


   ### Version
   5.0.1
   
   ### Reproduction link
   
[https://codepen.io/Ovilia/pen/YzpwxXX](https://codepen.io/Ovilia/pen/YzpwxXX)
   
   ### Steps to reproduce
   1. setOption with two treemap data items
   2. setOption and remove the bigger data item
   3. hover on the rest item and check the hovering color
   
   ### What is expected?
   Wait for 2 minutes and hover the treemap. The color is wrong. 
   
   ### What is actually happening?
   It should be blue instead of green.
   
   
   



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] [echarts] iloveuav opened a new issue #14216: The registration topic failed after upgrading from 4.9.0 to 5.0.1, as shown below

2021-02-04 Thread GitBox


iloveuav opened a new issue #14216:
URL: https://github.com/apache/echarts/issues/14216


   
![image](https://user-images.githubusercontent.com/48607989/106988040-b0e71400-67a9-11eb-9493-065a907c8777.png)
   
   code:
   
![image](https://user-images.githubusercontent.com/48607989/106988053-ba707c00-67a9-11eb-80da-92fa3ad8c53e.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] [echarts] echarts-bot[bot] commented on issue #14216: The registration topic failed after upgrading from 4.9.0 to 5.0.1, as shown below

2021-02-04 Thread GitBox


echarts-bot[bot] commented on issue #14216:
URL: https://github.com/apache/echarts/issues/14216#issuecomment-773771026


   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] [echarts] echarts-bot[bot] closed issue #14216: The registration topic failed after upgrading from 4.9.0 to 5.0.1, as shown below

2021-02-04 Thread GitBox


echarts-bot[bot] closed issue #14216:
URL: https://github.com/apache/echarts/issues/14216


   



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] [echarts] pissang edited a comment on issue #14208: echarts5.0.1 和vue2.6 版本在使用新特性动态:动态柱状图,label会始终是0

2021-02-04 Thread GitBox


pissang edited a comment on issue #14208:
URL: https://github.com/apache/echarts/issues/14208#issuecomment-773760858


   @akeagle 我写了个 import 的例子
   https://codesandbox.io/s/dark-frog-28xz8?file=/src/index.js



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] [echarts] pissang commented on issue #14208: echarts5.0.1 和vue2.6 版本在使用新特性动态:动态柱状图,label会始终是0

2021-02-04 Thread GitBox


pissang commented on issue #14208:
URL: https://github.com/apache/echarts/issues/14208#issuecomment-773760858


   @akeagle 我写了个 import 的例子



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] [echarts] Clarkkkk commented on issue #14215: Blur is not working in custom series

2021-02-04 Thread GitBox


Clar commented on issue #14215:
URL: https://github.com/apache/echarts/issues/14215#issuecomment-773755759


   Thank you. It works perfectly now.



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] [echarts] Clarkkkk closed issue #14215: Blur is not working in custom series

2021-02-04 Thread GitBox


Clar closed issue #14215:
URL: https://github.com/apache/echarts/issues/14215


   



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



[echarts] branch feat-colorBy updated (95c870b -> 55290e6)

2021-02-04 Thread ovilia
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a change to branch feat-colorBy
in repository https://gitbox.apache.org/repos/asf/echarts.git.


from 95c870b  feat(colorBy): provide option.colorBy #13731
 add 4369d36  fix(axis): when category axis max is greater than data length
 add ee3cfa9  fix(axis): simplify logic
 add e4f197a  fix(axis): improve logic
 add 399297f  fix(typo): fix comment typo
 add e4f4f3a  Merge pull request #13793 from xiaohp/patch-1
 add 1ddd1f7  fix: fix formatter not work when valueAnimation: true.
 add f218a44  fix: fix that category value become undefined when init 
animation when valueAnimation: true.
 add a40a3eb  ts: remove some any.
 add cd8881d  fix: label formatter string should be able to use {@dimName} 
and {@[dimIndex]} to reference interpolated value.
 add ab9aa43  fix: when label animation is not finished, start a new label 
animation, the label should not jump the the last final value.
 add 4d7ba95  fix: tweak code style.
 add f765b20  Merge pull request #13792 from apache/fix/label-valueAnimation
 add 51499a7  Fix(tooltip.borderColor): consider tooltipModel borderColor
 add 4fe2bd0  Merge pull request #13771 from susiwen8/toooltip-borderColor
 add d0ab638  Merge branch 'master' into feat-colorBy
 add d0ba772  fix: fix code brought in #13771
 add edf0c8e  Merge pull request #13816 from apache/fix/tooltip-last
 add 9846f04  fix: fix that label animation restart when bar realtimeSort 
change bar orders.
 add 43853e6  Merge pull request #13817 from apache/fix/bar-race-20201215
 add 116758f  fix(bar-race): fix default categorySortInfo value bug
 add 9ca68da  fix(types): add missing `number` type for line series, 
resolves #13815.
 add 0cf9dd4  Merge pull request #13823 from apache/fix-smooth-type
 add 4174861  fix(svg): fix charts cannot be exported in svg renderer in IE.
 add 5e07fa7  fix(lint): fix some format and unused var issues checked by 
eslint.
 add e281ee1  fix(toolbox): supprot for downloading exported svg file in 
IE9.
 add e51f486  Merge branch 'master' of 
https://github.com/apache/incubator-echarts into fix-svg-export
 add b6a3891  test: add test case ie-svg-export.html.
 add a3a0e45  Revert "fix(lint): fix some format and unused var issues 
checked by eslint."
 add 177f1fc  fix(toolbox): remove outer link and fix issues for new edge 
with chromium core.
 add eb9341c  Merge pull request #13732 from apache/fix-svg-export
 add cde4060  chore: update keywords, description, homepage information and 
add bugs field in package.json.
 add ee55885  chore: update repository field in package.json.
 add 94bc97a  Merge pull request #13863 from apache/keywords
 add bf8918f  Fix typo in comment (#13885)
 add 2da9ff7  fix(heatmap): heatmap cannot be rendered in geo coordinate 
system with a large data.
 add eca59fa  refact: make components installable
 add 042ded6  fix: not install directly to avoid installed twice.
 add e56b7cd  refact: fix bugs caused by the refactor. export types
 add b6b6edd  delete useless jshintrc
 add 8588f3a  refact: export adjust. a new way for partially import
 add 663be67  refact: remove all register code with side effects
 add 9a6f148  refact: export partial options in dts.
 add ce05d25  chore: upgrade ts version to 4.1
 add 0ba218e  fix renderer entry
 add a6abfdb  chore: update esbuild version to fix build error
 add 9f65b06  refact(ts): only one params is needed in ComposeOption
 add 7ad6e1e  fix(type): test exported types in more strict mode.
 add 507c0ae  ts: add dependencies in ComposeOption
 add ad8f240  chore: not mangle internal chunk. optimize dts output
 add 0c681a1  chore: remove support of 3.4.0
 add 9a4dc9b  chore: switch back to echarts.xxx.js for esm entries.
 add 9a28262  fix: add dependencies in graph/heatmap series.
 add b469e56  fix: still delete inner properties in getOption
 add 04f3448  chore: first class esm export.
 add 5f72e8f  chore: fix cjs module import may bundle all codes bug.
 add afe669a  chore: add legendPlain. the original legend contains 
scrollable
 add 845207b  chore: update rollup plugins
 add 3054d8b  chore: fix error in visual test after updated plugin
 add b4e0080  fix: fix radar not exported bug
 add 0d323dd  Merge branch 'master' into treeshakable-exports
 add e26e4f2  merge change from the master
 add db48b20  fix: fix parallel action not work bug
 add 6e38bc5  add todo mark comments
 add 273d963  chore: remove cjs modules. change to esm format in the lib 
folder.
 add 10357d3  chore: only depends on echarts/lib/echarts on theme and i18n
 add 450f493  refact: put all core modules in the core dir. only do export 
in lib/echarts
 add 8381506  tweak error log comments.
 add 4aaeb52  chore: fix ty

[GitHub] [echarts] akeagle commented on issue #14208: echarts5.0.1 和vue2.6 版本在使用新特性动态:动态柱状图,label会始终是0

2021-02-04 Thread GitBox


akeagle commented on issue #14208:
URL: https://github.com/apache/echarts/issues/14208#issuecomment-773750238


   > @akeagle https://codesandbox.io/dashboard 发我下你的例子?
   
   代码我没改变,还是上面的代码,区别只是一个import,一个script引入的echarts。



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] [echarts] akeagle commented on issue #14208: echarts5.0.1 和vue2.6 版本在使用新特性动态:动态柱状图,label会始终是0

2021-02-04 Thread GitBox


akeagle commented on issue #14208:
URL: https://github.com/apache/echarts/issues/14208#issuecomment-773749759


   ` version "4.44.2"
 resolved 
"https://registry.yarnpkg.com/webpack/-/webpack-4.44.2.tgz#6bfe2b0af055c8b2d1e90ed2cd9363f841266b72";
 integrity 
sha512-6KJVGlCxYdISyurpQ0IPTklv+DULv05rs2hseIXer6D7KrUicRDLFb4IUM1S6LUAKypPM/nSiVSuv8jHu1m3/Q==`
   
   这是我测试用的webpack版本,目前不确定问题出在webpack这里还是echarts这里。



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] [echarts] pissang commented on issue #14208: echarts5.0.1 和vue2.6 版本在使用新特性动态:动态柱状图,label会始终是0

2021-02-04 Thread GitBox


pissang commented on issue #14208:
URL: https://github.com/apache/echarts/issues/14208#issuecomment-773748791


   @akeagle https://codesandbox.io/dashboard 发我下你的例子?



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] [echarts] akeagle commented on issue #14208: echarts5.0.1 和vue2.6 版本在使用新特性动态:动态柱状图,label会始终是0

2021-02-04 Thread GitBox


akeagle commented on issue #14208:
URL: https://github.com/apache/echarts/issues/14208#issuecomment-773748388


   > 动态柱状图主要是针对数据更新时的动画,可能在初始化的时候也应用会有问题。我们在下个版本修复一下,先可以这样调整一下:
   > 
   > ```js
   > const res = [
   > { name: '土采置存她', num: 0 },
   > { name: '位件内月前', num: 0 },
   > { name: '得三率别重', num: 0 },
   > { name: '样名广斯', num: 0 },
   > { name: '前象确', num: 0 },
   > ];
   > 
   > option = {
   > xAxis: {
   >   type: 'value',
   > },
   > yAxis: {
   >   type: 'category',
   >   max: 3,
   >   animationDuration: 300,
   >   animationDurationUpdate: 300,
   >   inverse: true,
   >   data: res.map(i => {
   > return i.name;
   >   }),
   > },
   > series: [
   >   {
   > name: 'x',
   > type: 'bar',
   > realtimeSort: true,
   > label: {
   >   show: true,
   >   position: 'right',
   >   valueAnimation: true,
   > },
   > // showBackground: true,
   > data: res.map(i => {
   >   return i.num;
   > }),
   >   },
   > ],
   > animationEasingUpdate: 'linear',
   > animationDuration: 0,
   > animationDurationUpdate: 3000,
   > };
   > 
   > setTimeout(function () {
   >myChart.setOption({
   > series: [{
   > data: [79, 827, 99, 356, 359]
   > }] 
   >});
   > });
   > ```
   
   另外补充一句:您给的方案并没有解决问题。



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] [echarts] akeagle commented on issue #14208: echarts5.0.1 和vue2.6 版本在使用新特性动态:动态柱状图,label会始终是0

2021-02-04 Thread GitBox


akeagle commented on issue #14208:
URL: https://github.com/apache/echarts/issues/14208#issuecomment-773747963


   我刚才又重新做了测试,和vue没有关系,但凡是通过`import * as echarts from 
'echarts';`引入的,通过webpack构建后都会出现如上问题,但通过script直接导入的则没有这个问题。



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



[echarts-doc] branch master updated: sync en doc

2021-02-04 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new bb52b39  sync en doc
bb52b39 is described below

commit bb52b39f4b1bf96c33ccf76315cae0555b9083c5
Author: pissang 
AuthorDate: Fri Feb 5 10:45:39 2021 +0800

sync en doc
---
 en/option/component/aria.md|  3 +--
 en/option/component/axis-common.md |  1 +
 en/option/component/timeline.md|  7 +++
 en/option/component/tooltip.md |  2 +-
 en/option/component/visual-map.md  | 10 ++
 en/option/partial/decal.md |  4 ++--
 en/option/partial/item-style.md|  3 +--
 en/option/partial/label-line.md|  2 +-
 en/option/partial/parallel.md  |  1 -
 en/option/partial/text-style.md|  4 ++--
 en/option/series/bar.md|  3 +--
 en/option/series/boxplot.md|  8 
 en/option/series/funnel.md |  4 ++--
 en/option/series/pie.md|  4 ++--
 en/option/series/radar.md  |  3 ++-
 en/option/series/sankey.md |  6 +++---
 en/option/series/sunburst.md   | 10 +-
 en/option/series/themeRiver.md |  2 +-
 en/option/series/treemap.md|  1 -
 zh/option/component/visual-map.md  |  9 -
 20 files changed, 42 insertions(+), 45 deletions(-)

diff --git a/en/option/component/aria.md b/en/option/component/aria.md
index 8658910..c6d8250 100644
--- a/en/option/component/aria.md
+++ b/en/option/component/aria.md
@@ -197,8 +197,6 @@ The delimiter after the last data.
 
 Note that usually the last series is followed by the series `separator.end`, 
so `data.separator.end` is an empty string in most cases.
 
-
-
 ## decal(Object)
 
 Decal patterns are added to series data as an additional hint other than 
colors to help differentiate the data. It is easy to enabled the default decal 
patterns by enabling it:
@@ -227,3 +225,4 @@ The style of the decal pattern. If it is an `Object` type, 
it means all data wil
 {{ use: partial-decal(
 prefix = "###"
 ) }}
+
diff --git a/en/option/component/axis-common.md 
b/en/option/component/axis-common.md
index 60b4e14..59d0cb3 100644
--- a/en/option/component/axis-common.md
+++ b/en/option/component/axis-common.md
@@ -898,3 +898,4 @@ xAxis: {
 }
 },
 ```
+
diff --git a/en/option/component/timeline.md b/en/option/component/timeline.md
index 7914a1b..588c4a9 100644
--- a/en/option/component/timeline.md
+++ b/en/option/component/timeline.md
@@ -85,7 +85,7 @@ myChart.setOption({
 
 **How the `finalOption` calculated?**
 
-{{ use: partial-timeline-merge-strategy }}
+{{ use: partial-timeline-merge-strategy() }}
 
 
 **Compatibility with ECharts 4:**
@@ -102,7 +102,6 @@ option = {
 };
 ```
 
-
 ## show(boolean) = true
 
 
@@ -162,7 +161,7 @@ Whether the view updates in real time during dragging the 
control dot.
 
 ## replaceMerge(Array|string) = undefined
 
-{{ use: partial-timeline-merge-strategy }}
+{{ use: partial-timeline-merge-strategy() }}
 
 
 
@@ -172,7 +171,6 @@ The value of `replaceMerge` can be a `mainType` of a 
component, like `replaceMer
 
 See this 
[example](${galleryEditorPath}doc-example/timeline-dynamic-series&edit=1&reset=1).
 
-
 ## controlPosition(string) = 'left'
 
 
@@ -545,3 +543,4 @@ When initializing, a `switchableOption` corresponding to 
the current time tick a
 There are two merging strategy.
 + By default, use `NORMAL_MERGE`.
 + If [timeline.replaceMerge](~option.html#timeline.replaceMerge) is set, use 
`REPLACE_MERGE`. See [setOption](~api.html#echartsInstance.setOption) for more 
details of `REPLACE_MERGE`.
+
diff --git a/en/option/component/tooltip.md b/en/option/component/tooltip.md
index 09b8260..d6e4c29 100644
--- a/en/option/component/tooltip.md
+++ b/en/option/component/tooltip.md
@@ -237,7 +237,6 @@ The transition duration of tooltip's animation, in seconds. 
When it is set to be
 
 
 
-
 {{ use: partial-version(
 version = "5.0.0"
 ) }}
@@ -261,3 +260,4 @@ Conditions to order tooltip. Options:
 + `'valueDesc'`
 
 Base on value, descending order tooltip, only for numberic value.
+
diff --git a/en/option/component/visual-map.md 
b/en/option/component/visual-map.md
index 468d5fd..47e0cba 100644
--- a/en/option/component/visual-map.md
+++ b/en/option/component/visual-map.md
@@ -341,6 +341,11 @@ Define visual channels that will mapped from dataValues 
that are **out of select
 
 See available configurations in 
[${visualMapName}.inRange](~${visualMapName}.inRange)
 
+{{ use: partial-visual-map-inRange-outOfRange(
+prefix = "",
+visualMapName = ${visualMapName}
+) }}
+
 ## controller(Object)
 
 Property `inRange` and `outOfRange` can be set within property `controller`, 
which means those `inRange` and `outOfRange` are only used on the controller 
(`visualMap` component itself), but are not used on chart (series). This 
property is useful in some scenarios when the view of contr

[echarts-doc] branch master updated: fix wrong place of focus blurScope in custom series

2021-02-04 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 35498b5  fix wrong place of focus blurScope in custom series
35498b5 is described below

commit 35498b59a180eca424d2c905d49aee05832efc04
Author: pissang 
AuthorDate: Fri Feb 5 10:40:40 2021 +0800

fix wrong place of focus blurScope in custom series
---
 en/option/partial/zr-graphic.md | 143 ++--
 zh/option/partial/zr-graphic.md |  70 +---
 2 files changed, 123 insertions(+), 90 deletions(-)

diff --git a/en/option/partial/zr-graphic.md b/en/option/partial/zr-graphic.md
index faaf6c6..1c8da22 100644
--- a/en/option/partial/zr-graphic.md
+++ b/en/option/partial/zr-graphic.md
@@ -1,9 +1,6 @@
 
 {{ target: partial-zr-graphic-elements }}
 
-
-
-
 #${prefix} ${hostName}${symbolDeclare}group(Object)
 
 `group` is the only type that can contain children, so that a group of 
elements can be positioned and transformed together.
@@ -63,11 +60,6 @@ A list of children, each item is a declaration of an element.
 symbolDeclare = ${symbolDeclare}
 ) }}
 
-
-
-
-
-
 {{ if: ${usageType} === 'customSeries' }}
 #${prefix} ${hostName}${symbolDeclare}path(Object)
 
@@ -147,7 +139,6 @@ Optional value:
 symbolDeclare = ${symbolDeclare}
 ) }}
 
-
 ##${prefix} style(Object)
 
 {{ use: partial-graphic-cpt-style-prop-common(
@@ -159,6 +150,10 @@ Optional value:
 symbolDeclare = ${symbolDeclare}
 ) }}
 
+{{ use: partial-graphic-cpt-focus-blur(
+prefix = ${prefix}
+) }}
+
 {{ use: partial-graphic-cpt-style-emphasis(
 prefix = ${prefix},
 optionPath = ${optionPath},
@@ -176,13 +171,8 @@ Optional value:
 symbolVisit = ${symbolVisit},
 symbolDeclare = ${symbolDeclare}
 ) }}
-
 {{ /if }}
 
-
-
-
-
 #${prefix} ${hostName}${symbolDeclare}image(Object)
 
 {{ use: partial-graphic-cpt-common-props(
@@ -228,6 +218,10 @@ Specify content of the image, can be a URL, or 
[dataURI](https://tools.ietf.org/
 symbolDeclare = ${symbolDeclare}
 ) }}
 
+{{ use: partial-graphic-cpt-focus-blur(
+prefix = ${prefix}
+) }}
+
 {{ use: partial-graphic-cpt-style-emphasis(
 prefix = ${prefix},
 optionPath = ${optionPath},
@@ -246,10 +240,6 @@ Specify content of the image, can be a URL, or 
[dataURI](https://tools.ietf.org/
 symbolDeclare = ${symbolDeclare}
 ) }}
 
-
-
-
-
 #${prefix} ${hostName}${symbolDeclare}text(Object)
 
 Text block.
@@ -314,6 +304,10 @@ Text vertical alignment. Optional values: `'top'`, 
`'middle'`, `'bottom'`.
 symbolDeclare = ${symbolDeclare}
 ) }}
 
+{{ use: partial-graphic-cpt-focus-blur(
+prefix = ${prefix}
+) }}
+
 {{ use: partial-graphic-cpt-style-emphasis(
 prefix = ${prefix},
 optionPath = ${optionPath},
@@ -332,10 +326,6 @@ Text vertical alignment. Optional values: `'top'`, 
`'middle'`, `'bottom'`.
 symbolDeclare = ${symbolDeclare}
 ) }}
 
-
-
-
-
 #${prefix} ${hostName}${symbolDeclare}rect(Object)
 
 Rectangle element.
@@ -391,7 +381,6 @@ Abbreviation is enabled, for example:
 symbolDeclare = ${symbolDeclare}
 ) }}
 
-
 ##${prefix} style(Object)
 
 {{ use: partial-graphic-cpt-style-prop-common(
@@ -403,6 +392,10 @@ Abbreviation is enabled, for example:
 symbolDeclare = ${symbolDeclare}
 ) }}
 
+{{ use: partial-graphic-cpt-focus-blur(
+prefix = ${prefix}
+) }}
+
 {{ use: partial-graphic-cpt-style-emphasis(
 prefix = ${prefix},
 optionPath = ${optionPath},
@@ -421,10 +414,6 @@ Abbreviation is enabled, for example:
 symbolDeclare = ${symbolDeclare}
 ) }}
 
-
-
-
-
 #${prefix} ${hostName}${symbolDeclare}circle(Object)
 
 Circle element.
@@ -481,6 +470,10 @@ Circle element.
 symbolDeclare = ${symbolDeclare}
 ) }}
 
+{{ use: partial-graphic-cpt-focus-blur(
+prefix = ${prefix}
+) }}
+
 {{ use: partial-graphic-cpt-style-emphasis(
 prefix = ${prefix},
 optionPath = ${optionPath},
@@ -499,10 +492,6 @@ Circle element.
 symbolDeclare = ${symbolDeclare}
 ) }}
 
-
-
-
-
 #${prefix} ${hostName}${symbolDeclare}ring(Object)
 
 Ring element.
@@ -559,6 +548,10 @@ Ring element.
 symbolDeclare = ${symbolDeclare}
 ) }}
 
+{{ use: partial-graphic-cpt-focus-blur(
+prefix = ${prefix}
+) }}
+
 {{ use: partial-graphic-cpt-style-emphasis(
 prefix = ${prefix},
 optionPath = ${optionPath},
@@ -577,10 +570,6 @@ Ring element.
 symbolDeclare = ${symbolDeclare}
 ) }}
 
-
-
-
-
 #${prefix} ${hostName}${symbolDeclare}sector(Object)
 
 Sector element.
@@ -646,6 +635,10 @@ Sector element.
 symbolDeclare = ${symbolDeclare}
 ) }}
 
+{{ use: partial-graphic-cpt-focus-blur(
+prefix = ${prefix}
+) }}
+
 {{ use: partial-graphic-cpt-style-emphasis(
 prefix = ${prefix},
 optionPath = ${optionPath},
@@ -664,10 +657,6 @@ Sector element.
 symbolDeclare = ${symbolDeclare}
 ) }}
 
-
-
-
-
 #${prefix} ${hostName}${symbolDecl

[GitHub] [echarts] pissang edited a comment on issue #14215: Blur is not working in custom series

2021-02-04 Thread GitBox


pissang edited a comment on issue #14215:
URL: https://github.com/apache/echarts/issues/14215#issuecomment-773737988


   Sorry it's an error of doc. the `focus` is not in the emphasis object.
   ```js
   
   focus: 'self',
   emphasis: {
 style: {
   fill: 'blue'
 }
   },
   blur: {
 style: {
   fill: '#888'
 }
   },
   select: {
 style: {
   fill: 'red'
 }
   }
   ```
   
   I updated the demo https://jsfiddle.net/wkcnsbau/



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] [echarts] pissang commented on issue #14215: Blur is not working in custom series

2021-02-04 Thread GitBox


pissang commented on issue #14215:
URL: https://github.com/apache/echarts/issues/14215#issuecomment-773737988


   Sorry it's an error of doc. the `focus` is not in the emphasis object.
   ```js
   
   focus: 'self',
   emphasis: {
 style: {
   fill: 'blue'
 }
   },
   blur: {
 style: {
   fill: '#888'
 }
   },
   select: {
 style: {
   fill: 'red'
 }
   }
   ```



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] [echarts] susiwen8 commented on a change in pull request #14214: Fix(tooltip): width and overflow not working

2021-02-04 Thread GitBox


susiwen8 commented on a change in pull request #14214:
URL: https://github.com/apache/echarts/pull/14214#discussion_r570676878



##
File path: src/util/types.ts
##
@@ -1345,6 +1345,8 @@ export interface CommonTooltipOption {
 
 // Available when renderMode is html
 decoration?: string
+overflow?: 'none' | 'truncate' | 'break' | 'breakAll'
+ellipsis?: string

Review comment:
   @plainheart Thanks, I will change it later.





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] [echarts] plainheart commented on a change in pull request #14214: Fix(tooltip): width and overflow not working

2021-02-04 Thread GitBox


plainheart commented on a change in pull request #14214:
URL: https://github.com/apache/echarts/pull/14214#discussion_r570666053



##
File path: src/util/types.ts
##
@@ -1345,6 +1345,8 @@ export interface CommonTooltipOption {
 
 // Available when renderMode is html
 decoration?: string
+overflow?: 'none' | 'truncate' | 'break' | 'breakAll'
+ellipsis?: string

Review comment:
   The type definitions for `overflow` and `ellipsis` here are 
inappropriate and seems redundant. We can pick the `overflow` property from 
`LabelOption`. As for the `ellipsis` and `lineOverflow`, they can also be 
picked from the `TextStyleProps` in zrender. I think they are just missing in 
`LabelOption`. We should add them.
   
   ```ts
   export interface LabelOption extends TextCommonOption {
   overflow?: TextStyleProps['overflow']
   ellipsis?: TextStyleProps['ellipsis']
   lineOverflow?: TextStyleProps['lineOverflow']
   }
   ```
   
   Then add support for `ellipsis` after 
https://github.com/apache/echarts/blob/master/src/label/labelStyle.ts#L416-L419
   ```ts
   const ellipsis = textStyleModel.get('ellipsis');
   if (ellipsis) {
   textStyle.ellipsis = ellipsis;
   }
   const lineOverflow = textStyleModel.get('lineOverflow');
   if (lineOverflow) {
   textStyle.lineOverflow = lineOverflow;
   }
   ```
   
   But there is a TODO 
   
https://github.com/ecomfe/zrender/blob/master/src/graphic/helper/parseText.ts#L206-L213
   
   So `lineOverflow: truncate` won't be truncated by `ellipsis` characters. We 
can fix it later.
   Besides, `lineOverflow` may not be working in HTML rendering mode. Though 
there is a CSS property `line-clamp`, it is an unsupported WebKit property and 
it may have poor compatibility in some browsers.





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] [echarts] pissang commented on issue #14208: echarts5.0.1 和vue2.6 版本在使用新特性动态:动态柱状图,label会始终是0

2021-02-04 Thread GitBox


pissang commented on issue #14208:
URL: https://github.com/apache/echarts/issues/14208#issuecomment-773734745


   动态柱状图主要是针对数据更新时的动画,可能在初始化的时候也应用会有问题。我们在下个版本修复一下,先可以这样调整一下:
   
   ```js
   const res = [
   { name: '土采置存她', num: 0 },
   { name: '位件内月前', num: 0 },
   { name: '得三率别重', num: 0 },
   { name: '样名广斯', num: 0 },
   { name: '前象确', num: 0 },
   ];
   
   option = {
   xAxis: {
 type: 'value',
   },
   yAxis: {
 type: 'category',
 max: 3,
 animationDuration: 300,
 animationDurationUpdate: 300,
 inverse: true,
 data: res.map(i => {
   return i.name;
 }),
   },
   series: [
 {
   name: 'x',
   type: 'bar',
   realtimeSort: true,
   label: {
 show: true,
 position: 'right',
 valueAnimation: true,
   },
   // showBackground: true,
   data: res.map(i => {
 return i.num;
   }),
 },
   ],
   animationEasingUpdate: 'linear',
   animationDuration: 0,
   animationDurationUpdate: 3000,
   };
   
   setTimeout(function () {
  myChart.setOption({
   series: [{
   data: [79, 827, 99, 356, 359]
   }] 
  });
   });
   ```



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] [echarts] plainheart commented on a change in pull request #14214: Fix(tooltip): width and overflow not working

2021-02-04 Thread GitBox


plainheart commented on a change in pull request #14214:
URL: https://github.com/apache/echarts/pull/14214#discussion_r570666053



##
File path: src/util/types.ts
##
@@ -1345,6 +1345,8 @@ export interface CommonTooltipOption {
 
 // Available when renderMode is html
 decoration?: string
+overflow?: 'none' | 'truncate' | 'break' | 'breakAll'
+ellipsis?: string

Review comment:
   The type definitions for `overflow` and `ellipsis` here are 
inappropriate and seems redundant. We can pick the `overflow` property from 
`LabelOption`. As for the `ellipsis` and `lineOverflow`, they can also be 
picked from the `TextStyleProps` in zrender. I think they are just missing in 
`LabelOption`. We should add them.
   
   ```ts
   export interface LabelOption extends TextCommonOption {
   overflow?: TextStyleProps['overflow']
   ellipsis?: TextStyleProps['ellipsis']
   lineOverflow?: TextStyleProps['lineOverflow']
   }
   ```
   
   Then add support for `ellipsis` after 
https://github.com/apache/echarts/blob/master/src/label/labelStyle.ts#L416-L419
   ```ts
   const ellipsis = textStyleModel.get('ellipsis');
   if (ellipsis) {
   textStyle.ellipsis = ellipsis;
   }
   const lineOverflow = textStyleModel.get('lineOverflow');
   if (lineOverflow) {
   textStyle.lineOverflow = lineOverflow;
   }
   ```
   
   But there is a TODO 
   
https://github.com/ecomfe/zrender/blob/master/src/graphic/helper/parseText.ts#L206-L213
   
   So `lineOverflow: truncate` won't be truncated by `ellipsis` characters. We 
can fix it later.
   Besides, `lineOverflow` may not be working in HTML rendering mode.





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] [echarts] plainheart commented on a change in pull request #14214: Fix(tooltip): width and overflow not working

2021-02-04 Thread GitBox


plainheart commented on a change in pull request #14214:
URL: https://github.com/apache/echarts/pull/14214#discussion_r570672303



##
File path: src/component/tooltip/TooltipHTMLContent.ts
##
@@ -358,6 +358,34 @@ class TooltipHTMLContent {
 + `border-color: ${nearPointColor};`
 + (tooltipModel.get('extraCssText') || '');
 
+const userWidth = tooltipModel.get(['textStyle', 'width']);
+if (userWidth != null) {
+el.style.cssText += `;width:${userWidth}px;`;
+// `text-overflow_string` has very humble compatibility
+// shttps://caniuse.com/mdn-css_properties_text-overflow_string
+const ellipsis = tooltipModel.get(['textStyle', 'ellipsis']);
+const userOverflow = tooltipModel.get(['textStyle', 'overflow']);
+switch (userOverflow) {
+case 'truncate':
+el.style.cssText += ';overflow:hidden;'
++ `text-overflow:${ellipsis != null ? 
`\'${ellipsis}\'` : 'ellipsis'};`
++ 'white-space:nowrap;';
+break;
+
+case 'break':
+el.style.cssText += 
';word-break:break-word;white-space:normal;';
+break;
+
+case 'breakAll':
+el.style.cssText += 
';word-break:break-all;white-space:normal;';
+break;
+
+default:
+el.style.cssText += '';
+break;
+}
+}

Review comment:
   I'm thinking this logic can be simplified a bit. Just FYI.
   
   ```js
   const ellipsis = retrieve(tooltipModel.get(['textStyle', 'ellipsis']), 
'ellipsis');
   const userOverflow = tooltipModel.get(['textStyle', 'overflow']);
   if (userOverflow) {
   let overflowStyle = '';
   if (userOverflow === 'truncate') {
   overflowStyle = 
`overflow:hidden;text-overflow:${ellipsis};white-space:nowrap;`
   }
   else {
   const breakMode = userOverflow === 'break'
   ? 'break-word'
   : userOverflow === 'breakAll'
   ? 'break-all' : '';
   breakMode && (overflowStyle = 
`word-break:${breakMode};white-space:normal;`);
   }
   el.style.cssText += overflowStyle;
   }
   ```





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] [echarts] plainheart commented on a change in pull request #14214: Fix(tooltip): width and overflow not working

2021-02-04 Thread GitBox


plainheart commented on a change in pull request #14214:
URL: https://github.com/apache/echarts/pull/14214#discussion_r570672303



##
File path: src/component/tooltip/TooltipHTMLContent.ts
##
@@ -358,6 +358,34 @@ class TooltipHTMLContent {
 + `border-color: ${nearPointColor};`
 + (tooltipModel.get('extraCssText') || '');
 
+const userWidth = tooltipModel.get(['textStyle', 'width']);
+if (userWidth != null) {
+el.style.cssText += `;width:${userWidth}px;`;
+// `text-overflow_string` has very humble compatibility
+// shttps://caniuse.com/mdn-css_properties_text-overflow_string
+const ellipsis = tooltipModel.get(['textStyle', 'ellipsis']);
+const userOverflow = tooltipModel.get(['textStyle', 'overflow']);
+switch (userOverflow) {
+case 'truncate':
+el.style.cssText += ';overflow:hidden;'
++ `text-overflow:${ellipsis != null ? 
`\'${ellipsis}\'` : 'ellipsis'};`
++ 'white-space:nowrap;';
+break;
+
+case 'break':
+el.style.cssText += 
';word-break:break-word;white-space:normal;';
+break;
+
+case 'breakAll':
+el.style.cssText += 
';word-break:break-all;white-space:normal;';
+break;
+
+default:
+el.style.cssText += '';
+break;
+}
+}

Review comment:
   I'm thinking this logic can be simplified a bit. Just FYI.
   
   ```js
   const ellipsis = retrieve(tooltipModel.get(['textStyle', 'ellipsis']), 
'ellipsis');
   const userOverflow = tooltipModel.get(['textStyle', 'overflow']);
   if (userOverflow) {
   let overflowStyle;
   if (userOverflow === 'truncate') {
   overflowStyle = 
`overflow:hidden;text-overflow:${ellipsis};white-space:nowrap;`
   }
   else {
   const breakMode = userOverflow === 'break'
   ? 'break-word'
   : userOverflow === 'breakAll'
   ? 'break-all' : '';
   breakMode && (overflowStyle = 
`word-break:${breakMode};white-space:normal;`);
   }
   el.style.cssText += overflowStyle;
   }
   ```





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] [echarts] akeagle edited a comment on issue #14208: echarts5.0.1 和vue2.6 版本在使用新特性动态:动态柱状图,label会始终是0

2021-02-04 Thread GitBox


akeagle edited a comment on issue #14208:
URL: https://github.com/apache/echarts/issues/14208#issuecomment-773722382


   
   ```js
   
 
   
   
   
 import * as echarts from 'echarts';
 export default {
   name: 'test',
   mounted() {
 const res = [
   { name: '土采置存她', num: 79 },
   { name: '位件内月前', num: 827 },
   { name: '得三率别重', num: 99 },
   { name: '样名广斯', num: 356 },
   { name: '前象确', num: 359 },
 ];
 this.options = {
   xAxis: {
 type: 'value',
   },
   yAxis: {
 type: 'category',
 max: 3,
 animationDuration: 300,
 animationDurationUpdate: 300,
 inverse: true,
 data: res.map(i => {
   return i.name;
 }),
   },
   series: [
 {
   name: 'x',
   type: 'bar',
   realtimeSort: true,
   label: {
 show: true,
 position: 'right',
 valueAnimation: true,
   },
   showBackground: true,
   data: res.map(i => {
 return i.num;
   }),
 },
   ],
   animationDuration: 3000,
   animationDurationUpdate: 3000,
 };
 this.initChart();
   },
   methods: {
 initChart() {
   this.$nextTick(e => {
 this.chart = echarts.init(document.getElementById('id'));
 this.chart.setOption(this.options);
   });
 },
   },
 };
   
   ```



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] [echarts] peder1001 edited a comment on issue #14116: itemStyle not respected for object-array like dataset

2021-02-04 Thread GitBox


peder1001 edited a comment on issue #14116:
URL: https://github.com/apache/echarts/issues/14116#issuecomment-773577468


   Add the itemStyle to your series instead of the dataset.
   
   For example
   ```js
   option = {
   legend: {},
   tooltip: {},
   dataset: {
   source: [
   ['product', '2015', '2016', '2017'],
   ['Matcha Latte', 43.3, 85.8, 93.7],
   ['Milk Tea', 83.1, 73.4, 55.1],
   ['Cheese Cocoa', 86.4, 65.2, 82.5],
   ['Walnut Brownie', 72.4, 53.9, 39.1]
   ]
   },
   xAxis: {type: 'category'},
   yAxis: {},
   // Declare several bar series, each will be mapped
   // to a column of dataset.source by default.
   series: [
   {
   type: 'bar', 
   itemStyle: {
 color: 'rgba(255,0,0,0.4)',
   },
   },
   {type: 'bar'},
   {type: 'bar'}
   ]
   };
   ```



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] [echarts] plainheart commented on a change in pull request #14214: Fix(tooltip): width and overflow not working

2021-02-04 Thread GitBox


plainheart commented on a change in pull request #14214:
URL: https://github.com/apache/echarts/pull/14214#discussion_r570666229



##
File path: src/component/tooltip/TooltipRichContent.ts
##
@@ -106,7 +106,10 @@ class TooltipRichContent {
 fill: tooltipModel.get(['textStyle', 'color']),
 padding: getPaddingFromTooltipModel(tooltipModel, 'richText'),
 verticalAlign: 'top',
-align: 'left'
+align: 'left',
+width: +tooltipModel.get(['textStyle', 'width']) || null,

Review comment:
   `height` should also be specified.

##
File path: src/component/tooltip/TooltipRichContent.ts
##
@@ -106,7 +106,10 @@ class TooltipRichContent {
 fill: tooltipModel.get(['textStyle', 'color']),
 padding: getPaddingFromTooltipModel(tooltipModel, 'richText'),
 verticalAlign: 'top',
-align: 'left'
+align: 'left',
+width: +tooltipModel.get(['textStyle', 'width']) || null,
+overflow: tooltipModel.get(['textStyle', 'overflow']),
+ellipsis: tooltipModel.get(['textStyle', 'ellipsis'])

Review comment:
   `lineOverflow` needs to be added.

##
File path: src/util/types.ts
##
@@ -1345,6 +1345,8 @@ export interface CommonTooltipOption {
 
 // Available when renderMode is html
 decoration?: string
+overflow?: 'none' | 'truncate' | 'break' | 'breakAll'
+ellipsis?: string

Review comment:
   The type definitions for `overflow` and `ellipsis` here are 
inappropriate and seems redundant. We can pick the `overflow` property from 
`LabelOption`. As for the `ellipsis` and `lineOverflow`, they can also be 
picked from the `TextStyleProps` in zrender. I think they are just missing in 
`LabelOption`. We should add them.
   
   ```ts
   export interface LabelOption extends TextCommonOption {
   overflow?: TextStyleProps['overflow']
   ellipsis?: TextStyleProps['ellipsis']
   lineOverflow?: TextStyleProps['lineOverflow']
   }
   ```
   
   Then add support for `ellipsis` after 
https://github.com/apache/echarts/blob/master/src/label/labelStyle.ts#L416-L419
   ```ts
   const ellipsis = textStyleModel.get('ellipsis');
   if (ellipsis) {
   textStyle.ellipsis = ellipsis;
   }
   const lineOverflow = textStyleModel.get('lineOverflow');
   if (lineOverflow) {
   textStyle.lineOverflow = lineOverflow;
   }
   ```
   
   But there is a TODO 
   
https://github.com/ecomfe/zrender/blob/master/src/graphic/helper/parseText.ts#L206-L213
   
   So `lineOverflow: truncate` won't be truncated by `ellipsis` characters. We 
can fix it later.





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] [echarts] akeagle commented on issue #14208: echarts5.0.1 和vue2.6 版本在使用新特性动态:动态柱状图,label会始终是0

2021-02-04 Thread GitBox


akeagle commented on issue #14208:
URL: https://github.com/apache/echarts/issues/14208#issuecomment-773722971


   和官网上的示例几乎一致,单独使用valueAnimation或者realtimeSort是有效的,但一起使用就会导致label始终为0的bug。



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] [echarts] akeagle commented on issue #14208: echarts5.0.1 和vue2.6 版本在使用新特性动态:动态柱状图,label会始终是0

2021-02-04 Thread GitBox


akeagle commented on issue #14208:
URL: https://github.com/apache/echarts/issues/14208#issuecomment-773722382


   `
 
   
   
   
 import * as echarts from 'echarts';
 export default {
   name: 'test',
   mounted() {
 const res = [
   { name: '土采置存她', num: 79 },
   { name: '位件内月前', num: 827 },
   { name: '得三率别重', num: 99 },
   { name: '样名广斯', num: 356 },
   { name: '前象确', num: 359 },
 ];
 this.options = {
   xAxis: {
 type: 'value',
   },
   yAxis: {
 type: 'category',
 max: 3,
 animationDuration: 300,
 animationDurationUpdate: 300,
 inverse: true,
 data: res.map(i => {
   return i.name;
 }),
   },
   series: [
 {
   name: 'x',
   type: 'bar',
   realtimeSort: true,
   label: {
 show: true,
 position: 'right',
 valueAnimation: true,
   },
   showBackground: true,
   data: res.map(i => {
 return i.num;
   }),
 },
   ],
   animationDuration: 3000,
   animationDurationUpdate: 3000,
 };
 this.initChart();
   },
   methods: {
 initChart() {
   this.$nextTick(e => {
 this.chart = echarts.init(document.getElementById('id'));
 this.chart.setOption(this.options);
   });
 },
   },
 };
   
   `



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] [echarts] joachim-heck commented on issue #11865: Add an event to tell when an axis pointer has changed on a line chart

2021-02-04 Thread GitBox


joachim-heck commented on issue #11865:
URL: https://github.com/apache/echarts/issues/11865#issuecomment-773616872


   +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] [echarts] maurice-g commented on issue #14116: itemStyle not respected for object-array like dataset

2021-02-04 Thread GitBox


maurice-g commented on issue #14116:
URL: https://github.com/apache/echarts/issues/14116#issuecomment-773592275


   That would apply the styling to the other dimension (2015, 2016, 2017) and 
not the products. This also used to work before v5, so I heavily suspect this 
is a bug.



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] [echarts] peder1001 edited a comment on issue #14116: itemStyle not respected for object-array like dataset

2021-02-04 Thread GitBox


peder1001 edited a comment on issue #14116:
URL: https://github.com/apache/echarts/issues/14116#issuecomment-773577468


   Add the itemStyle to your series instead of the dataset.
   
   For example
   
   option = {
   legend: {},
   tooltip: {},
   dataset: {
   source: [
   ['product', '2015', '2016', '2017'],
   ['Matcha Latte', 43.3, 85.8, 93.7],
   ['Milk Tea', 83.1, 73.4, 55.1],
   ['Cheese Cocoa', 86.4, 65.2, 82.5],
   ['Walnut Brownie', 72.4, 53.9, 39.1]
   ]
   },
   xAxis: {type: 'category'},
   yAxis: {},
   // Declare several bar series, each will be mapped
   // to a column of dataset.source by default.
   series: [
   {
   type: 'bar', 
   itemStyle: {
 color: 'rgba(255,0,0,0.4)',
   },
   },
   {type: 'bar'},
   {type: 'bar'}
   ]
   };



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] [echarts] peder1001 edited a comment on issue #14116: itemStyle not respected for object-array like dataset

2021-02-04 Thread GitBox


peder1001 edited a comment on issue #14116:
URL: https://github.com/apache/echarts/issues/14116#issuecomment-773577468


   Add the itemStyle to your series instead of the dataset.
   
   For example
   
   `option = {
   legend: {},
   tooltip: {},
   dataset: {
   source: [
   ['product', '2015', '2016', '2017'],
   ['Matcha Latte', 43.3, 85.8, 93.7],
   ['Milk Tea', 83.1, 73.4, 55.1],
   ['Cheese Cocoa', 86.4, 65.2, 82.5],
   ['Walnut Brownie', 72.4, 53.9, 39.1]
   ]
   },
   xAxis: {type: 'category'},
   yAxis: {},
   // Declare several bar series, each will be mapped
   // to a column of dataset.source by default.
   series: [
   {
   type: 'bar', 
   itemStyle: {
 color: 'rgba(255,0,0,0.4)',
   },
   },
   {type: 'bar'},
   {type: 'bar'}
   ]
   };`



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] [echarts] peder1001 commented on issue #14116: itemStyle not respected for object-array like dataset

2021-02-04 Thread GitBox


peder1001 commented on issue #14116:
URL: https://github.com/apache/echarts/issues/14116#issuecomment-773577468


   Add the itemStyle to your series instead of the dataset



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] [echarts] echarts-bot[bot] commented on issue #14215: Blur is not working in custom series

2021-02-04 Thread GitBox


echarts-bot[bot] commented on issue #14215:
URL: https://github.com/apache/echarts/issues/14215#issuecomment-773476059


   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 question.
   
   If you are interested in the project, you may also subscribe our [mailing 
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] [echarts] Clarkkkk opened a new issue #14215: Blur is not working in custom series

2021-02-04 Thread GitBox


Clar opened a new issue #14215:
URL: https://github.com/apache/echarts/issues/14215


   ### Version
   5.0.1
   
   ### Reproduction link
   [https://jsfiddle.net/5y6zdrkf/](https://jsfiddle.net/5y6zdrkf/)
   
   ### Steps to reproduce
   hover on a bar triggers emphasis effect, but no blur effect on other bars.
   
   ### What is expected?
   blur style is applied on other bar
   
   ### What is actually happening?
   no blur effect
   
   ---
   In addition, is there any relation among `blur`, `emphasis` and `highlight`? 
Because I notice that there is a 
[commit](https://github.com/apache/echarts/pull/12925/commits/19bc67554e0dbb456e6abac2f3d9a7264ecea6c1)
 that support blurring when highlight through dispatchAction. 
   
   After trying, I discover that the `highlight` event is dispatched when 
hovering a legend, and emphasis and blur effect occurs on data items. When 
hovering on a data item, there is no `highlight` event dispatched, but emphasis 
and blur effect still works. Can I say that a highlight event lead to emphasis 
state, but emphasis state does not require a highlight event?
   
   Anyway, for custom series, it is almost the same, with the exception that 
blur effect doesn't work, with or without calling `dispatchAction('highlight',  
...)`.
   
   
   



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] [echarts] Orangat commented on issue #10079: scroll event may prevent after use inside dataZoom

2021-02-04 Thread GitBox


Orangat commented on issue #10079:
URL: https://github.com/apache/echarts/issues/10079#issuecomment-773435344


   +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] [echarts] jonavila commented on issue #13759: Ability to scroll the piecewise visual map similar to legend

2021-02-04 Thread GitBox


jonavila commented on issue #13759:
URL: https://github.com/apache/echarts/issues/13759#issuecomment-773434269


   @Ovilia @pissang Any chance this can be considered for the 5.x line?



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] [echarts-doc] Clarkkkk edited a comment on issue #164: Some features are not available in custom series

2021-02-04 Thread GitBox


Clar edited a comment on issue #164:
URL: https://github.com/apache/echarts-doc/issues/164#issuecomment-773274259


   > > In this example, `fill` is fixed in `renderItem`. You can try another 
simpler example 
https://echarts.apache.org/examples/zh/editor.html?c=custom-cartesian-polygon
   > > `api.visual('color')` will pick color from `itemStyle` or color palette. 
We should mention it in the doc
   > 
   > So here is two conclusions:
   > 
   > 1. The color in `itemStyle` is covered by `fill` in `renderItem`, whether 
`fill` is specified or not.
   > 2. I need to use `api.visual()` in `renderItem` to reference the 
`itemStyle` config.
   > 
   > Am I right?
   > 
   > How about the other properties in `itemStyle`, like `shadowBlur` etc? I 
just looked up the [source 
code](https://github.com/apache/echarts/blob/master/src/chart/custom/install.ts)
 roughly. It seems that only `'color'` and `'borderColor'` is supported in 
`api.visual()`. Or is it better to use `style` in `renderItem` instead of 
`itemStyle`?
   
   Oh I discover that I can specify `style: api.style()` in `renderItem` to get 
other properties defined in `itemStyle`. Why is this deprecated, this is 
exactly what I need🤣. 
   
   As for the label, it is because I didn't get the styles correctly that I 
would consider that the `label` relavant properties are not available--The 
label is invisible without styles. Another fact that misleads me is that there 
is no `label` property in custom series doc. Now I discover that specifying 
`style: api.style()` also acts on labels, making styles defined in 
`series.label` take effect, which is also not documented.
   
   My misunderstanding of `selectMode` is similar--selected styles are not 
working. And I didn't find apis that reflect the `itemStyle` defined in 
`select` and `blur`. I may set those styles in `renderItem`.
   
   It turns out that if I continue to use `itemStyle`, it would be inconsistent 
since `itemStyle` and styles defined in `renderItem.return.select`, 
`renderItem.return.blur` etc are in different syntax. I think that's why 
`api.style()` and `api.styleEmphasis()` are deprecated--developers are 
encouraged to set styles right in `renderItem`. For consistency, `itemStyle` 
should be discouraged maybe?
   
   Anyway, my questions are solved generally. There is much work to do with the 
document though. If you don't have further comments, you can close this issue. 
Thanks for your patience!😀



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] [echarts-doc] Clarkkkk edited a comment on issue #164: Some features are not available in custom series

2021-02-04 Thread GitBox


Clar edited a comment on issue #164:
URL: https://github.com/apache/echarts-doc/issues/164#issuecomment-773274259


   > > In this example, `fill` is fixed in `renderItem`. You can try another 
simpler example 
https://echarts.apache.org/examples/zh/editor.html?c=custom-cartesian-polygon
   > > `api.visual('color')` will pick color from `itemStyle` or color palette. 
We should mention it in the doc
   > 
   > So here is two conclusions:
   > 
   > 1. The color in `itemStyle` is covered by `fill` in `renderItem`, whether 
`fill` is specified or not.
   > 2. I need to use `api.visual()` in `renderItem` to reference the 
`itemStyle` config.
   > 
   > Am I right?
   > 
   > How about the other properties in `itemStyle`, like `shadowBlur` etc? I 
just looked up the [source 
code](https://github.com/apache/echarts/blob/master/src/chart/custom/install.ts)
 roughly. It seems that only `'color'` and `'borderColor'` is supported in 
`api.visual()`. Or is it better to use `style` in `renderItem` instead of 
`itemStyle`?
   
   Oh I discover that I can specify `style: api.style()` in `renderItem` to get 
other properties defined in `itemStyle`. Why is this deprecated, this is 
exactly what I need🤣. 
   
   As for the label, it is because I didn't get the styles correctly that I 
would consider that the `label` relavant properties are not available--The 
label is invisible without styles. Another fact that misleads me is that there 
is no `label` property in custom series doc. Now I discover that specifying 
`style: api.style()` also acts on labels, making styles defined in 
`series.label` take effect, which is also not documented.
   
   My misunderstanding of `selectMode` is similar--selected styles are not 
working. And I didn't find apis that reflect the `itemStyle` defined in 
`select` and `blur`. I may set those styles in `renderItem`.
   
   It turns out that if I continue to use `itemStyle`, it would be inconsistent 
since `itemStyle` and styles defined in `renderItem.return.select`, 
`renderItem.return.blur` etc are in different syntax. I think that's why 
`api.style()` and `api.styleEmphasis()` are deprecated--developers are 
encouraged to set styles right in `renderItem`. For consistency, `itemStyle` 
should be discouraged maybe?



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] [echarts] echarts-bot[bot] commented on pull request #14214: Fix(tooltip): width and overflow not working

2021-02-04 Thread GitBox


echarts-bot[bot] commented on pull request #14214:
URL: https://github.com/apache/echarts/pull/14214#issuecomment-773424679


   Thanks for your contribution!
   The community will review it ASAP. In the meanwhile, please checkout [the 
coding standard](https://echarts.apache.org/en/coding-standard.html) and Wiki 
about [How to make a pull 
request](https://github.com/apache/incubator-echarts/wiki/How-to-make-a-pull-request).
   
   The pull request is marked to be `PR: author is committer` because you are a 
committer of this project.



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] [echarts] susiwen8 opened a new pull request #14214: Fix(tooltip): width and overflow not working

2021-02-04 Thread GitBox


susiwen8 opened a new pull request #14214:
URL: https://github.com/apache/echarts/pull/14214


   
   
   ## Brief Information
   
   This pull request is in the type of:
   
   - [x] bug fixing
   - [ ] new feature
   - [ ] others
   
   
   
   ### What does this PR do?
   
   Add back missing `tooltip` opotions
   
   
   
   ### Fixed issues
   
   Close #14211
   
   
   ## Details
   
   ### Before: What was the problem?
   
   https://user-images.githubusercontent.com/20318608/106921074-9af43780-6746-11eb-8803-7418759f3509.png";>
   
   https://user-images.githubusercontent.com/20318608/106921105-a182af00-6746-11eb-8cf7-5c879565f75e.png";>
   
   ### After: How is it fixed in this PR?
   
   
   
   ## 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



[echarts-doc] branch master updated: improve upgrade guide

2021-02-04 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new d001960  improve upgrade guide
d001960 is described below

commit d001960891b62ffc58ecdfdafc57ec32dfd50fa8
Author: pissang 
AuthorDate: Thu Feb 4 23:03:46 2021 +0800

improve upgrade guide
---
 zh/tutorial/upgrade-guide-v5.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/zh/tutorial/upgrade-guide-v5.md b/zh/tutorial/upgrade-guide-v5.md
index 4347afb..885afd1 100644
--- a/zh/tutorial/upgrade-guide-v5.md
+++ b/zh/tutorial/upgrade-guide-v5.md
@@ -71,6 +71,8 @@ import { CanvasRenderer } from 'echarts/renderers';
 echarts.use([BarChart, GridComponent, CanvasRenderer]);
 ```
 
+如果之前是使用`import 'echarts/lib/chart/bar'`引入,新的接口对应的是`import {BarChart} from 
'echarts/charts'`;
+
 
为了方便大家了解自己的配置项需要引入哪些模块,我们新的示例编辑页面添加了生成按需引入代码的功能,大家可以在示例编辑页的`完整代码`标签下选中按需引入后查看需要引入的模块以及相关代码。
 
 在大部分情况下,我们都推荐大家尽可能用这套新的按需引入接口,它可以最大程度的利用打包工具 tree-shaking 
的能力,并且可以有效解决命名空间冲突的问题而且防止了内部结构的暴露。如果你依旧在使用 CommonJS 的模块写法,之前的方式我们也依旧是支持的:


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



[GitHub] [echarts-doc] Clarkkkk edited a comment on issue #164: Some features are not available in custom series

2021-02-04 Thread GitBox


Clar edited a comment on issue #164:
URL: https://github.com/apache/echarts-doc/issues/164#issuecomment-773274259


   > > In this example, `fill` is fixed in `renderItem`. You can try another 
simpler example 
https://echarts.apache.org/examples/zh/editor.html?c=custom-cartesian-polygon
   > > `api.visual('color')` will pick color from `itemStyle` or color palette. 
We should mention it in the doc
   > 
   > So here is two conclusions:
   > 
   > 1. The color in `itemStyle` is covered by `fill` in `renderItem`, whether 
`fill` is specified or not.
   > 2. I need to use `api.visual()` in `renderItem` to reference the 
`itemStyle` config.
   > 
   > Am I right?
   > 
   > How about the other properties in `itemStyle`, like `shadowBlur` etc? I 
just looked up the [source 
code](https://github.com/apache/echarts/blob/master/src/chart/custom/install.ts)
 roughly. It seems that only `'color'` and `'borderColor'` is supported in 
`api.visual()`. Or is it better to use `style` in `renderItem` instead of 
`itemStyle`?
   
   Oh I discover that I can specify `style: api.style()` in `renderItem` to get 
other properties defined in `itemStyle`. Why is this deprecated, this is 
exactly what I need🤣. 
   
   As for the label, it is because I didn't get the styles correctly that I 
would consider that the `label` relavant properties are not available--The 
label is invisible without styles. Another fact that misleads me is that there 
is no `label` property in custom series doc. Now I discover that specifying 
`style: api.style()` also acts on labels, making styles defined in 
`series.label` take effect, which is also not documented.
   
   My misunderstanding of `selectMode` is similar--selected styles are not 
working. And I didn't find apis that reflect the `itemStyle` defined in 
`select` and `blur`. I suppose I need to change those styles dynamically in 
relavant events(correct me if I'm wrong).
   
   Anyway, my questions are solved generally. There is much work to do with the 
document though. If you don't have further comments, you can close this issue. 
Thanks for your patience!😀
   



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] [echarts] gregdeane commented on issue #14213: Cannot load your website

2021-02-04 Thread GitBox


gregdeane commented on issue #14213:
URL: https://github.com/apache/echarts/issues/14213#issuecomment-773337598


   It's working well for me at the moment.



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] [echarts] susiwen8 commented on pull request #14202: Fix(markline): markline label should have higher z

2021-02-04 Thread GitBox


susiwen8 commented on pull request #14202:
URL: https://github.com/apache/echarts/pull/14202#issuecomment-773318062


   @pissang It seems `markline` is a `Group` for which `z` for `textContent` 
has been marked as `TODO`, I haven't find a way to do it, any idea?  



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] [echarts] plainheart commented on issue #14213: Cannot load your website

2021-02-04 Thread GitBox


plainheart commented on issue #14213:
URL: https://github.com/apache/echarts/issues/14213#issuecomment-773311630


   Any error information in console?



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] [echarts-doc] Clarkkkk commented on issue #164: Some features are not available in custom series

2021-02-04 Thread GitBox


Clar commented on issue #164:
URL: https://github.com/apache/echarts-doc/issues/164#issuecomment-773274259


   > > In this example, `fill` is fixed in `renderItem`. You can try another 
simpler example 
https://echarts.apache.org/examples/zh/editor.html?c=custom-cartesian-polygon
   > > `api.visual('color')` will pick color from `itemStyle` or color palette. 
We should mention it in the doc
   > 
   > So here is two conclusions:
   > 
   > 1. The color in `itemStyle` is covered by `fill` in `renderItem`, whether 
`fill` is specified or not.
   > 2. I need to use `api.visual()` in `renderItem` to reference the 
`itemStyle` config.
   > 
   > Am I right?
   > 
   > How about the other properties in `itemStyle`, like `shadowBlur` etc? I 
just looked up the [source 
code](https://github.com/apache/echarts/blob/master/src/chart/custom/install.ts)
 roughly. It seems that only `'color'` and `'borderColor'` is supported in 
`api.visual()`. Or is it better to use `style` in `renderItem` instead of 
`itemStyle`?
   
   Oh I discover that I can specify `style: api.style()` in `renderItem` to get 
other properties defined in `itemStyle`. Why is this deprecated, this is 
exactly what I need🤣. 
   
   As for the label, it is because I didn't get the styles correctly that I 
would consider that the `label` relavant properties are not available--The 
label is invisible without styles. Another fact that misleads me is that there 
is no `label` property in custom series doc. Now I discover that specifying 
`style: api.style()` also acts on labels, making styles defined in 
`series.label` take effect, which is also not documented.
   
   My misunderstanding of `selectMode` is similar--selected styles are not 
working. But I discover that `api.style()` won't reflect the `itemStyle` 
defined in `select`, `emphasis` and `blur`. I suppose I need to change those 
styles dynamically in relavant events(correct me if I'm wrong).
   
   Anyway, my questions are solved generally. There is much work to do with the 
document though. If you don't have further comments, you can close this issue. 
Thanks for your patience!😀
   



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] [echarts] echarts-bot[bot] commented on issue #14213: Cannot load your website

2021-02-04 Thread GitBox


echarts-bot[bot] commented on issue #14213:
URL: https://github.com/apache/echarts/issues/14213#issuecomment-773250094


   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 question.
   
   If you are interested in the project, you may also subscribe our [mailing 
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] [echarts] EightArmCode opened a new issue #14213: Cannot load your website

2021-02-04 Thread GitBox


EightArmCode opened a new issue #14213:
URL: https://github.com/apache/echarts/issues/14213


   ### Version
   ?
   
   ### Steps to reproduce
   Can't load the website: http://echarts.apache.org/
   
   Not really sure where to report this. I'm using a fully modern version of 
chrome. Turned off my VPN. Tried it in incognito mode. Tried it in Firefox.
   
   ### What is expected?
   The website will load
   
   ### What is actually happening?
   The website does not load
   
   
   



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] [echarts] EightArmCode opened a new issue #14212: Can't load the website

2021-02-04 Thread GitBox


EightArmCode opened a new issue #14212:
URL: https://github.com/apache/echarts/issues/14212


   Can't load the website: http://echarts.apache.org/
   
   Not really sure where to report this. I'm using a fully modern version of 
chrome. Turned off my VPN. Tried it in incognito mode. Tried it in Firefox.
   
   
   
   
   
   This issue is not created by 
[echarts-issue-helper](https://ecomfe.github.io/echarts-issue-helper) and will 
be soon closed.
   



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] [echarts] echarts-bot[bot] commented on issue #14212: Can't load the website

2021-02-04 Thread GitBox


echarts-bot[bot] commented on issue #14212:
URL: https://github.com/apache/echarts/issues/14212#issuecomment-773248946


   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] [echarts] echarts-bot[bot] closed issue #14212: Can't load the website

2021-02-04 Thread GitBox


echarts-bot[bot] closed issue #14212:
URL: https://github.com/apache/echarts/issues/14212


   



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] [echarts-doc] Clarkkkk commented on issue #164: Some features are not available in custom series

2021-02-04 Thread GitBox


Clar commented on issue #164:
URL: https://github.com/apache/echarts-doc/issues/164#issuecomment-773205332


   > In this example, `fill` is fixed in `renderItem`. You can try another 
simpler example 
https://echarts.apache.org/examples/zh/editor.html?c=custom-cartesian-polygon
   > `api.visual('color')` will pick color from `itemStyle` or color palette. 
We should mention it in the doc
   
   So here is two conclusions:
   1. The color in `itemStyle` is covered by `fill` in `renderItem`, whether 
`fill` is specified or not.
   2. I need to use `api.visual()` in `renderItem` to reference the `itemStyle` 
config.
   
   Am I right?
   
   How about the other properties in `itemStyle`, like `shadowBlur` etc? I just 
looked up the [source 
code](https://github.com/apache/echarts/blob/master/src/chart/custom/install.ts)
 roughly. It seems that only `'color'` and `'borderColor'` is supported in 
`api.visual()`. Or is it better to use `style` in `renderItem` instead of 
`itemStyle`?



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] [echarts] xiaolannuoyi opened a new issue #14211: tooltip.textStyle.width It doesn't work.

2021-02-04 Thread GitBox


xiaolannuoyi opened a new issue #14211:
URL: https://github.com/apache/echarts/issues/14211


   ### Version
   5.0.2-rc.1
   
   ### Steps to reproduce
   tooltip.textStyle.width 
   tooltip.textStyle.overflow  = ‘ truncate’ 
   It doesn't work.
   
   ### What is expected?
   'truncate' Truncate the text and trailing with ellipsis.
   
   ### What is actually happening?
It doesn't work.
   
   
   



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] [echarts] echarts-bot[bot] commented on issue #14211: tooltip.textStyle.width It doesn't work.

2021-02-04 Thread GitBox


echarts-bot[bot] commented on issue #14211:
URL: https://github.com/apache/echarts/issues/14211#issuecomment-773177526


   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 question.
   
   If you are interested in the project, you may also subscribe our [mailing 
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] [echarts] KehaoWu commented on issue #14210: echarts 5.0.1 getDataURL时,报错TypeError: Cannot read property 'dpr' of undefined

2021-02-04 Thread GitBox


KehaoWu commented on issue #14210:
URL: https://github.com/apache/echarts/issues/14210#issuecomment-773169888


   好的,谢谢大佬



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] [echarts] plainheart closed issue #14209: 还支持词云吗

2021-02-04 Thread GitBox


plainheart closed issue #14209:
URL: https://github.com/apache/echarts/issues/14209


   



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] [echarts] plainheart commented on issue #14210: echarts 5.0.1 getDataURL时,报错TypeError: Cannot read property 'dpr' of undefined

2021-02-04 Thread GitBox


plainheart commented on issue #14210:
URL: https://github.com/apache/echarts/issues/14210#issuecomment-773166474


   即将发布的 5.0.2 已修复该问题。目前还在投票中,投票通过后即发布到 NPM(预计这周内)。目前可在 GitHub Releases 中找到 RC 
版本:https://github.com/apache/echarts/releases/tag/5.0.2-rc.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] [echarts] plainheart closed issue #14210: echarts 5.0.1 getDataURL时,报错TypeError: Cannot read property 'dpr' of undefined

2021-02-04 Thread GitBox


plainheart closed issue #14210:
URL: https://github.com/apache/echarts/issues/14210


   



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] [echarts] KehaoWu opened a new issue #14210: echarts 5.0.1 getDataURL时,报错TypeError: Cannot read property 'dpr' of undefined

2021-02-04 Thread GitBox


KehaoWu opened a new issue #14210:
URL: https://github.com/apache/echarts/issues/14210


   ### Version
   5.0.1
   
   ### Steps to reproduce
   调用 getDataURL 时会报错
   
   ```
   TypeError: Cannot read property 'dpr' of undefined
   setContextTransform
   node_modules/echarts/node_modules/zrender/lib/canvas/graphic.js:378
 375 | }
 376 | function setContextTransform(ctx, el) {
 377 | var m = el.transform;
   > 378 | var dpr = ctx.dpr || 1;
 379 | if (m) {
 380 | ctx.setTransform(dpr * m[0], dpr * m[1], dpr * m[2], dpr * 
m[3], dpr * m[4], dpr * m[5]);
 381 | }
   
   ```
   
   ### What is expected?
   正常运行,导出图片
   
   ### What is actually happening?
   报错
   
   
   



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] [echarts] echarts-bot[bot] commented on issue #14210: echarts 5.0.1 getDataURL时,报错TypeError: Cannot read property 'dpr' of undefined

2021-02-04 Thread GitBox


echarts-bot[bot] commented on issue #14210:
URL: https://github.com/apache/echarts/issues/14210#issuecomment-773164289


   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 question.
   
   If you are interested in the project, you may also subscribe our [mailing 
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] [echarts] romanCy commented on issue #14209: 还支持词云吗

2021-02-04 Thread GitBox


romanCy commented on issue #14209:
URL: https://github.com/apache/echarts/issues/14209#issuecomment-773161009


   感谢
   
   > 词云是作为 ECharts 的一个扩展插件提供的,参见:https://github.com/ecomfe/echarts-wordcloud
   
   



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] [echarts] plainheart commented on issue #14209: 还支持词云吗

2021-02-04 Thread GitBox


plainheart commented on issue #14209:
URL: https://github.com/apache/echarts/issues/14209#issuecomment-773159198


   词云是作为 ECharts 的一个扩展插件提供的,参见:https://github.com/ecomfe/echarts-wordcloud



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] [echarts] KehaoWu commented on issue #13914: 导出图片报错

2021-02-04 Thread GitBox


KehaoWu commented on issue #13914:
URL: https://github.com/apache/echarts/issues/13914#issuecomment-773139763


   啥时候发5.0.2



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] [echarts] dhyunk commented on issue #14085: 如何使用甘特图

2021-02-04 Thread GitBox


dhyunk commented on issue #14085:
URL: https://github.com/apache/echarts/issues/14085#issuecomment-773134015


   是不是可以直接调用timestemp?
   



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] [echarts] romanCy opened a new issue #14209: 还支持词云吗

2021-02-04 Thread GitBox


romanCy opened a new issue #14209:
URL: https://github.com/apache/echarts/issues/14209


   ### What problem does this feature solve?
   词云图形
   
   ### What does the proposed API look like?
   期望一个词云type
   
   
   



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] [echarts] echarts-bot[bot] commented on issue #14209: 还支持词云吗

2021-02-04 Thread GitBox


echarts-bot[bot] commented on issue #14209:
URL: https://github.com/apache/echarts/issues/14209#issuecomment-773131812


   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 question.
   
   If you are interested in the project, you may also subscribe our [mailing 
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