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 Integer, _
ByVal columnIndex As Integer, _
ByVal As Color, _
ByVal As Color, _
ByVal As Boolean, _
ByVal As Color, _
ByVal As Boolean, _
ByVal As BarDirection, _
ByVal As Double, _
ByVal As Double, _
ByVal As Boolean _
)
'Usage
Dim rowIndex As Integer
Dim columnIndex As Integer
Dim fillColor As Color
Dim borderColor As Color
Dim showBorder As Boolean
Dim axisColor As Color
Dim isGradient As Boolean
Dim direction As BarDirection
Dim axisLocation As Double
Dim scale As Double
Dim showBarOnly As Boolean
Dim instance As New DataBarDrawingObject(rowIndex, columnIndex, fillColor, borderColor, showBorder, axisColor, isGradient, direction, axisLocation, scale, showBarOnly)
public DataBarDrawingObject(
int ,
int columnIndex,
Color ,
Color ,
bool ,
Color ,
bool ,
BarDirection ,
double ,
double ,
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