You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature] Show axisLabels on X-axis from points in my data #19605
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.
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.
In time axes, the ticks are calculated without the knowledge of data values, which is the same as value axes. I think this is a good feature to have, since we don't have the ability to let developers decide where the ticks should be for now. Let's see what we can do in ECharts 6.
Activity
Ovilia commentedon Feb 26, 2024
In time axes, the ticks are calculated without the knowledge of data values, which is the same as value axes. I think this is a good feature to have, since we don't have the ability to let developers decide where the ticks should be for now. Let's see what we can do in ECharts 6.