0
私はhighcharts株価チャートsimilar to thisで作業しています。私のチャートには何百ものデータポイントがあります。タイムスライダをプログラマに設定する方法はありますか?ハイチャート株価チャートセレクター
私のX軸には100データポイント(datetime、秒単位でグループ化されています)があるとします。私は20ポイントを表示するセレクタを持つチャートのデフォルトのビューをしたいと思います。これは、私が働いているサンプルである40〜60
ポイント:このexampleで
$(function() {
$('#container').highcharts('StockChart', {
rangeSelector: {
buttonTheme: { // styles for the buttons
fill: 'none',
stroke: 'none',
'stroke-width': 0,
r: 8,
style: {
color: '#039',
fontWeight: 'bold'
},
states: {
hover: {
},
select: {
fill: '#039',
style: {
color: 'white'
}
}
// disabled: { ... }
}
},
inputBoxBorderColor: 'gray',
inputBoxWidth: 120,
inputBoxHeight: 18,
inputStyle: {
color: '#039',
fontWeight: 'bold'
},
labelStyle: {
color: 'silver',
fontWeight: 'bold'
},
selected: 1
},
series: [{
name: 'USD to EUR',
data: usdeur
}]
});
});
私の回答があなたの問題を解決しましたか? –