我想實時繪製股票價格作爲蠟燭圖。我從某人那裏獲得了開放的閃光圖表,它看起來不錯。我不知道如何實時更新蠟燭圖(使用Ajax?),這是一個好方法嗎?使用開放式閃存圖表繪製蠟燭圖是否是一種好方法?
我使用Python很多。但是我找不到像OFC那樣容易使用的工具。
我想實時繪製股票價格作爲蠟燭圖。我從某人那裏獲得了開放的閃光圖表,它看起來不錯。我不知道如何實時更新蠟燭圖(使用Ajax?),這是一個好方法嗎?使用開放式閃存圖表繪製蠟燭圖是否是一種好方法?
我使用Python很多。但是我找不到像OFC那樣容易使用的工具。
如果可以的話我會離開Flash(我是Flash開發者)。嘗試一個Javascript庫,它可以用於iPhone,iPad,Macbook Air等。 HTML5設備。 http://raphaeljs.com/
http://www.jqplot.com/一些簡單的圖表應該是偉大的解決方案爲您
在打開Flash圖表有一個candle.txt文件是隻是這種圖表的模板。
打開Flash圖表規則! (和我不喜歡Flash)
{
"title":{
"text": "Candle",
"style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
},
"y_legend":{
"text": "Open Flash Chart",
"style": "{color: #736AFF; font-size: 12px;}"
},
"elements":[
{
"type": "candle",
"alpha": 0.5,
"colour": "#40d040",
"negative-colour": "#d04040",
"text": "Burn baby, burn",
"font-size": 10,
"on-show": {"type": "po-p", "cascade":1, "delay":0},
"tip": "#x_label#<br>High: #high#<br>Open: #open#<br>Close: #close#<br>Low: #low#",
"values" : [
{"high":19, "top":14, "bottom":11, "low":10, "tip":"LOOK<br>#top#,#bottom# = #val#"},
{"high":15, "top":10, "bottom":5, "low":0},
{"high":7, "top":7, "bottom":4, "low":3},
{"high":7, "top":3, "bottom":6, "low":2},
{"high":7, "top":4, "bottom":4, "low":2}
]
}
],
"x_axis":{
"labels": ["January","February","March"]
},
"y_axis":{
"max": 20
}
}