You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/06/12 11:12:50 UTC

[GitHub] [incubator-echarts] yangdongMC opened a new issue #12798: 配置项手册与实际获取到的数据不相符【雷达图的tooltip 下的 formatter 的 params中的encode 没有y 属性】

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


   ### Version
   4.8.0
   
   ### Reproduction link
   [https://codesandbox.io/s/peaceful-frost-f17ih?fontsize=14&hidenavigation=1&theme=dark](https://codesandbox.io/s/peaceful-frost-f17ih?fontsize=14&hidenavigation=1&theme=dark)
   
   ### Steps to reproduce
   在示例中可以看到,对第一条数据的tooltip进行了formatter,但是在formatter中 的第一个参数params 下打印的encode 并没有y 值。
   
   文档上是有y 输出的:  
   https://echarts.apache.org/zh/option.html#series-radar.data.tooltip.formatter
   
   ### What is expected?
   期望数据能按文档输出,获取到y 值  
   
   ### What is actually happening?
   a.触发方式使用的是trigger:"itme"  
   b.将数据data 里面的formatter 移到跟data 平级的tooltip 下 也是同样获取不到encode.y
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12798: 配置项手册与实际获取到的数据不相符【雷达图的tooltip 下的 formatter 的 params中的encode 没有y 属性】

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12798:
URL: https://github.com/apache/incubator-echarts/issues/12798#issuecomment-643215680


   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 dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [incubator-echarts] chensimin09 edited a comment on issue #12798: 配置项手册与实际获取到的数据不相符【雷达图的tooltip 下的 formatter 的 params中的encode 没有y 属性】

Posted by GitBox <gi...@apache.org>.
chensimin09 edited a comment on issue #12798:
URL: https://github.com/apache/incubator-echarts/issues/12798#issuecomment-646973364


   不单单如此,当trigger设置为axis时,tooltip 不会生效,formatter函数未能触发, 返回的params和文档以及源码上差太多了, 版本: 4.6.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:
users@infra.apache.org



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


[GitHub] [incubator-echarts] chensimin09 edited a comment on issue #12798: 配置项手册与实际获取到的数据不相符【雷达图的tooltip 下的 formatter 的 params中的encode 没有y 属性】

Posted by GitBox <gi...@apache.org>.
chensimin09 edited a comment on issue #12798:
URL: https://github.com/apache/incubator-echarts/issues/12798#issuecomment-646973364


   不单单如此,当trigger设置为axis时,tooltip 不会生效,formatter函数未能触发, 返回的params和文档以及源码上差太多了, 版本:@types/echarts  4.8.0
   现在params的参数:
   ![image](https://user-images.githubusercontent.com/34055972/85200139-6bafc800-b327-11ea-96ae-8cb50bf12f9e.png)
   
   
   这个是以前3.x版本的雷达图的tooltip的params参数:
   ![image](https://user-images.githubusercontent.com/34055972/85200106-2ee3d100-b327-11ea-83aa-22ff5874a08d.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:
users@infra.apache.org



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


[GitHub] [incubator-echarts] chensimin09 commented on issue #12798: 配置项手册与实际获取到的数据不相符【雷达图的tooltip 下的 formatter 的 params中的encode 没有y 属性】

Posted by GitBox <gi...@apache.org>.
chensimin09 commented on issue #12798:
URL: https://github.com/apache/incubator-echarts/issues/12798#issuecomment-646973364


   不单单如此,当trigger设置为axis时,tooltip 不会生效,formatter函数未能触发, 返回的params和文档以及源码上差太多了


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [incubator-echarts] chensimin09 edited a comment on issue #12798: 配置项手册与实际获取到的数据不相符【雷达图的tooltip 下的 formatter 的 params中的encode 没有y 属性】

Posted by GitBox <gi...@apache.org>.
chensimin09 edited a comment on issue #12798:
URL: https://github.com/apache/incubator-echarts/issues/12798#issuecomment-646973364


   不单单如此,当trigger设置为axis时,tooltip 不会生效,formatter函数未能触发, 返回的params和文档以及源码上差太多了, 版本:@types/echarts  4.6.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:
users@infra.apache.org



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