score:18
Accepted answer
In xAxis of your chart you need to provide tickinterval
and dateTimeLabelFormats
. Following code gives the tick interval of 1.5 hours. You can change that to any number of hours you want by replacing 1.5 in tickInterval: 1.5 * 3600 * 1000,
xAxis: {
type: 'datetime',
//Sets tickInterval to 24 * 3600 * 1000 if display is by day
tickInterval: 1.5 * 3600 * 1000,
dateTimeLabelFormats : {
day: '%H:%M'
}
}
Source: stackoverflow.com
Related Query
- Show only time labels on xAxis. Highcharts
- HighCharts - show last labels in xAxis
- Show only first and last xAxis label in Highcharts
- Show only month labels on HighChart xAxis
- How to show only one pair of linked Highcharts series at a time
- Highcharts - Xaxis should show only days and month, hide milliseconds
- Highcharts - show only years in xAxis
- Highcharts show real time value on Labels
- Highcharts - show only hours and minutes in xAxis
- Highcharts not creating correct amount of labels (steps) in xAxis only first and last labels
- Show time in HH:MM on Xaxis Highcharts
- Highcharts datetime axis, how to disable time part (show only dates)?
- HighCharts show datetime format on xAxis
- Highcharts - only show tooltip when hovering directly on point
- Show label only every x number of steps in highcharts
- How to show only specific x-axis values on datetime axis in Highcharts
- Highchart: Only show one series at a time
- Highcharts : How to fix labels to the top when xAxis rotation is 90°?
- Show some specefic number on gauge highcharts axis labels
- Difference between highcharts and highstock during real time trace and xAxis with max value
- HighCharts area graph - show tooltip only on hover of marker
- Show all labels in highcharts horizontal bar graph
- Highcharts 12hr time format of x-axis labels
- highcharts have data Labels only on some points
- Highcharts - show decimal places only if needed
- Highcharts Solid Gauge only want to show 1 data label
- Only 3 steps on xAxis with type xAxis in Highcharts
- HighCharts - Need more space between bottom of chart and Xaxis labels
- How To Show All Data Labels For Datetime Axis In Highcharts
- Highcharts xAxis shows labels from drilldown on drillup
More Query from same tag
- How to subtract one month from each month in a Date.UTC Array with jQuery
- How do we show loading via highcharts-react-official package
- HighCharts with Dynamic Data not working
- HighCharts - Angular, how to get y axis labels on the vertical lines drawn from x axis
- highcharts - Remove only legend for colorAxis (keep legend for series)
- how to change the legends of highcharts to custom name?
- Highchart jquery charts not working SetAttribute is not a function
- View box in High chart
- Disable markers if data > 1 in highcharts
- show tooltip for each point of highcharts network graph in Angular
- Highcharts: Shared tooltip formatter this.points[i]
- Test Highcharts with selenium webdriver
- Changing bar width with pointPadding in Highcharts
- X axis labels overlap tooltip in column chart in highcharts
- Highcharts: disable allowPointSelect for only one pie slice
- highcharts tooltip stop update when mouse over
- Javascript syntax when setting a value
- How to get the equation value result using Highcharts-Regression?
- Nested Donut chart with margins
- how to change the point format for drill down in pie charts?
- How to get number of pixels between two points in Highcharts?
- Sunburst chart in angular
- I want gird lines of x-axis and y-axis in highcharts but i don't want x-axis value and y-axis value
- R Shiny: setExtremes in Highcharts (rCharts) on page load
- Highchart logarithmic X axis fail without zero values nor threshold under zero nor minimum
- Highcharts datalables enabled for one series and one point on the chart via chart function
- My Highchart is stepping back to 01/18/1970 everytime. Why?
- Highcharts X-Axis as Text
- $("#highcharts-2i5ujpv-2").highcharts() is undefined
- Connect limit's series in Highcharts