私はこのページがあります。使用highchartとhighstock
<script type="text/javascript" src="jQuery/Highcharts/highstock1.1.6.js"></script>
<script type="text/javascript" src="jQuery/Highcharts/highcharts2.1.4.js"></script>
と私は
$.getJSON(
"server/indice.server.php?row=" + row +"&item="+ item,
null,
function(data)
{
chartindice = new Highcharts.Chart(
{
chart:
{
renderTo: 'graph',
defaultSeriesType: 'line',
zoomType: 'x'
},
/////moore setting..
series:
[{
type: 'area',
name: titleindice,
data: indice,
showInLegend : false //disable the the show/hide icon
}]
});
});
とhighstockグラフ
window.chart = new Highcharts.StockChart({
chart: {
renderTo: 'chartHistory'
},
rangeSelector: {
selected: 2
},
series: [{
data: history,
type: 'spline',
tooltip: {
valueDecimals: 2
}
}]
});
を使用して、彼らができるページ内を一緒に仕事をしているのではなく、ちょうどどちらか一方です。
どうすればよいですか?
のために働くのか?何が起こった ? –
はい、seperatlyハイチャートのグラフがうまくいきません。(ハイ)highstock + highchrt jsファイルはどこにありますか? – devmonster
あなたのシリーズのデータをロギングしてここに投稿できますか? –