/**
* @constructor
*/
function XUIBubbleChart() {
}

XUIBubbleChart.prototype = {
    //事件
    /**
    * 左击散点
    * @eventname XUI_BUBBLECHART_LEFTCLICK
    * @eventid 0x00001003
    * @param {Double} nX 散点X值
    * @param {Double} nY 散点Y值
    */
    /**
    * 左击图例
    * @eventname XUI_BUBBLECHART_LEFTCLICKLEGEND
    * @eventid 0x00001004
    * @param {String} strName 系列名称
    */

    //组件
    /**
    "xAxis": {
            "title": "x轴",
            "name": "xAxis",
            "type": "PUIXAxisInterface",
            "index": 0
        }*/

    /**
    "title": {
            "title": "标题",
            "name": "title",
            "type": "PUITitleInterface",
            "index": 0
        }*/

    /**
    "legend": {
            "title": "图例",
            "name": "legend",
            "type": "PUILegendInterface",
            "index": 0
        }*/

    /**
    "yAxis": {
            "title": "y轴",
            "name": "yAxis",
            "type": "PUIYAxisInterface",
            "index": 0
        }*/

    /**
    "scatter0": {
            "title": "散点0",
            "name": "scatter0",
            "type": "PUIScatterInterface",
            "index": 0
        }*/

    /**
    "scatter1": {
          "title": "散点1",
          "name": "scatter1",
          "type": "PUIScatterInterface",
          "index": 1
        }*/


    //接口
    /**
    * 背景颜色绘制
    * @param {Boolean} bDrawColor
    * @property {Boolean} BgDrawColor true
    */
    SetDrawColor:function (bDrawColor) {
    },

    /**
    * 控件背景颜色
    * @param {String} strGradientColorStart 渐变颜色起点
    * @param {String} strGradientColorEnd 渐变颜色终点
    * @property {Collection} CtrlBgColor ["0xfff7f8fa","0xffcdd0d5"]
    */
    SetCtrlBgColor:function (strGradientColorStart,strGradientColorEnd) {
    },

    /**
    * 背景图片
    * @param {ImageProp} strBgImg 背景图片
    * @property {ImageProp} CtrlBgImg "echartsCase/XUIBubbleChart/images/bg.png"
    */
    SetCtrlBgImg:function (strBgImg) {
    },

    /**
    * 图例文本颜色
    * @param {String} strColor 图例文本颜色
    * @property {Color} LegendTextColor "0xff333333"
    */
    SetLegendTextColor:function (strColor) {
    },

    /**
    * 图例文本大小
    * @param {Number} nSize 图例文本大小
    * @property {Number} LegendTextSize 12
    */
    SetLegendTextSize:function (nSize) {
    },

    /**
    * 清空散点数据
    */
    ClearScatterData:function () {
    },

    /**
    * 添加散点数据
    * @param {Array} arrData 散点数据
    * @param {String} strName 系列名称
    */
    AddScatterData:function (arrData,strName) {
    },

    /**
    * 添加一个数据
    * @param {Float} nX X数据
    * @param {Float} nY Y数据
    * @param {Number} nValue 散点大小
    * @param {String} strText 数据描述
    * @param {String} strName 系列名称
    */
    AddOneScatterData:function (nX,nY,nValue,strText,strName) {
    },

    /**
    * 按系列名称删除
    * @param {String} strSeriesName 系列名称
    */
    DeleteSCatterDataByName:function (strSeriesName) {
    },

    /**
    * 系列序号删数据
    * @param {Number} nIndex 序号
    * @param {String} strName 系列名称
    */
    DeleteDataByIndex:function (nIndex,strName) {
    },

    /**
    * 按年份及国家删除数据
    * @param {String} strState 国家名称
    * @param {String} strName 系列名称
    */
    DeleteDataByYearAndState:function (strState,strName) {
    },

    /**
    * 系列序号查数据
    * @param {Number} nIndex 序号
    * @param {String} strName 系列名称
    * @return {Array} 数据
    */
    GetDataByIndexAndName:function (nIndex,strName) {
    },

    /**
    * 按年份查找数据
    * @param {String} strYear 年份
    * @return {Array} 数据
    */
    GetDataByYear:function (strYear) {
    },

    /**
    * 按年份及国家查找数据
    * @param {String} strYear 年份
    * @param {String} strState 国家
    * @return {Array} 数据
    */
    GetDataByYearAndState:function (strYear,strState) {
    },

    /**
    * 修改散点数据
    * @param {String} strSeriesName 系列名称 
    * @param {Number} nIndex 序号
    * @param {Float} nXValue x轴新值
    * @param {Float} nYValue y轴新值
    */
    SetEditScatterData:function (strSeriesName,nIndex,nXValue,nYValue) {
    },

    /**
    * 按年份及国家修改数据
    * @param {String} strYear 年份
    * @param {String} strState 国家
    * @param {Float} nXValue x轴新值
    * @param {Float} nYValue y轴新值
    */
    SetDataByYearAndState:function (strYear,strState,nXValue,nYValue) {
    },

    /**
    * 标题
    * @param {String} strTitle 标题内容
    * @property {String} BubbleChartTitle "1990 与 2015 年各国家人均寿命与 GDP"
    */
    SetBubbleChartTitle:function (strTitle) {
    },

    /**
    * 标题文本字体
    * @param {String} strFamily 标题字体
    * @property {Combo} TitleFontFamily ["sans-serif","serif","Arial","Microsoft YaHei","Courier New","monospace"]
    */
    SetTitleFontFamily:function (strFamily) {
    },

    /**
    * 标题距左侧
    * @param {String} strLeft 距离容器左侧距离
    * @property {String} BubbleChartTitlePositionLeft "5%"
    */
    SetBubbleChartTitlePositionLeft:function (strLeft) {
    },

    /**
    * 标题距上方
    * @param {String} strTop 离容器上距离
    * @property {String} BubbleChartTitlePositionTop "1%"
    */
    SetBubbleChartTitlePositionTop:function (strTop) {
    },

    /**
    * 标题文本大小
    * @param {Number} nSize 标题文本大小
    * @property {Number} BubbleChartTitleFontSize 18
    */
    SetBubbleChartTitleFontSize:function (nSize) {
    },

    /**
    * 标题颜色
    * @param {String} strColor 标题颜色
    * @property {Color} BubbleChartTitleColor "0xff333333"
    */
    SetBubbleChartTitleColor:function (strColor) {
    },

    /**
    * 标题字体粗细
    * @param {String} strFontWeight 标题字体粗细
    * @property {Combo} BubbleChartTitleFontWeight ["normal","bold","bolder","lighter"]
    */
    SetBubbleChartTitleFontWeight:function (strFontWeight) {
    },

    /**
    * 散点颜色
    * @param {string} strSeriesName 系列名称
    * @param {string} strShadowColor 阴影颜色
    * @param {string} strGradientColorStart 渐变起点颜色
    * @param {string} strGradientColorEnd 渐变终点颜色
    * @property {Collection} ScatterColor ["1990","0xff7F2432","0xfffb767b","0xffcc2e48"]
    */
    SetScatterColorByName:function (strSeriesName,strShadowColor,strGradientColorStart,strGradientColorEnd) {
    },

    /**
    * 标签文本颜色
    * @param {String} strColor 文本标签颜色
    * @param {String} strSeriesName 系列名称 
    * @property {Collection} LableColor ["0xff3C3C3C","1990"]
    */
    SetSeriesLableColorByName:function (strColor,strSeriesName) {
    },

    /**
    * 标签文本大小
    * @param {Number} nSize 文本标签大小
    * @param {String} strSeriesName 系列名称  
    * @property {Collection} LablefontSize [12,"1990"]
    */
    SetSeriesLableFontSizeByName:function (nSize,strSeriesName) {
    },

    /**
    * y轴文本颜色
    * @param {String} strColor y轴刻度标签颜色
    * @property {Color} YAxisAxisLabelColor "0xff333333"
    */
    SetYAxisAxisLabelColor:function (strColor) {
    },

    /**
    * x轴文本颜色
    * @param {String} strColor x轴刻度标签颜色
    * @property {Color} XAxisAxisLabelColor "0xff333333"
    */
    SetXAxisAxisLabelColor:function (strColor) {
    },

    /**
    * x轴文本大小
    * @param {Number} nValue x轴刻度标签大小
    * @property {Number} XAxisAxisLabelFontSize 12
    */
    SetXAxisAxisLabelFontSize:function (nValue) {
    },

    /**
    * y轴文本大小
    * @param {Number} nValue y轴刻度标签大小
    * @property {Number} YAxisAxisLabelFontSize 12
    */
    SetYAxisAxisLabelFontSize:function (nValue) {
    },

    /**
    * y轴颜色
    * @param {String} strColor y轴颜色
    * @property {Color} YAxisLineColor "0xff333333"
    */
    SetYAxisLineColor:function (strColor) {
    },

    /**
    * y轴样式
    * @param {String} strType y轴样式
    * @property {Combo} YAxisLineType ["solid","dashed","dotted"]
    */
    SetYAxisLineType:function (strType) {
    },

    /**
    * y轴刻度线颜色
    * @param {String} strColor y轴刻度线颜色
    * @property {Color} YAxisTickColor "0xff333333"
    */
    SetYAxisTickColor:function (strColor) {
    },

    /**
    * y轴刻度线宽度
    * @param {Number} nValue y轴刻度线宽度
    * @property {Number} YAxisTickwidth 1
    */
    SetYAxisTickWidth:function (nValue) {
    },

    /**
    * y轴刻度线长度
    * @param {Number} nValue y轴刻度线长度
    * @property {Number} YAxisTickLength 5
    */
    SetYAxisTickLength:function (nValue) {
    },

    /**
    * y轴刻度线样式
    * @param {String} strType y轴刻度线样式
    * @property {Combo} YAxisTickType ["solid","dashed","dotted"]
    */
    SetYAxisTickType:function (strType) {
    },

    /**
    * x轴颜色
    * @param {String} strColor x轴颜色
    * @property {Color} XAxisLineColor "0xff333333"
    */
    SetXAxisLineColor:function (strColor) {
    },

    /**
    * 设置x轴样式
    * @param {String} strType x轴样式
    * @property {Combo} XAxisLineType ["solid","dashed","dotted"]
    */
    SetXAxisLineType:function (strType) {
    },

    /**
    * x轴刻度线颜色
    * @param {String} strColor x轴刻度线颜色
    * @property {Color} XAxisTickColor "0xff333333"
    */
    SetXAxisTickColor:function (strColor) {
    },

    /**
    * x轴刻度线宽度
    * @param {Number} nValue x轴刻度线宽度
    * @property {Number} XAxisTickwidth 1
    */
    SetXAxisTickWidth:function (nValue) {
    },

    /**
    * x轴刻度线长度
    * @param {Number} nValue x轴刻度线长度
    * @property {Number} XAxisTickLength 5
    */
    SetXAxisTickLength:function (nValue) {
    },

    /**
    * x轴刻度线样式
    * @param {String} strType x轴刻度线样式
    * @property {Combo} XAxisTickType ["solid","dashed","dotted"]
    */
    SetXAxisTickType:function (strType) {
    },

    /**
    * x轴分割线颜色
    * @param {String} strColor 分割线颜色
    * @property {Color} XAxisSplitLineColor "0xffcccccc"
    */
    SetXAxisSplitLineColor:function (strColor) {
    },

    /**
    * y轴分割线颜色
    * @param {String} strColor 分割线颜色
    * @property {Color} YAxisSplitLineColor "0xffcccccc"
    */
    SetYAxisSplitLineColor:function (strColor) {
    },

    /**
    * x轴分割线样式
    * @param {String} strType 分割线样式
    * @property {Combo} XAxisSplitLineType ["dashed","solid","dotted"]
    */
    SetXAxisSplitLineType:function (strType) {
    },

    /**
    * y轴分割线样式
    * @param {String} strType 分割线样式
    * @property {Combo} YAxisSplitLineType ["dashed","solid","dotted"]
    */
    SetYAxisSplitLineType:function (strType) {
    },

    /**
    * x轴文本字体
    * @param {String} strFamily 文本字体
    * @property {Combo} XAxisFontFamily ["sans-serif","serif","Arial","Microsoft YaHei","Courier New","monospace"]
    */
    SetXAxisFontFamily:function (strFamily) {
    },

    /**
    * y轴文本字体
    * @param {String} strFamily 文本字体
    * @property {Combo} YAxisFontFamily ["sans-serif","serif","Arial","Microsoft YaHei","Courier New","monospace"]
    */
    SetYAxisFontFamily:function (strFamily) {
    },

}