Add the tickAmount for datetime!
See original GitHub issueFeature request
In the documentation is mentioned:
Note: tickAmount doesn’t have any effect when xaxis.type = datetime
I don’t understand why this has been removed and what is the workaround if you want to add a chart that works base on categories that contain an array of times:
and you just want to show the label for only each hour:
and then when you hover on the chart you’ll be able to see them per 5 minutes. Is there any other way to achieve that?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:9 (3 by maintainers)
Top Results From Across the Web
xaxis - ApexCharts.js
tickAmount : Number. Number of Tick Intervals to show. Note: tickAmount doesn't have any effect when xaxis.type = datetime.
Read more >Highcharts - TickInterval with datetime values - Stack Overflow
This answer is assuming you indeed want tickInterval and not tickAmount . I've successfully used tickInterval for datetime axes.
Read more >xAxis.tickAmount | highcharts API Reference
For datetime axes, this decides where to put the tick between weeks. 0 = Sunday, 1 = Monday. Defaults to 1 . Try...
Read more >Apexchart Timeseries Fixing tooltip date with min ... - CodePen
This uses min max and tickAmount to solve the problem. ... "Note: tickAmount doesn't have any effect when xaxis.type = datetime" So that...
Read more >DateTime.Ticks Property (System) - Microsoft Learn
Gets the number of ticks that represent the date and time of this instance.
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
If you don’t want auto-generated timescale x-axis, you can easily switch to
xaxis.type: 'category'
and the x-axis will display all the labels (the labels will only be hidden if they overlap).The only downside to this is that you will have to format the x-axis labels using a 3rd party library (such as day.js) to make it look pretty.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.