-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Description
What problem does this feature solve?
Currently, when we plot a line chart with option.xAxis.type="time"
, echarts automatically calculates the points which are going to be shown on X axis according to the start and end point from our series data. We have option to whether to show these points or not using some formatting tricks, but it will only show the points at the intervals calculated by echarts.
Sometimes, what happens is that there are no co-inciding points between those and time in data points.
Live Example: https://shorturl.at/djpAF
In the above case, we don't get a time label that is exactly below my data point.
I want the time axis labels to be shown directly under the data point (It doesn't matter if they are being plotted at equal interval or not).
I have tried various configurations, but could not get the desired result. Please tell me if I have missed something, else this feature could be really benificial.
What does the proposed API look like?
option.xAxis.showCustomPoints: true
or something like this.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status