2012-09-10 4 views

답변

3

[x,o,h,l,c]

series.addPoint([ 
    x, 
    Math.random()*100, 
    Math.random()*100, 
    Math.random()*100, 
    Math.random()*100 
    ], true, true); 


data.push([ 
    time + i * 1000, 
    Math.random()*100, 
    Math.random()*100, 
    Math.random()*100, 
    Math.random()*100 
    ]); 
로 5의 값을 갖는 내부 어레이의 각 요소는, 어레이의 배열로 데이터를 필요

API 참조 @http://api.highcharts.com/highstock#series.data jsFiddle @http://jsfiddle.net/jugal/SykAf/

+0

감사합니다 :) –