/**
* @constructor
*/
function XUIStackedBarChart() {
}
XUIStackedBarChart.prototype = {
//组件
/**
"Bar1":{
"title":"柱状图1",
"name":"Bar1",
"type":"PUIBarInterface",
"index":0
}*/
/**
"Bar2":{
"title":"柱状图2",
"name":"Bar2",
"type":"PUIBarInterface",
"index":1
}*/
/**
"Bar3":{
"title":"柱状图3",
"name":"Bar3",
"type":"PUIBarInterface",
"index":2
}*/
/**
"Bar4":{
"title":"柱状图4",
"name":"Bar4",
"type":"PUIBarInterface",
"index":3
}*/
/**
"Bar5":{
"title":"柱状图5",
"name":"Bar5",
"type":"PUIBarInterface",
"index":8
}*/
/**
"Bar6":{
"title":"柱状图6",
"name":"Bar6",
"type":"PUIBarInterface",
"index":9
}*/
/**
"Scatter1":{
"title":"系列名称1",
"name":"Scatter1",
"type":"PUIScatterInterface",
"index":4
}*/
/**
"Scatter2":{
"title":"系列名称2",
"name":"Scatter2",
"type":"PUIScatterInterface",
"index":5
}*/
/**
"Scatter3":{
"title":"系列名称3",
"name":"Scatter3",
"type":"PUIScatterInterface",
"index":6
}*/
/**
"Scatter4":{
"title":"系列名称4",
"name":"Scatter4",
"type":"PUIScatterInterface",
"index":7
}*/
/**
"YAxis1":{
"title":"y轴1",
"name":"YAxis",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"Legend1":{
"title":"图例",
"name":"Legend",
"type":"PUILegendInterface",
"index":0
}*/
//接口
/**
* 设定背景颜色
* @param {String} strColor
* @property {Color} BackgroundColor "0xff222222"
*/
SetBackgroundColor:function (strColor) {
},
/**
* 修改分类一的数据
* @param {Number} nValue1 示例数据1
* @param {Number} nValue2 示例数据2
* @param {Number} nValue3 示例数据3
* @property {Collection} SparesData [10,15,10]
*/
SetSparesData:function (nValue1,nValue2,nValue3) {
},
/**
* 修改分类二的数据
* @param {Number} nValue1 示例数据1
* @param {Number} nValue2 示例数据2
* @param {Number} nValue3 示例数据3
* @property {Collection} ResourcesData [25,25,25]
*/
SetResourcesData:function (nValue1,nValue2,nValue3) {
},
/**
* 修改分类三的数据
* @param {Number} nValue1 示例数据1
* @param {Number} nValue2 示例数据2
* @param {Number} nValue3 示例数据3
* @property {Collection} LogisticsData [24,27,18]
*/
SetLogisticsData:function (nValue1,nValue2,nValue3) {
},
/**
* 修改分类四的数据
* @param {Number} nValue1 示例数据1
* @param {Number} nValue2 示例数据2
* @param {Number} nValue3 示例数据3
* @property {Collection} MissionData [24,24,18]
*/
SetMissionData:function (nValue1,nValue2,nValue3) {
},
/**
* 设定进度条上层块颜色
* @param {String} strColor1 颜色值1
* @param {String} strColor2 颜色值2
* @param {String} strColor3 颜色值3
* @property {Collection} BgBarColor ["0xff48A3FF","0xff77ED4D","0xffFFE822"]
*/
SetBgBarColor:function (strColor1,strColor2,strColor3) {
},
/**
* 设置Y轴上的字体的大小
* @param {Number} nFontsize
* @property {Number} YAxisFontSize 24
*/
SetYAxisFontSize:function (nFontsize) {
},
/**
* 设置Y轴上的字体的颜色
* @param {String} strColor
* @property {Color} YAxisFontColor "0xff8394c1"
*/
SetYAxisFontColor:function (strColor) {
},
/**
*设置Y轴的内容
* @param {String} strCont1 示例文本1
* @param {String} strCont2 示例文本2
* @param {String} strCont3 示例文本3
* @property {Collection} YaxisCont ["示例1", "示例2", "示例3"]
*/
SetYaxisCont:function (strCont1,strCont2,strCont3) {
},
/**
* 设置散点的颜色
* @param {String} strColor1 分类一颜色值
* @param {String} strColor2 分类二颜色值
* @param {String} strColor3 分类三颜色值
* @param {String} strColor4 分类四颜色值
* @property {Collection} ScatterColor ["0xff02EFFF","0xffFFF56E","0xff00FFB1","0xff00A9FF"]
*/
SetScatterColor:function (strColor1,strColor2,strColor3,strColor4) {
},
/**
* 设置散点的大小
* @param {Number} nSize
* @property {Number} ScatterSize 10
*/
SetScatterSize:function (nSize) {
},
/**
* 设置柱状图的颜色
* @param {String} strColor1 分类一颜色值
* @param {String} strColor2 分类二颜色值
* @param {String} strColor3 分类三颜色值
* @param {String} strColor4 分类四颜色值
* @property {Collection} BarColor ["0xff02EFFF","0xffFFF56E","0xff00FFB1","0xff00A9FF"]
*/
SetBarColor:function (strColor1,strColor2,strColor3,strColor4) {
},
/**
* 设置图列字体颜色
* @param {String} strColor
* @property {Color} LegendColor "0xff8394C1"
*/
SetLegendColor:function (strColor) {
},
/**
* 设置图列字体的大小
* @param {Number} nFontSize
* @property {Number} LegendFontSize 15
*/
SetLegendFontSize:function (nFontSize) {
},
/**
* 设置图列icon形状
* @param {String} strShape
* @property {Combo} LengthIconShape ["circle","rect","roundRect"]
*/
SetLengthIconShape:function (strShape) {
},
/**
* 设置外框的颜色
* @param {String} strColor
* @property {Color} OutBorderColor "0xff414648"
*/
SetOutBorderColor:function (strColor) {
},
/**
* 设置外框的宽度
* @param {Number} nbarWidth
* @property {Number} OutBarWidth 12
*/
SetOutBarWidth:function (nbarWidth) {
},
/**
* 设置进度条底框的颜色
* @param {String} strColor
* @property {Color} BarBackColor "0xff414648"
*/
SetBarBackColor:function (strColor) {
},
/**
* 设置进度条底部的宽度
* @param {Number} nbarWidth
* @property {Number} BackWidth 12
*/
SetBarBackWidth:function (nbarWidth) {
},
/**
* 是否显示Y轴
* @param {Boolean} bShow
* @property {Boolean} ShowYaxis true
*/
WhetherShowYaxis:function (bShow) {
},
}