/**
* @constructor
*/
function XUIStockIndex() {
}
XUIStockIndex.prototype = {
//组件
/**
"tooltip":{
"title":"提示框组件",
"name":"tooltip",
"type":"PUITooltipInterface",
"index":0
}*/
/**
"xAxis":{
"title":"x轴",
"name":"xAxis",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"yAxis":{
"title":"y轴",
"name":"yAxis",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"dataZoom0":{
"title":"缩放组件0",
"name":"dataZoom0",
"type":"PUIDataZoomInsideInterface",
"index":0
}*/
/**
"dataZoom1":{
"title":"缩放组件1",
"name":"dataZoom1",
"type":"PUIDataZoomSliderInterface",
"index":1
}*/
/**
"candlestick":{
"title":"k线",
"name":"candlestick",
"type":"PUICandlestickInterface",
"index":0
}*/
/**
"line1":{
"title":"折线1",
"name":"line1",
"type":"PUILineInterface",
"index":1
}*/
/**
"line2":{
"title":"折线2",
"name":"line2",
"type":"PUILineInterface",
"index":2
}*/
/**
"line3":{
"title":"折线3",
"name":"line3",
"type":"PUILineInterface",
"index":3
}*/
/**
"line4":{
"title":"折线4",
"name":"line4",
"type":"PUILineInterface",
"index":4
}*/
//接口
/**
* 清空
*/
RemoveAll:function () {
},
/**
* 添加k线数据
* @param {Array} arrData k线数据
* @param {String} strName 系列名称
*/
AddCandlestickData:function (arrData,strName) {
},
/**
* 添加折线数据
* @param {Array} arrData 折线数据
* @param {String} strName 系列名称
*/
AddLineData:function (arrData,strName) {
},
/**
* 获取开盘数据
* @param {String} strName 日期名称
* @return {Float}}
*/
GetOpenData:function (strName) {
},
/**
* 获取收盘数据
* @param {String} strName 日期名称
* @return {Float}}
*/
GetCloseData:function (strName) {
},
/**
* 获取最低数据
* @param {String} strName 日期名称
* @return {Float}}
*/
GetLowestData:function (strName) {
},
/**
* 获取最高数据
* @param {String} strName 日期名称
* @return {Float}}
*/
GetHighestData:function (strName) {
},
/**
* 删除数据
* @param {Number} nIndex 索引下标
*/
DeleteData:function (nIndex) {
},
}