Open maliayas opened 5 years ago
Asking for help too, as this bug is still here on latest versoin v5.1.2.
@100pah Is this considered a bug or an enhancement? I just stumbled upon this issue and I was assuming it would work that same as when the axis is set to type 'category'.
I just stumbled upon this issue as well and it seems a bug to me
General Questions
Issue Type
Issue Details
axisPointer: {type: 'shadow'}
doesn't work for time axis. Note thattrigger
is set toaxis
(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
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