You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/01/25 16:01:19 UTC

[GitHub] maliayas opened a new issue #9843: axisPointer.type:shadow doesn't work for time axis

maliayas opened a new issue #9843: axisPointer.type:shadow doesn't work for time axis
URL: https://github.com/apache/incubator-echarts/issues/9843
 
 
   <!--
   - [x] I am using English in this issue. 在这个 Issue 中我使用了英文(强烈建议)。
   -->
   
   
   ## General Questions
   
   <!-- BEGINNING OF REQUIRED FIELDS 必填项开始 -->
   
   <!--
   
   - [x] Required: I have read the document and examples and tried to solve it by myself. (必填)我读过了文档和教程,并且曾试图自己解决问题。
   - [x] Required: I have searched for similar issues and that didn't help. (必填)我搜索过 issue 但是没有帮助。
   - [x] Required: I have tried with the latest version of ECharts and still have this problem. (必填)我试过最新版本的 ECharts,还是存在这个问题。
   
   In this issue, I have provided information with: 在这个 issue 中我提供了以下信息:
   - [x] Required: issue type;(必填)issue 类型
   - [x] Required: one sentence description in issue details;(必填)一句话的问题描述
   - [x] Required: demo;(必填)能反映问题的例子(如果你想提问或报 bug)
   - [x] Required: ECharts version;ECharts 版本
   
   -->
   
   <!-- END OF REQUIRED FIELDS 必填项结束 -->
   
   
   ## Issue Type
   
   <!-- Add `x` for the ones that is true with you, e.g.: [x] I have ... -->
   
   - [ ] I have a question to ask about *how to use ECharts to ...*;我想提问如何使用 ECharts 实现某功能
   - [x] I have a bug to report;我想要报 bug
   - [ ] I have a feature to request, e.g.: *I'd like a new feature that ...*;我需要一个新功能
   - [ ] I have a feature to enhance, e.g.: *The current feature should be improved in the way that ...*;我希望改进某个功能
   - [ ] There's something wrong with the documents;文档有些问题
   - [ ] Others, or I'm not sure which issue types to choose here;其他,或我不知道应该选什么类型
   
   
   ## Issue Details
   
   <!-- Use one sentence to describe what you want and what's wrong. 一句话描述问题。 -->
   
   `axisPointer: {type: 'shadow'}` doesn't work for time axis. Note that `trigger` is set to `axis` (`tooltip: {trigger: 'axis'}`).
   
   ### Expected Behavior
   
   I'd expect that the shadow works for time axis like for category axis.
   
   ### Current Behavior
   
   There is only a line pointer just like `axisPointer: {type: 'line'}`
   
   ### Online Example
   
   https://jsfiddle.net/3ckhL4ot/1/
   
   ## Topics
   
   <!-- Check those topics that are related. 选择相关主题。
   - [ ] Legend
   - [ ] Tooltip
   - [ ] Event
   - [ ] Performance
   - [ ] SVG
   - [ ] Map
   - [ ] ECharts GL
   - [ ] Third-party libraries, e.g.: Vue.js, React
   -->
   
   ## Anything Else We Need to Know
   
   If I use `xAxis: {type: "category"}` in the same code, it works fine:
   
   https://jsfiddle.net/3ckhL4ot/2/
   
   ## Environment
   
   - ECharts version;ECharts 版本: 4.2.1-rc1
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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