问题
Is it possible to move the Highstock chart navigator from the bottom of the chart to the top?
回答1:
Yes it is possible, please take look at example: http://jsfiddle.net/jBUGN/
navigator: {
top:40,
},
回答2:
Upgraded answer from Sebastian: http://jsfiddle.net/Fusher/jBUGN/18/ Instead of setting top for xAxis and yAxis, set marginTop: value:
var chart = new Highcharts.StockChart({
chart: {
renderTo: 'container',
marginTop: 140
},
navigator: {
top:40,
},
rangeSelector: {
selected: 1
},
series: [{
name: 'USD to EUR',
data: usdeur
}]
});
来源:https://stackoverflow.com/questions/15399490/move-the-highstock-navigator-position