XUIInvertedHistogram()

Methods

AddOneData(nIndex, nOneData, strDataName)

添加一项数据
Parameters:
Name Type Description
nIndex Number 内容分组下标
nOneData Number 一项数据
strDataName String 一项数据名称

DeleteAllData()

清除所有数据

DeleteData(strDataName)

清除一项数据
Parameters:
Name Type Description
strDataName String 一项数据名称

GetAllSymbolData() → {Array}

获取所有内容数据数据
Returns:
Array

GetBgColor() → {String}

获取背景色
Returns:
String

GetSymbolData(nIndex) → {Number}

获取内容数据数据
Parameters:
Name Type Description
nIndex Number 内容分组下标
Returns:
Number

GetXColor() → {String}

获取x轴文本颜色
Returns:
String

GetXTextColor() → {String}

获取x轴文本颜色
Returns:
String

GetXWidth() → {Number}

获取x轴宽度
Returns:
Number

GetYColor() → {String}

获取y轴颜色
Returns:
String

GetYTextColor() → {string}

获取y轴文本颜色
Returns:
string

GetYWidth() → {Number}

获取y轴宽度
Returns:
Number

SetBgColor(strBgColor)

背景颜色
Parameters:
Name Type Description
strBgColor String 背景颜色
Properties:
Name Type Description
BgColor Color "0xff0A181C"

SetLegendText(strText)

数据图例文字
Parameters:
Name Type Description
strText String 标题文字
Properties:
Name Type Description
LegendText String "MTBF(h)"

SetLegendTextColor(strColor)

数据图例文字颜色
Parameters:
Name Type Description
strColor String 背景颜色
Properties:
Name Type Description
LegendTextColor Color "0xff0A181C"

SetLegendTextSize(nSize)

数据图例文字大小
Parameters:
Name Type Description
nSize Number 标题文字大小
Properties:
Name Type Description
LegendTextSize Number 20

SetPodetiumColor(strColor)

数据圆柱体颜色
Parameters:
Name Type Description
strColor String 柱体颜色
Properties:
Name Type Description
PodetiumColor Color "0xfff0ad1e"

SetPodetiumWidth(nWidth)

数据圆柱体宽度
Parameters:
Name Type Description
nWidth Number 柱体宽度
Properties:
Name Type Description
PodetiumWidthSize Number 2

SetShowTitle(bVisible)

是否显示标题
Parameters:
Name Type Description
bVisible Boolean 是否显示
Properties:
Name Type Description
ShowTitle Boolean true

SetShowX(bVisible)

是否显示X轴
Parameters:
Name Type Description
bVisible Boolean 是否显示
Properties:
Name Type Description
ShowX Boolean true

SetShowY(bVisible)

是否显示Y轴
Parameters:
Name Type Description
bVisible Boolean 是否显示
Properties:
Name Type Description
ShowY Boolean true

SetSymbolData(nIndex, nData)

修改内容数据
Parameters:
Name Type Description
nIndex Number 内容分组下标
nData Number 内容数据
Properties:
Name Type Description
DataByIndex Collection [0,2053]

SetTitleColor(strColor)

标题颜色
Parameters:
Name Type Description
strColor String 标题颜色
Properties:
Name Type Description
TitleColor Color "0xffffffff"

SetTitleSize(nSize)

标题大小
Parameters:
Name Type Description
nSize Number 标题文字尺寸
Properties:
Name Type Description
TitleSize Number 20

SetTitleText(strText)

标题文字
Parameters:
Name Type Description
strText String 标题文字
Properties:
Name Type Description
TitleText String "倒挂柱状图"

SetXColor(strXColor)

x轴颜色
Parameters:
Name Type Description
strXColor String x轴颜色
Properties:
Name Type Description
XColor Color "0xff0050a5"

SetXTextColor(strColor)

x轴文本颜色
Parameters:
Name Type Description
strColor String x轴文本颜色
Properties:
Name Type Description
XTextColor Color "0xff88999C"

SetXTextSize(nSize)

x轴文本大小
Parameters:
Name Type Description
nSize Number x轴文本大小
Properties:
Name Type Description
XTextSize Number 12

SetXWidth(nXWidth)

x轴宽度
Parameters:
Name Type Description
nXWidth Number x轴宽度
Properties:
Name Type Description
XWidth Number 1

SetYColor(strColor)

y轴颜色
Parameters:
Name Type Description
strColor String y轴颜色
Properties:
Name Type Description
YColor Color "0xff065456"

SetYTextColor(strColor)

y轴文本颜色
Parameters:
Name Type Description
strColor String x轴文本颜色
Properties:
Name Type Description
YTextColor Color "0xff859699"

SetYTextSize(nSize)

Y轴文本大小
Parameters:
Name Type Description
nSize Number Y轴文本大小
Properties:
Name Type Description
YTextSize Number 12

SetYWidth(nYWidth)

y轴宽度
Parameters:
Name Type Description
nYWidth Number x轴宽度
Properties:
Name Type Description
YWidth Number 1