XUILineDouble()

new XUILineDouble()

Methods

SetAlignWithLabel(choice)

设置刻度线是否与标签对齐
Parameters:
Name Type Description
choice Boolean 是否对齐
Properties:
Name Type Description
AlignWithLabel Combo [true,false]

SetaxisLineStyleColor(ArrayColor)

设置x轴轴线颜色
Parameters:
Name Type Description
ArrayColor Array 轴线颜色

SetAxisPointerStyle(strStyle)

改变坐标指示器类型
Parameters:
Name Type Description
strStyle String 指示器类型
Properties:
Name Type Description
AxisPointerStyle Combo ["cross","line","shadow","none"]

SetAxisTickColor(TickColor)

设置刻度线颜色
Parameters:
Name Type Description
TickColor String 刻度线颜色
Properties:
Name Type Description
AxisTickColor Color "0xff000000"

SetAxisTickInside(screen)

设置刻度线是否朝内
Parameters:
Name Type Description
screen Boolean 是否朝内
Properties:
Name Type Description
AxisTickInside Combo [true,false]

SetAxisTickStyle(TickStyle)

设置刻度线样式
Parameters:
Name Type Description
TickStyle String 刻度线样式
Properties:
Name Type Description
AxisTickStyle Combo ["solid","dashed","dotted"]

SetAxisTickWidth(nWidth)

设置刻度线宽度
Parameters:
Name Type Description
nWidth Number 刻度宽度
Properties:
Name Type Description
AxisTickWidth Number 1

SetBarDataObj(nName, nData)

增加一条示例数据
Parameters:
Name Type Description
nName String 示例数据名字
nData Array 示例数据内容

SetBarDelete()

清除所有数据

SetBarxData(arrData)

新增X轴数据
Parameters:
Name Type Description
arrData Array 数据数组

SetData(strName, nData)

通过名字修改数据
Parameters:
Name Type Description
strName String 线名
nData Array 要修改的数据

SetDataNameByOldName(strOldName, strNewName)

设置柱状图第图例名称
Parameters:
Name Type Description
strOldName String 旧的图例名称
strNewName String 新的图例名称

SetLegendName(LegendName)

设置折线图图例名称
Parameters:
Name Type Description
LegendName Array 折线图第图例名称

SetserieslineStyle(lineStyleColor)

设置折线图折线颜色
Parameters:
Name Type Description
lineStyleColor Array 折线图折线颜色

SetToolTipBgColor(TipBgColor)

改变提示框背景颜色
Parameters:
Name Type Description
TipBgColor String 背景颜色
Properties:
Name Type Description
ToolTipBgColor Color "0xFF6F6F6F"

SetToolTipBorderColor(BorderColor)

改变提示框边框颜色
Parameters:
Name Type Description
BorderColor String 边框颜色
Properties:
Name Type Description
ToolTipBorderColor Color "0xFF333333"

SetToolTipBorderWidth(BorderWidth)

改变提示框边框大小
Parameters:
Name Type Description
BorderWidth Number 边框大小
Properties:
Name Type Description
ToolTipBorderWidth Number 1

SetToolTipColor(TipColor)

改变提示框文字颜色
Parameters:
Name Type Description
TipColor String 文字颜色
Properties:
Name Type Description
ToolTipColor Color "0xFFFFFFFF"

SetToolTipFontSize(FontSize)

改变提示框文字大小
Parameters:
Name Type Description
FontSize Number 文字大小
Properties:
Name Type Description
ToolTipFontSize Number 14

SetxAxisData(arrData, arrLastData)

设置X轴类目数据
Parameters:
Name Type Description
arrData Array 类目数据
arrLastData Array 类目数据