score:3
Accepted answer
Using min
and max
together with tickInterval
and minorTickInterval
will do the work.
// Start at 1890
min: Date.UTC(1890, 0, 1),
// End at 2010
max: Date.UTC(2010, 0, 1),
// Tick interval of 10 years
tickInterval: Date.UTC(2010, 0, 1) - Date.UTC(2000, 0, 1),
// Minor tick interval of 2
minorTickInterval: Date.UTC(2010, 0, 1) - Date.UTC(2008, 0, 1)
Source: stackoverflow.com
Related Query
- Highcharts - graph - decades
- HighCharts Bubble graph JSON as data source
- How to modify the code so that Highcharts graph does not cover fixed navigation bar at the top of the page?
- The graph is not equal on the basis of the addition code in Highcharts
- Disable-Click on Legend in HighCharts Column Graph
- missing value in highcharts line graph results in no line, just points
- Scrolling over highcharts graph
- How to hyperlink bar graph in highcharts
- Highcharts - Dyanmic graph with no initial data
- Highcharts graph X-axis label for different date ranges
- How to change graph colour above and below plotline in Highcharts
- How do I get the value of a highcharts graph point on mouseover?
- Dynamically applying plot bands to a Highcharts graph
- How to pass custom data into Highcharts graph click event
- Highcharts stacked bar graph as timeline
- How do I set highcharts line graph point colors to an array of colors?
- Creating a line graph with highcharts and data in an external csv
- highcharts zero values results in graph half way instead at the bottom
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- Legend and Axis titles not showing in Highcharts Graph
- Legend and Axis titles not showing in Highcharts Graph
- Highcharts - Global configuration with common code and unique data & Headings
- Highcharts: How to provide a custom stack label in highcharts bar graph from within the stackLabel formatter?
- Highcharts - Multiple Axis Graph not displaying labels
- Highcharts not displaying series data for graph with multiple Y-axes
- HighCharts chart export (screenshot download) does not display Navigator graph
- Highcharts - update column graph with setData() not working
- How to change area graph color above certain value in Highcharts
- Highcharts pie graph with two rings filtering
- Highcharts series graph to start and end on tick and end on max
More Query from same tag
- Highcharts/HighcharteR: Stacked Column Bars Get Skinny After 50+ Series in R
- In Highcharts, how to set up title for each pyramid in a multi-pyramid chart
- Laravel get two value array count from controller in javascript
- Highcharts columnrange remove spacing from data in other categories
- HighCharts multiple x series data for line graph
- High Charts add variance instead of values
- Highcharts styledMode with highcharts.css import causes pie legend hover to apply to all legend items
- Add item to Highcharts legend?
- sync width of xAxis between two charts, when one chart has multiple yAxis
- Highcharts error #13 unless I run under IE compatibility view?
- Highcharts network graph custom link labels
- How to position highcharts tooltip above chart with outside:true
- Highchart - Show/hide datalabel on click
- Highstock Time series not formatting on scatter tooltip
- Having trouble just getting the Highchart to show
- Two highchart update issue
- Is it possible to draw Highcharts PlotBand and/or PlotLines lower/higher then xAxis/top tick?
- Highcharts - how can I change font size?
- Spline chart drawn on the xaxis in case of single value or constant values - highchart
- Get palette of some color
- Highcharts stack graph stack not visible
- Highcharts - issue with tooltip formatting in synchronized charts
- How to add custom content that spans across multiple ticks in highcharts
- Highchart ticks start point change when categories names are set
- How to draw a different gradient fill for negative values?
- Enable scrollbar using highcharts.js
- Add Series in Highcharts on the basis of user input
- Highcharts Multiple Bar Colours in X-Range
- PHP JSON Highcharts load database result
- Navigator and scroll both misbehaving in stock highcharts