Constructs a data bar object with the specified row index, column index, color, scale, and data bar or data bar and data.
Syntax
'Declaration
Public Function New( _
ByVal As System.Integer, _
ByVal columnIndex As System.Integer, _
ByVal As System.Windows.Media.Color, _
ByVal As System.Windows.Media.Color, _
ByVal As System.Boolean, _
ByVal As System.Windows.Media.Color, _
ByVal As System.Boolean, _
ByVal As BarDirection, _
ByVal As System.Double, _
ByVal As System.Double, _
ByVal As System.Boolean _
)
'Usage
Dim rowIndex As System.Integer
Dim columnIndex As System.Integer
Dim fillColor As System.Windows.Media.Color
Dim borderColor As System.Windows.Media.Color
Dim showBorder As System.Boolean
Dim axisColor As System.Windows.Media.Color
Dim isGradient As System.Boolean
Dim direction As BarDirection
Dim axisLocation As System.Double
Dim scale As System.Double
Dim showBarOnly As System.Boolean
Dim instance As New DataBarDrawingObject(rowIndex, columnIndex, fillColor, borderColor, showBorder, axisColor, isGradient, direction, axisLocation, scale, showBarOnly)
public DataBarDrawingObject(
System.int ,
System.int columnIndex,
System.Windows.Media.Color ,
System.Windows.Media.Color ,
System.bool ,
System.Windows.Media.Color ,
System.bool ,
BarDirection ,
System.double ,
System.double ,
System.bool
)
Parameters
- rowIndex
- The row index.
- columnIndex
- The column index.
- fillColor
- The fill color of the data bar object.
- borderColor
- The border color of the data bar object.
- showBorder
- Whether to show the border of the data bar object.
- axisColor
- The axis color of the data bar object.
- isGradient
- The fill type of the data bar object.
- direction
- The direction the data bar object
- axisLocation
- The axis location the data bar object
- scale
- The scale of the data bar object.
- showBarOnly
true
Show bar only; otherwise, false
.
See Also