score:12
Accepted answer
You can intercept the x-axis label function and change it's output. In my example, I've changed it to render short dates:
{ xAxis:
labels: {
formatter: function() {
return Highcharts.dateFormat("%b %e", this.value);
}
}
}
The xAxis.labels.formatter property allows control over this. You also may notice I'm using Highcharts.dateFormat, which is a utility function for rendering dates. This is not mandatory, but it's a nice built in feature. Documentation on the xAxis formatter is here:
score:12
The easiest way to do is using "minTickInterval"
xAxis: {
minTickInterval: 24 * 3600 * 1000
}
Source: stackoverflow.com
Related Query
- Highcharts datetime axis, how to disable time part (show only dates)?
- How to show only specific x-axis values on datetime axis in Highcharts
- How To Show All Data Labels For Datetime Axis In Highcharts
- How to show only one pair of linked Highcharts series at a time
- How to disable the date and time mentioned in the navigator part and not on the x axis in highstock?
- How to show equally spaced axis for datetime for billing cycle related data on highcharts
- Show only time labels on xAxis. Highcharts
- How to show all values at datetime axis in highcharts?
- How can I force ticks/grid lines on a Highcharts datetime X axis to arbitrarily line up with data points?
- Highcharts datetime axis overlap with a long time series
- Highcharts show days of month dates in X axis (from JSON file). tickInterval: not work?
- how to show column and area charts with different y axis with same category and same x axis in highcharts
- Get only visible x axis dates when zooming in highcharts
- how to zoom dual x axis at same time in highcharts
- Show only two axis values in highcharts
- How to show only the last 100 candlesticks or hide the first 50 candlesticks in Highcharts Stock Chart?
- High charts – how to show axis as time
- Highcharts, datetime, xAxis label. How to show all dates on x axis, not only even dates?
- Highcharts - How show only two series on click
- How to show first and last label of x axis Highcharts
- How to hide date time x-axis but still be able to show plot lines in Highcharts gantt chart?
- How to Show Same Month name of two years in X axis of Highcharts
- Highcharts how to only plot if x axis is having value greater than 0?
- Show how many elements every X time with HighCharts
- How to properly configure DateTime axis for Highcharts on Android?
- HIGHCHARTS - Given a series with UNIX stamps and values pairs for the data, how do I show only the date for the first and last point on xAxis?
- How to show real time HighCharts Line Graph data which is receiving by an API?
- Show ticks on x axis in local time with highcharts api
- How to let x axis title still show on the bottom when setting fontsize attribute in Highcharts
- How to get highcharts dates in the x axis?
More Query from same tag
- How could i put a highcharts funnel to rotate 90deg
- Rails App Plotting Zeros in Highchart Graph via Lazy_High_Charts Gem
- Highcharts error #13: www.highcharts.com/errors/13 how to solve this error
- Highcharts - Specific color zones for HighCharts navigator
- How to show a loading state before show the complete page?
- stackLabels configuration in Highcharts
- How to make Highchart fill the whole bootstrap window?
- How to extend plot line value outside the grey area or outside the chart in highchart?
- Changing tooltip shape for a series in Highcharts
- Highlight a line with different color in Parallel coordinate chart with Highcharts
- Region Boundary in Scatter Chart in Highcharts
- Highcharts Using CSV instead of JSON
- How to implement date selector to HighChart StockChart in reactjs (without jQuery)
- Manipulate PHP array to group small values for use in Pie Chart
- How to fix Highchart Sparkline tooltip not showing
- Changing the figure background color in Highcharts?
- Legend is disappearing on HighCharts pie refreshing
- Highcharts chart width to dispay size dynamically
- Change data by download as pdf in Highcharts
- Toggle specific highcharts when checking/unchecking checkboxes
- Mix categories and subtasks in HighCharts Gantt?
- Add tooltip in highchart custom button
- Update a single option on a HighCharts chart
- combination chart (area and bar) highchart
- Spline chart gradient fill
- Highcharts value relative to itself instead of all lines
- How to display datapoint labels / values in Rickshaw graph visualizations?
- HighCharts does not add a new points
- How to update data table on data change highcharts
- On a columns chart from highcharts, how to set xAxis labels at columns edges?