xAxis.axisLabel.interval doesn't work in scatter charts
See original GitHub issueVersion
4.3.0
Reproduction link
https://www.echartsjs.com/examples/zh/editor.html?c=scatter-simple
Steps to reproduce
Open the official Basic scatter chart example, edit xAixs
to be
xAxis: {
axisLabel: {
interval: 0
}
}
What is expected?
X-axis displays labels for every value.
What is actually happening?
Axis labels are not affected.
In my case, i’m using a scatter chart whose x-axis values range from 0-100. By default the axis displays labels at interval of 20, but I need the interval to be 5. I set xAxis.axisLabel.interval
to be 5 but it didn’t take effect.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
xAxis.axisLabel.interval doesn't work in scatter charts #11359
In my case, i'm using a scatter chart whose x-axis values range from 0-100. By default the axis displays labels at interval of...
Read more >Setting axis label interval unit - Microsoft Community
Yes, I usually use a scatter chart to display the recorded data (noise levels) and it works fine. However, using the scatter chart...
Read more >How to Change the Intervals on an X-Axis in Excel
Type in the interval that you want to use for the X-axis labels. The first axis label displays, then Excel skips labels until...
Read more >Can't control x-axis intervals? - Microsoft Power BI Community
Solved: Hi PBI community, I can't seem to manipualte the x-axis intervals on my column chart visualization. My data is non-date data (it's ......
Read more >SSRS chart does not show all labels on Horizontal axis
To fix this, under the "Chart Axis" properties set the Interval value to "=1". Then all the labels will be shown. Share.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pissang Thanks for your explanation. My usecase can be solved by setting
xAxis.type
to be'category'
explicitly.However
axisLabel.interval
onvalue
axis still doesn’t take effect when set a value larger than 0.use like this inside axisLabel : axisLabel:{ interval:1