I am trying to get more space between my highcharts plotArea and the xAxis... nothing so far seems to be working. The picture shows how close they are and I am wanting to add about 30 more px to it.
Thank you for the help!!
I am trying to get more space between my highcharts plotArea and the xAxis... nothing so far seems to be working. The picture shows how close they are and I am wanting to add about 30 more px to it.
Thank you for the help!!
Share Improve this question asked Mar 2, 2013 at 17:12 DanielCWDanielCW 1491 silver badge14 bronze badges 1- 1 Can you explain it better ? – Ricardo Lohmann Commented Mar 4, 2013 at 0:11
2 Answers
Reset to default 4Assuming I unerstand your question correctly...
Here is a standard xAxis
and an altered yAxis
from the Highcharts documentation.
http://jsfiddle/gh/get/jquery/1.7.2/highslide-software/highcharts./tree/master/samples/highcharts/xaxis/labels-x/
Now, here is a fork of that fiddle, but with the labels of the xAxis
pushed further down.
http://jsfiddle/BCPL5/
The relevant Highcharts API documentation:
http://api.highcharts./highcharts#xAxis.labels
The alteration to the xAxis
is in this statement.
...
xAxis: {
labels: {
y: 25
}
},
...
Now, you could also use offset, as can be seen in the Highcharts example below, but I don't believe that is what you want in this case.
http://jsfiddle/gh/get/jquery/1.7.2/highslide-software/highcharts./tree/master/samples/highcharts/yaxis/offset/
You can try to set min/maxPadding http://api.highcharts./highstock#yAxis.minPadding
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745603962a4635566.html
评论列表(0条)