I need only replicate the value of Y axes on both sides os the axis. Note that my chart DOES NOT have multiple axes.
Look the example: [.7.2/highslide-software/highcharts/tree/master/samples/highcharts/demo/bar-basic/]
I know it's something simple, but I could not find the solution.
Please guide me. Thanks in advance.
I need only replicate the value of Y axes on both sides os the axis. Note that my chart DOES NOT have multiple axes.
Look the example: [http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/bar-basic/]
I know it's something simple, but I could not find the solution.
Please guide me. Thanks in advance.
Share Improve this question asked Apr 2, 2013 at 13:49 PradoCompPradoComp 1971 gold badge2 silver badges6 bronze badges1 Answer
Reset to default 19You still need to specify multiple axes, and then you can use the 'linkedTo' and 'opposite' properties:
yAxis: [{
min: 0,
title: {
text: 'Population (millions)',
align: 'high'
},
labels: {
overflow: 'justify'
}
},{
linkedTo:0,
opposite:true
}],
.
Edit for clarification based on comment below:
Highstock, at the time of this writing, sets the opposite
property as true
for the yAxis
by default.
However, Highstock is not a "version of Highcharts". Highstock is its own product, originating from and related to Highcharts.
All versions of Highcharts currently set opposite
to false
both axes by default - yAxis
will be on the left, and xAxis
will be on the bottom.