score:14
This might help:
xAxis: {
min: 0.5, max: 5.5
...
where max = number of data point minus 1.5
score:0
With option "tickmarkplacement" set to "on", the xAxis "startontick" option might help you:
xAxis: {
startOnTick: false,
tickmarkplacement:"on",
...
see this jsfiddle, forked from the Highcharts API documentation
score:1
The best way to remove paddings is to add pointPlacement: 'on'
plotOptions: {
areaspline: {
pointPlacement: 'on'
}
}
score:8
You should use minPadding/maxPadding parameters but it doens't work with categories. So I suggest to remove categoreis, use min value and tickInterval
http://jsfiddle.net/7JAcN/3/ http://api.highcharts.com/highcharts#xAxis.minPadding
xAxis: {
allowDecimals:false,
minPadding:0,
maxPadding:0,
/*categories: [
'Thu 2/14',
'Fri 2/15',
'Sat 2/16',
'Sun 2/17',
'Mon 2/18',
'Tue 2/19',
'Wed 2/20'
],*/
labels: {
staggerLines: 2
},
tickmarkPlacement: 'on',
},
Source: stackoverflow.com
Related Query
- Highcharts: Remove space between plot border and actual chart
- remove tooltip space between border and content highcharts
- Highcharts Pie chart how to reduce space between chart and legend caused by plot width
- Reduce gap between plot area and actual chart in highcharts
- Remove space between yAxis and data in highcharts
- How to add space between chart and axis in highcharts
- HighCharts - Need more space between bottom of chart and Xaxis labels
- Highcharts semi-pie - remove space between pie and legend
- How to change space value between grid and yAxis in Highcharts line chart
- Highcharts AreaSpline - Adding padding in between the chart and plot area
- Highcharts - column chart has space between bar and xAxis
- How to remove fine white line between halo and Highcharts pie chart
- Adding space between the line and the fill in a Highcharts area chart
- Highcharts - Remove gap between tooltip border and content
- Spacing between plot border and start of data plotting in highcharts
- Add a gap between the second and third series in a Highcharts column plot with four series displayed
- Highcharts - How to remove connecting line between fixed tooltip and point
- Highcharts - How can I remove starting and ending padding from area chart
- Highcharts padding between plot and graph, how to remove?
- Highcharts remove gap between start of xAxis and first value
- How do I reduce the space between title and chart of a High Chart?
- Distance between x-axis labels and the chart in Highcharts
- High charts - Increasing the space between chart and title
- How to remove space in between bars in HighCharts bar chart?
- How to remove empty space between bars in Highcharts polar chart?
- Tooltip in chart with line- and scatter plot in highcharts 3.0.7
- Highcharts - reduce the space between zero data line and x-axis
- HighCharts - Remove space between series on stacked bar
- Highcharts columns - fixed border width, remove spacing between the bars
- Highcharts {Gauge} - Remove bottom border and change dial position
More Query from same tag
- Draggable date range using Highcharts.js
- How to remove year from Highchart
- Highcharts tick interval positioning
- Enable rotation of Highcharts 3D scatter chart on touch devices
- Change color of different points in same series Highcharts
- Highstock How to remove the cross icon in Range selector text box in IE
- jQuery.HighchartTable custom tooltip
- Highcharts - Is it possible to display the my own text on the data-labels of line chart?
- How to draw a bubble map with longitude and latitude using Highcharts in react
- HighChart Line Graph value from database
- coloring different parts of a series a different color
- Divergent chart possible with Highcharts?
- Rendering HighCharts in AngularJS from Json Object
- Highstock custom datagrouping datetimelabelformats timeseries
- Adding data to a highchart chart using an array with IDs
- Highmaps svg path issue - Data not flowing into certain counties on US map
- How to hide color axis in heatmaps using highcharts
- How to remove space below the semi-circle in highcharts?
- Custom SVGElement labels loose positioning on zoom
- How to call a css properties inside plotLines in highcharts
- How to build query and to make chart in Yii2 using highchart?
- how to add data from database and set it to data serie in highchart C#
- R highcharts multiple stacked bar chart
- Stop HighCharts change transparency of another series on hover of one series
- Highcharts -> how to add vertical title to bar? how to make the symbol in the legend a rectangle?
- Highstock - zoom all by function
- HighCharter HCAES method not producing any visualization in R Shiny Dashboard
- How can I put the Highchart to the html page
- Highcharts DateTime not parsing correctly
- Highmaps - Legend Item Filter