Open jdupont22 opened 3 months ago
simpler alternative with line - Demo.
🚩 Please note that "how to", usage or debugging questions are not supposed to be answered here. Adhere to Official posting recommendations:
The issue list is reserved exclusively for bug reports and feature requests. For usage questions, please use the following resources:
@helgasoft thanks for the reply,
But the width are not fix. Each item have a start and an end date. And the value are discontinue.
Real exemple
Sorry for the wrong place, but wasn't sure between a BUG and a QUESTION
Looks like you'll need custom line - Demo. Timeline charts are doable with ECharts, see other examples.
Version
5.5.0
Link to Minimal Reproduction
https://gist.github.com/jdupont22/6d99ddbe1d621db4a0a46a629068d6c2
Steps to Reproduce
Launch previous code in the gist and move the cursor to any point.
Current Behavior
The tooltip value is not displayed
When I change the type axis from type: 'time' to type: 'category' the tooltip value is displayed, but the render is broken for my custom chart. Can someone tell me why the tooltip is working with type 'category' and not with the type 'time' ?
Seem's to be related to tooltip config => trigger: 'axis', without this, the tooltip is displayed by item, but not what I want of course.
Expected Behavior
Tooltip to be displayed with type='time' as for type='category'
Environment
Any additional comments?
No response