new XUIHorzBar()
Methods
-
SetDownCurValueVisible(bVisible)
-
下侧当前数据显示
Parameters:
Name Type Description bVisible
Boolean Properties:
Name Type Description DownCurValueVisible
Boolean true -
SetDownsideCurValue(nValue)
-
下侧当前数据
Parameters:
Name Type Description nValue
Number 最大值 Properties:
Name Type Description DownsideCurValue
Number 800 -
SetDownsideDataColor(strColor)
-
下侧数据颜色
Parameters:
Name Type Description strColor
String 颜色 Properties:
Name Type Description DownsideDataColor
Color "0xfffff56e" -
SetDownsideImg(strPath)
-
下侧图片
Parameters:
Name Type Description strPath
ImageProp 图片 Properties:
Name Type Description DownsideImg
ImageProp "common_2dChart/XUIHorzBar/images/icon3_budui.png" -
SetDownsideMaxValue(nValue)
-
下侧数据最大值
Parameters:
Name Type Description nValue
Number 最大值 Properties:
Name Type Description DownsideMaxValue
Number 1000 -
SetDownsideMaxValueColor(strColor)
-
下侧数据最大值颜色
Parameters:
Name Type Description strColor
String 颜色 Properties:
Name Type Description DownsideMaxValueColor
Color "0xff8394c1" -
SetDownsideMaxValueSize(nSize)
-
下侧数据最大值文本大小
Parameters:
Name Type Description nSize
Number 最大值 Properties:
Name Type Description DownsideMaxValueSize
Number 18 -
SetDownsideText(strText)
-
下侧文本
Parameters:
Name Type Description strText
String 下侧文本 Properties:
Name Type Description DownsideText
String "示例二" -
SetDownsideTextColor(strColor)
-
下侧文本颜色
Parameters:
Name Type Description strColor
String 文本颜色 Properties:
Name Type Description DownsideTextColor
Color "0xff8394c1" -
SetDownsideTextSize(nSize)
-
下侧文本大小
Parameters:
Name Type Description nSize
Number 文本大小 Properties:
Name Type Description DownsideTextSize
Number 20 -
SetDownsideUnit(strUnit)
-
下侧数据单位
Parameters:
Name Type Description strUnit
String 单位 Properties:
Name Type Description DownsideUnit
String "个" -
SetDownsideUnitColor(strColor)
-
下侧数据单位颜色
Parameters:
Name Type Description strColor
String 颜色 Properties:
Name Type Description DownsideUnitColor
Color "0xff8394c1" -
SetDownsideUnitSize(nSize)
-
下侧数据单位文本大小
Parameters:
Name Type Description nSize
Number 大小 Properties:
Name Type Description DownsideUnitSize
Number 18 -
SetProgressLeftValue(strLeftValue)
-
进度条距左距离
Parameters:
Name Type Description strLeftValue
String 颜色 Properties:
Name Type Description ProgressLeftValue
String "20%" -
SetTickmarksColor(strColor)
-
刻度线颜色
Parameters:
Name Type Description strColor
String 颜色 Properties:
Name Type Description TickmarksColor
Color "0xff4c5376" -
SetUpsideCurValue(nValue)
-
上侧当前数据
Parameters:
Name Type Description nValue
Number 当前数据 Properties:
Name Type Description UpsideCurValue
Number 40 -
SetUpsideCurValueVisible(bVisible)
-
上侧当前数据显示
Parameters:
Name Type Description bVisible
Boolean Properties:
Name Type Description UpsideCurValueVisible
Boolean true -
SetUpsideDataColor(strColor)
-
上侧数据颜色
Parameters:
Name Type Description strColor
String 颜色 Properties:
Name Type Description UpsideDataColor
Color "0xff04060d" -
SetUpsideImg(strPath)
-
上侧图片
Parameters:
Name Type Description strPath
ImageProp 图片 Properties:
Name Type Description UpsideImg
ImageProp "common_2dChart/XUIHorzBar/images/icon2_danwei.png" -
SetUpsideMaxValue(nValue)
-
上侧数据最大值
Parameters:
Name Type Description nValue
Number 最大值 Properties:
Name Type Description UpsideMaxValue
Number 60 -
SetUpsideMaxValueColor(strColor)
-
上侧数据最大值颜色
Parameters:
Name Type Description strColor
String 颜色 Properties:
Name Type Description UpsideMaxValueColor
Color "0xff8394c1" -
SetUpsideMaxValueSize(nSize)
-
上侧数据最大值文本大小
Parameters:
Name Type Description nSize
Number 文本大小 Properties:
Name Type Description UpsideMaxValueSize
Number 18 -
SetUpsideText(strText)
-
上侧文本
Parameters:
Name Type Description strText
String 上侧文本 Properties:
Name Type Description UpsideText
String "示例一" -
SetUpsideTextColor(strColor)
-
上侧文本颜色
Parameters:
Name Type Description strColor
String 文本颜色 Properties:
Name Type Description UpsideTextColor
Color "0xff8394c1" -
SetUpsideTextSize(nSize)
-
上侧文本大小
Parameters:
Name Type Description nSize
Number 文本大小 Properties:
Name Type Description UpsideTextSize
Number 20 -
SetUpsideUnit(strUnit)
-
上侧数据单位
Parameters:
Name Type Description strUnit
String 单位 Properties:
Name Type Description UpsideUnit
String "个" -
SetUpsideUnitColor(strColor)
-
上侧数据单位颜色
Parameters:
Name Type Description strColor
String 颜色 Properties:
Name Type Description UpsideUnitColor
Color "0xff8394c1" -
SetUpsideUnitSize(nSize)
-
上侧数据单位文本大小
Parameters:
Name Type Description nSize
Number 文本大小 Properties:
Name Type Description UpsideUnitSize
Number 18