I would like to align the x-axis labels and flush left to y-axis on the left and flush right on the right to y-axis in the chart shown below:

Here is the relevant code for x-axis and y-axes series:
var chart2 = new Highcharts.Chart({
chart: {
renderTo: 'discount_chart',
type: 'line'
},
title: {
text: "#{title_text_sense}"
},
xAxis: {
title: { text: 'Price Range - $' },
categories: #{price_array},
showLastLabel: true,
},
yAxis: [{
min: 0,
type: 'linear',
title: { text: 'Rate of Return - %' }
},{
min: 0,
type: 'linear',
title: { text: 'Disc. N.Rev./Invest.(ROI)' },
opposite: true
}],
Note that the variables are read from database so the price_array which is used to define the x-axis contains these values for this example:
[“$60.00″,”$70.00″,”$80.00″,”$90.00″,”$100.00”]
Is there a way to do this in HighCharts?
Thanks.
Bharat
Thanks for your time. I really appreciate it. But I figured this out. Here is a fork of my original jsFiddle link that posted. It does exactly what I want to do. Basically, I removed the categories option in xAxis and then used the custom label formatter for xAxis; it did the trick for me. Below is
my Highcharts JavaScript code to do this:
jSFiddle Demo of above code to fork: