constants PatternEnum
The PatternEnum expression indicates the type of brush. Use the NonworkingDaysPattern property to specify the pattern to fill non-working days. Use the Pattern property to specify the brush to fill the bar. The HistogramPattern property defines the pattern to be shown when the bar is included in the histogram. The Color property specifies the pattern's color or an EBN object to define the skin to be applied on the bar. The Color property is applied to all bars of the same type, while the ItemBar(exBarColor) property specifies a different color/skin for a particular bar. You can use the ItemBar(exBarPattern) property to specify a different pattern for a particular bar.

NameValueDescription
exPatternEmpty0 The pattern/bar is not visible.
exPatternSolid1
exPatternDot2
exPatternShadow3
exPatternNDot4
exPatternFDiagonal5
exPatternBDiagonal6
exPatternDiagCross7
exPatternVertical8
exPatternHorizontal9
exPatternCross10
exPatternBrick11
exPatternYard12
exPatternBox32 The Color property specifies the color for the border, while the StartColor and EndColor properties defines the start and ending color to show a linear-horizontal gradient bar. The liner gradient is shown if the StartColor or EndColor is not zero, and have different values. If the StartColor and EndColor are different that zero and have the same the same value the exPatternBox bar shows solid fill with a solid border being defined by the Color property. This option can be combined with any predefined pattern, exPatternGradientVBox, exPatternGradient3Colors, exPatternThickBox or exPatternFrameShadow. This option can not be applied to EBN bars.

The following pictures where generated if the bar's Pattern is exPatternBox

  • StartColor and EndColor properties are not used ( 0 ).
  • StartColor is RGB(0,255,0) [green] and EndColor is RGB(255,255,0) [yellow].
  • StartColor is RGB(0,255,0) [green], EndColor is RGB(255,255,0) [yellow] and Color is RGB(255,0,0) [red].

The following pictures where generated if the bar's Pattern is exPatternBox + exPatternDot

  • StartColor and EndColor properties are not used ( 0 ).
  • StartColor is RGB(0,255,0) [green] and EndColor is RGB(255,255,0) [yellow].
  • StartColor is RGB(0,255,0) [green], EndColor is RGB(255,255,0) [yellow] and Color is RGB(255,0,0) [red].
exPatternGradientVBox64 The Color property specifies the color for the border, while the StartColor and EndColor properties defines the start and ending color to show a linear-vertical gradient bar. The liner gradient is shown if the StartColor or EndColor is not zero, and have different values. If the StartColor and EndColor are different that zero and have the same the same value the exPatternBox bar shows solid fill with a solid border being defined by the Color property. This option must be combined with exPatternBox, and can be combined with any predefined pattern, exPatternGradient3Colors, exPatternThickBox or exPatternFrameShadow. This option can not be applied to EBN bars.

The following pictures where generated if the bar's Pattern is exPatternBox + exPatternGradientVBox

  • StartColor and EndColor properties are not used ( 0 ).
  • StartColor is RGB(0,255,0) [green] and EndColor is RGB(255,255,0) [yellow].
  • StartColor is RGB(0,255,0) [green], EndColor is RGB(255,255,0) [yellow] and Color is RGB(255,0,0) [red].

The following pictures where generated if the bar's Pattern is exPatternBox + exPatternGradientVBox + exPatternDot

  • StartColor and EndColor properties are not used ( 0 ).
  • StartColor is RGB(0,255,0) [green] and EndColor is RGB(255,255,0) [yellow].
  • StartColor is RGB(0,255,0) [green], EndColor is RGB(255,255,0) [yellow] and Color is RGB(255,0,0) [red].
exPatternGradient3Colors128 This option defines the gradient from 3 colors defined by StartColor, Color and EndColor. The gradient starts with StartColor, continue to Color and ends on EndColor color. This option must be combined with exPatternBox and can be combined with any predefined pattern, exPatternGradientVBox, exPatternThickBox or exPatternFrameShadow. This option can not be applied to EBN bars.

The following pictures where generated if the bar's Pattern is exPatternBox + exPatternGradient3Colors

  • StartColor and EndColor properties are not used ( 0 ).
  • StartColor is RGB(0,255,0) [green] and EndColor is RGB(255,255,0) [yellow].
  • StartColor is RGB(0,255,0) [green], EndColor is RGB(255,255,0) [yellow] and Color is RGB(255,0,0) [red].

The following pictures where generated if the bar's Pattern is exPatternBox + exPatternGradientVBox + exPatternGradient3Colors

  • StartColor and EndColor properties are not used ( 0 ).
  • StartColor is RGB(0,255,0) [green] and EndColor is RGB(255,255,0) [yellow].
  • StartColor is RGB(0,255,0) [green], EndColor is RGB(255,255,0) [yellow] and Color is RGB(255,0,0) [red].
exPatternThickBox4096 Use this option to specify a thicker border for bars. This option can be combined with any predefined pattern, exPatternBox, exPatternGradientVBox, exPatternGradient3Colors or exPatternFrameShadow. This option can not be applied to EBN bars too.

The following pictures where generated based on the exPatternThickBox flag:

  • exPatternThickBox flag is not set ( Pattern = exPatternBDiagonal ).
  • exPatternThickBox flag is set ( Pattern = exPatternBDiagonal + exPatternThickBox )
exPatternFrameShadow8192 This option can be used to display a shadow for the bars. This option can be combined with any predefined pattern, exPatternBox, exPatternGradientVBox, exPatternGradient3Colors or exPatternThickBox. This option can be applied to EBN bars too.

The following pictures where generated based on the exPatternThickBox flag:

  • exPatternFrameShadow flag is not set ( Pattern = exPatternShadow ).
  • exPatternFrameShadow flag is set ( Pattern = exPatternShadow + exPatternFrameShadow)
  • exPatternFrameShadow flag is set ( Pattern = exPatternShadow + exPatternFrameShadow + exPatternBox + exPatternGradientVBox )
exBezierCurve512 This option is valid for HistogramPattern property only. The exBezierCurve flag can be combined with any of the predefined patterns to define a filled bezier or empty curve ( if combined with exPatternEmpty (ForeColor) or exPatternBox ( BackColor) ).  For instance, if the HistogramPattern property is exBezierCurve+ exPatternEmpty, the bar's histogram shows a bezier curve not filled.
exRoundCurve1024 This option is valid for HistogramPattern property only. The exRoundCurve flag can be combined with any of the predefined patterns to define a filled round curve or empty curve ( if combined with exPatternEmpty (ForeColor) or exPatternBox ( BackColor) ).  For instance, if the HistogramPattern property is exRoundCurve+ exPatternDiagCross, the bar's histogram shows a round curve filled with exPatternDiagCross pattern.
exRectangularCurve2048 This option is valid for HistogramPattern property only. The exRectangularCurve flag can be combined with any of the predefined patterns to define a filled rectangular curve or empty rectangular curve ( if combined with exPatternEmpty (ForeColor) or exPatternBox ( BackColor) ).  For instance, if the HistogramPattern property is exRectangularCurve + exPatternYard, the bar's histogram shows a rectangular curve filled with exPatternYard pattern.