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

XUILineUpdate.prototype = {
    //事件
    /**
   * 清除X轴数据
   * @eventname XUI_LineUpdate_ClearXAxisData
   * @eventid 0x0000000066
   */
    /**
   * 清除线的数据
   * @eventname XUI_LineUpdate_ClearLineData
   * @eventid 0x0000000067
   */
    /**
   * 通过工具栏按钮清除数据
   * @eventname XUI_LineUpdate_ClearData
   * @eventid 0x0000000068
   */
    /**
   * 重新加载数据
   * @eventname XUI_LineUpdate_ReloadData
   * @eventid 0x0000000069
   */

    //接口
    /**
     * 初始化
     */
    InitCtrl:function () {
    },

    /**
     * 渲染
     */
    Render:function () {
    },

    /**
     * 背景颜色
     * @param {String} strColor 颜色
     * @property {Color} BgColor "0xffffffff"
     */
    SetBgColor:function (strColor) {
    },

    /**
     * 暂停
     */
    StopRender:function () {
    },

    /**
     * 绑定Tooltip
     * @param {String} strCtrlId Tooltip控件的id名
     * @param {Boolean} bAlwaysShow 一直显示
     */
    BindTooltip:function (strCtrlId,bAlwaysShow) {
    },

    /**
     * 显示工具箱
     * @param {Boolean} bShow 是否显示
     * @property {Boolean} ShowToolbox false
     */
    ShowToolbox:function (bShow) {
    },

    /**
     * 是否开启动画
     * @param {Boolean} bOpen true开启,false关闭
     * @param {Number} nAnimationThreshold 动画的阈值,开启动画时有效
     * @property {Collection} OpenAnimation [false, 0]
     */
    OpenAnimation:function (bOpen,nAnimationThreshold) {
    },

    /**
     * 设置工具箱的布局朝向
     * @param {String} strOrient 布局朝向
     * @property {Combo} ToolboxOrient ["vertical", "horizontal"]
     */
    SetToolboxOrient:function (strOrient) {
    },

    /**
     * 设置工具箱的位置
     * @param {Number} nTop 上边距
     * @param {Number} nRight 右边距
     * @property {Collection} ToolboxBorderGap [0, 0]
     */
    SetToolboxBorderGap:function (nTop,nRight) {
    },

    /**
     * 显示工具箱每个项的标题
     * @param {Boolean} bShow 是否显示
     */
    ShowToolboxItemTitle:function (bShow) {
    },

    /**
     * 设置工具箱项的大小
     * @param {Number} nSize 大小
     * @property {Number} ToolboxItemSize 12
     */
    SetToolboxItemSize:function (nSize) {
    },

    /**
     * 设置工具箱项的标题
     * @param {Number} nType 0:保存为图片、1:清除数据、2:区域缩放、3:区域缩放还原、4:还原
     * @param {String} strTitle 标题文本
     */
    SetToolboxItemTitle:function (nType,strTitle) {
    },

    /**
     * 设置工具箱项的图标
     * @param {Number} nType 0:保存为图片、1:清除数据、2:区域缩放、3:区域缩放还原、4:还原
     * @param {ImageProp} strImage 图片路径
     */
    SetToolboxItemImage:function (nType,strImage) {
    },

    /**
     * 设置工具箱每项之间的间隔
     * @param {Number} nGap 间隔
     * @property {Number} ToolboxItemGap 10
     */
    SetToolboxItemGap:function (nGap) {
    },

    /**
     * 加线
     * @param {Number} nYAxisIndex Y轴索引
     * @param {String} strName 线名
     * @param {String} strColor 颜色
     */
    AddLine:function (nYAxisIndex,strName,strColor) {
    },

    /**
     * 加线
     * @param {Number} nYAxisIndex Y轴索引
     * @param {String} strName 线名
     * @param {String} strLineColor 颜色
     * @param {String} strBeginColor 渐变起始颜色
     * @param {String} strEndColor 渐变结束颜色
     */
    AddGradientLine:function (nYAxisIndex,strName,strLineColor,strBeginColor,strEndColor) {
    },

    /**
     * 设置线显示隐藏
     * @param {Number} nLineIndex 线的下标
     * @param {Boolean} bShow 是否显示
     */
    ShowLineByIndex:function (nLineIndex,bShow) {
    },

    /**
     * 设置X轴文本显示间隔
     * @param {Number} nInterval 间隔
     * @property {Number} XAxisLabelInterval 40
     */
    SetXAxisLabelInterval:function (nInterval) {
    },

    /**
     * 设置X轴数据个数
     * @param {Number} nCount X轴数据个数
     */
    SetXAxisDataCount:function (nCount) {
    },

    /**
     * 清除X轴数据
     */
    ClearXAxisData:function () {
    },

    /**
     * 设置X轴数据
     * @param {Array} arrData 数据
     * @param {Boolean} bUpdate 是否刷新
     */
    SetXAxisData:function (arrData,bUpdate) {
    },

    /**
     * 加X轴数据
     * @param {String} strData 数据
     * @param {Boolean} bUpdate 是否刷新
     */
    AddXAxisData:function (strData,bUpdate) {
    },

    /**
     * 清除线的数据
     * @param {Number} nLineIndex 索引
     */
    ClearLineData:function (nLineIndex) {
    },

    /**
     * 根据线的索引设置数据
     * @param {Number} nLineIndex 索引
     * @param {Array} arrData 数据
     * @param {Boolean} bUpdate 是否刷新
     */
    SetLineDataByIndex:function (nLineIndex,arrData,bUpdate) {
    },

    /**
     * 根据线的索引加数据
     * @param {Number} nLineIndex 索引
     * @param {double} dData 数据
     * @param {Boolean} bUpdate 是否刷新
     */
    AddLineDataByIndex:function (nLineIndex,dData,bUpdate) {
    },

    /**
     * 设置线的数据
     * @param {Number} nLineIndex 索引
     * @param {String} strXData x轴数据
     * @param {double} dYData y轴数据
     * @param {Boolean} bUpdate 是否刷新
     */
    SetLineData:function (nLineIndex,strXData,dYData,bUpdate) {
    },

    /**
     * 数据区域居左
     * @param {Number} nValue
     * @property {Number} LeftValue 35
     */
    SetLeftValue:function (nValue) {
    },

    /**
     * 数据区域居上
     * @param {Number} nValue
     * @property {Number} TopValue 25
     */
    SetTopValue:function (nValue) {
    },

    /**
     * 数据区域居右
     * @param {Number} nValue
     * @property {Number} RightValue 35
     */
    SetRightValue:function (nValue) {
    },

    /**
     * 数据区域居下
     * @param {Number} nValue
     * @property {Number} BottomValue 30
     */
    SetBottomValue:function (nValue) {
    },

    /**
     * 刷新数据
     */
    Update:function () {
    },

    /**
     * 显示Y轴刻度标记线
     * @param {Boolean} bShow 是否显示
     * @property {Boolean} ShowYAxisTickLine true
     */
    ShowYAxisTickLine:function (bShow) {
    },

    /**
     * 显示背景网格
     * @param {Boolean} bShowX 是否显示纵向网格
     * @param {Boolean} bShowY 是否显示横向网格
     * @property {Collection} ShowBgGridLine [true, true]
     */
    ShowBgGridLine:function (bShowX,bShowY) {
    },

    /**
     * 背景网格线个数
     * @param {Number} nXCount X轴上的个数
     * @param {Number} nYCount Y轴上的个数
     * @property {Collection} BgGridLineCount [10, 10]
     */
    SetBgGridLineCount:function (nXCount,nYCount) {
    },

    /**
     * 双Y轴模式
     * @param {Boolean} bDoubleYAxis 是否显示
     * @property {Boolean} DoubleYAxisMode true
     */
    SetDoubleYAxisMode:function (bDoubleYAxis) {
    },

    /**
     * 设置y轴是否显示
     * @param {Number} nIndex y轴索引
     * @param {Boolean} bVisible 开启采样
     */
    SetYAxisVisibleByIndex:function (nIndex,bVisible) {
    },

    /**
     * 数据是否开启采样
     * @param {Boolean} bSampling 开启采样
     */
    Sampling:function (bSampling) {
    },

    /**
     * 科学计数法显示
     * @param {Number} nIndex y轴索引
     * @param {Boolean} bScientificNotation 是否是科学计数法
     * @param {Number} nNum 精度
     */
    ScientificNotationFormatByIndex:function (nIndex,bScientificNotation,nNum) {
    },

    /**
     * y轴精度
     * @param {Number} nIndex y轴索引
     * @param {Number} nPrecision 精度
     */
    SetYAxisLablePrecision:function (nIndex,nPrecision) {
    },

    /**
     * y轴单位
     * @param {Number} nIndex 索引
     * @param {String} strUnit 单位
     * @property {String} YAxisUnit ""
     */
    SetYAxisUnit:function (nIndex,strUnit) {
    },

    /**
     * y轴单位位置
     * @param {Number} nIndex 索引
     * @param {Number} nPos 位置
     * @property {Number} YAxisUnitPosition 15
     */
    SetYAxisUnitPosition:function (nIndex,nPos) {
    },

    /**
     * y轴单位大小
     * @param {Number} nIndex 索引
     * @param {Number} nSize 大小
     * @property {Number} YAxisUnitSize 12
     */
    SetYAxisUnitSize:function (nIndex,nSize) {
    },

    /**
     * Y轴单位颜色
     * @param {Number} nIndex 索引
     * @param {String} strColor 大小
     * @property {Color} YAxisUnitColor ""
     */
    SetYAxisUnitColor:function (nIndex,strColor) {
    },

    /**
     * x轴单位
     * @param {String} strUnit 单位
     * @property {String} XAxisUnit ""
     */
    SetXAxisUnit:function (strUnit) {
    },

    /**
     * x轴单位位置
     * @param {Number} nPos 位置
     * @property {Number} XAxisUnitPosition 15
     */
    SetXAxisUnitPosition:function (nPos) {
    },

    /**
     * X轴单位大小
     * @param {Number} nSize 大小
     * @property {Number} XAxisUnitSize 12
     */
    SetXAxisUnitSize:function (nSize) {
    },

    /**
     * X轴单位颜色
     * @param {String} strColor 大小
     * @property {Color} XAxisUnitColor ""
     */
    SetXAxisUnitColor:function (strColor) {
    },

    /**
     * 设置数据范围
     * @param {Number} nIndex y轴索引
     * @param {Double} dMin 最小值
     * @param {Double} dMax 最大值
     * @param {Boolean} bForceControl 强制限制
     */
    SetYAxisValueRangeByIndex:function (nIndex,dMin,dMax,bForceControl) {
    },

    /**
     * 设置y轴字体颜色
     * @param {Number} nIndex y轴索引
     * @param {String} strColor 颜色
     */
    SetYAxisFontColorByIndex:function (nIndex,strColor) {
    },

    /**
     * 设置X轴线颜色
     * @param {String} strColor 轴线颜色
     * @property {Color} XAxisLineColor "0xff5E8E92"
     */
    SetXAxisLineColor:function (strColor) {
    },

    /**
     * 设置Y轴线颜色
     * @param {String} strColor 轴线颜色
     * @property {Color} YAxisLineColor "0xff5E8E92"
     */
    SetYAxisLineColor:function (strColor) {
    },

    /**
     * 设置某y轴线颜色
     * @param {Number} nIndex 索引
     * @param {String} strColor 轴线颜色
     */
    SetYAxisLineColorByIndex:function (nIndex,strColor) {
    },

    /**
     * 设置背景网格线颜色
     * @param {String} strColor 背景网格线颜色
     * @property {Color} GridLineColor "0xff5E8E92"
     */
    SetBgGridLineColor:function (strColor) {
    },

    /**
     * 删除一条线
     * @param {Number} nIndex 索引
     */
    DeleteLineByIndex:function (nIndex) {
    },

    /**
     * 清空
     */
    ClearData:function () {
    },

}