XUIOrderDashBoard()

Methods

GetBgColor() → {String}

获取背景颜色
Returns:
String

GetCurrentValue() → {Number}

获取当前数据值
Returns:
Number

GetCurrentValueColor() → {String}

获取当前数据颜色
Returns:
String

GetCurrentValueSize() → {Number}

获取当前数据字体大小
Returns:
Number

GetCurValuePosition() → {Array}

获取当前数据位置
Returns:
Array

GetGaugeRadius() → {Number}

获取仪表盘半径大小
Returns:
Number

GetInterLumpSize() → {Number}

获取仪表内部的色块的宽度
Returns:
Number

GetInterSplNum() → {Number}

获取内圈刻度分割线数量
Returns:
Number

GetOuterDistance() → {Number}

获取外圈刻度的距离
Returns:
Number

GetOuterRingColor() → {String}

获取外圈刻度颜色
Returns:
String

GetOuterRingScaleColor() → {String}

获取最外圈刻度的颜色
Returns:
String

GetOuterRingTextColor() → {String}

获取外圈刻度字体颜色
Returns:
String

GetOuterTextSize() → {Number}

获取外圈刻度字体大小
Returns:
Number

GetProgressBarColor() → {Array}

获取环型进度条颜色
Returns:
Array

GetRadiusScale() → {Number}

获取刻度色块半径的大小
Returns:
Number

GetScaleBgColor() → {String}

获取底部刻度色块背景颜色
Returns:
String

GetScaleMarkLength() → {Number}

获取刻度线长度
Returns:
Number

GetSecondOuterRingColor() → {String}

获取第一个圈颜色
Returns:
String

GetStartAndEndAngle() → {Array}

获取仪表盘的起始结束角度
Returns:
Array

GetTitleColor() → {String}

获取标题字体颜色
Returns:
String

GetTitleCont() → {String}

获取标题内容
Returns:
String

GetTitlePosation() → {Array}

获取标题位置
Returns:
Array

GetTitleTextSize() → {Number}

获取标题字体大小
Returns:
Number

GetValueMax() → {Number}

获取刻度最大值
Returns:
Number

GetWidthScale() → {Number}

获取刻度色块的宽度
Returns:
Number

IsShowCenterRound() → {Boolean}

是否显示中间部分
Returns:
Boolean

IsShowColorLump() → {Boolean}

仪表内部色块是否显示
Returns:
Boolean

IsShowCurrentValue() → {Boolean}

当前数据是否显示
Returns:
Boolean

IsShowInterLabel() → {Boolean}

内部刻度线是否显示
Returns:
Boolean

IsShowOuter() → {Boolean}

外圈刻度是否显示
Returns:
Boolean

IsShowPointer() → {Boolean}

指针是否显示
Returns:
Boolean

IsShowTitle() → {Boolean}

标题是否显示
Returns:
Boolean

SetBgColor(strColor)

设置背景颜色
Parameters:
Name Type Description
strColor String 颜色
Properties:
Name Type Description
BgColor Color ""

SetCurrentValue(nValue)

设置当前数据值
Parameters:
Name Type Description
nValue Number 数据值
Properties:
Name Type Description
ValueData Number 90

SetCurrentValueColor(strColor)

设置当前数据颜色
Parameters:
Name Type Description
strColor String 数据颜色
Properties:
Name Type Description
strCurrentValueColor Color "0xffff0000"

SetCurrentValueSize(nSize)

设置当前数据字体大小
Parameters:
Name Type Description
nSize Number 字体大小
Properties:
Name Type Description
nCurrentValueSize Number 42

SetCurValuePosition(strXaxis, strYaxis)

设置当前数据位置
Parameters:
Name Type Description
strXaxis String 左右位置
strYaxis String 上下位置
Properties:
Name Type Description
ValuePosition Collection [0,40]

SetGaugeRadius(nRadius)

设置整体仪表盘的半径大小
Parameters:
Name Type Description
nRadius Number 仪表盘整体半径
Properties:
Name Type Description
nGaugeRadius Number 70

SetInterLumpSize(nSize)

设置仪表内部的色块的宽度
Parameters:
Name Type Description
nSize Number 宽度
Properties:
Name Type Description
nLumpSize Number 51

SetInterSplNum(nNum)

设置内圈刻度分割线数量
Parameters:
Name Type Description
nNum Number 分割数量
Properties:
Name Type Description
nInterSplNum Number 3

SetOuterDistance(nDistance)

设置外圈刻度的距离
Parameters:
Name Type Description
nDistance Number 间距
Properties:
Name Type Description
OuterDistance Number 53

SetOuterRingColor(strColor)

设置外圈刻度颜色
Parameters:
Name Type Description
strColor String 颜色
Properties:
Name Type Description
strOuterRingColor Color "0xff152447"

SetOuterRingScaleColor(strColor)

最外圈刻度线颜色
Parameters:
Name Type Description
strColor String 颜色
Properties:
Name Type Description
OuterRingScaleColor Color "0xff223e7a"

SetOuterRingTextColor(strColor)

外圈刻度字体颜色
Parameters:
Name Type Description
strColor String 颜色
Properties:
Name Type Description
OuterRingTextColor Color "0xff223e7a"

SetOuterTextSize(nSize)

设置外圈刻度字体大小
Parameters:
Name Type Description
nSize Number 颜色
Properties:
Name Type Description
OuterTextSize Number 24

SetProgressBarColor(strColor1, strColor2)

设置环型进度条颜色
Parameters:
Name Type Description
strColor1 String 颜色1
strColor2 String 颜色2
Properties:
Name Type Description
ProgressBarColor Collection ["0xff48273c","0xfff24854"]

SetRadiusScale(nRadius)

设置刻度色块半径的大小
Parameters:
Name Type Description
nRadius Number 色块半径
Properties:
Name Type Description
nRadiusScale Number 69

SetScaleBgColor(strColor)

设置底部刻度色块背景颜色
Parameters:
Name Type Description
strColor String 色块底部块颜色
Properties:
Name Type Description
strScaleBgColor Color "0xff14223f"

SetScaleMarkLength(nLength)

设置刻度线长度
Parameters:
Name Type Description
nLength Number 刻度线长度
Properties:
Name Type Description
ScaleMarkLength Number 2

SetSecondOuterRingColor(strColor)

设置第二个圈颜色
Parameters:
Name Type Description
strColor String 颜色
Properties:
Name Type Description
SecondOuterRingColor Color "0xff3a6dd6"

SetShowCenterRound(bShow)

设置显示中间圆部分
Parameters:
Name Type Description
bShow Boolean true为显示false为不显示
Properties:
Name Type Description
bShowCenterRound Boolean true

SetShowColorLump(bShow)

设置显示仪表内部色块
Parameters:
Name Type Description
bShow Boolean true为显示false为不显示
Properties:
Name Type Description
bShowColorLump Boolean true

SetShowCurrentValue(bShow)

设置显示当前数据
Parameters:
Name Type Description
bShow Boolean 是否显示当前数据
Properties:
Name Type Description
bShowCurrentValue Boolean true

SetShowInterLabel(bShow)

设置内部刻度线不显示
Parameters:
Name Type Description
bShow Boolean ture为显示false为不显示
Properties:
Name Type Description
bShowInterLabel Boolean false

SetShowOuter(bShow)

设置外圈刻度不显示
Parameters:
Name Type Description
bShow Boolean true为显示false为不显示
Properties:
Name Type Description
bShowOuter Boolean false

SetShowPointer(bShow)

设置显示指针
Parameters:
Name Type Description
bShow Boolean true为显示false为不限显示
Properties:
Name Type Description
bShowPointer Boolean true

SetShowTitle(bShow)

设置标题显示
Parameters:
Name Type Description
bShow Boolean true为显示false为不显示
Properties:
Name Type Description
bShowTitle Boolean true

SetStartAndEndAngle(nStartAngle, nEndAngle)

设置仪表盘的起始结束角度
Parameters:
Name Type Description
nStartAngle Number 起始角度
nEndAngle Number 结束角度
Properties:
Name Type Description
nAngle Collection [210,-30]

SetTitleColor(strColor)

设置标题字体颜色
Parameters:
Name Type Description
strColor String 标题字体颜色
Properties:
Name Type Description
strTitleColor Color "0xff8394c1"

SetTitleCont(strCont)

设置标题内容
Parameters:
Name Type Description
strCont String 标题内容
Properties:
Name Type Description
strTitleCont String "案列一"

SetTitlePosation(nXaxis, nYaxis)

设置标题的位置
Parameters:
Name Type Description
nXaxis Number 正数向右负数向左
nYaxis Number 正数向下负数向上
Properties:
Name Type Description
TitlePosation Collection [0,70]

SetTitleTextSize(nSize)

设置标题字体大小
Parameters:
Name Type Description
nSize Number 字体大小
Properties:
Name Type Description
nTextSize Number 24

SetValueMax(nMax)

设置刻度最大值
Parameters:
Name Type Description
nMax Number 最大值
Properties:
Name Type Description
nValueRange Number 100

SetWidthScale(nWidth)

设置刻度色块的宽度
Parameters:
Name Type Description
nWidth Number 色块宽度
Properties:
Name Type Description
nWidthScale Number 48