Exposes properties which control the appearance of negative-value data bars.

Hierarchy

Hierarchy

  • Base
    • NegativeBarFormat

Implements

  • IChangeInfoContext

Constructors

Properties

$type: Type
$t: Type
nextHashCode: number

Accessors

  • get barBorderColor(): WorkbookColorInfo
  • Returns a [[WorkbookColorInfo]] which defines the border color applied to data bars with a negative value.

    This property is only applicable when the [[barBorderColorType]] property is set to Color.

    See

    [[barBorderColorType]]

    Returns WorkbookColorInfo

  • set barBorderColor(a): void
  • Parameters

    Returns void

  • get barBorderColorType(): DataBarNegativeBarColorType
  • Returns or sets a [[DataBarNegativeBarColorType]] value which specifies whether the same border color as that which is used for data bars with positive cell values is also used for data bars with negative cell values.

    By default, databars for cells with negative values use the same color as those with positive values, and the [[barBorderColor]] property is not used.

    Use this property to apply the color specified by the [[barBorderColor]] property to the borders of databars with negative cell values.

    See

    • [[barBorderColor]]
    • [[DataBarConditionalFormat.barBorderColor]]

    Returns DataBarNegativeBarColorType

  • set barBorderColorType(a): void
  • Parameters

    Returns void

  • get barColor(): WorkbookColorInfo
  • Returns a [[WorkbookColorInfo]] which defines the fill color applied to data bars with a negative value.

    This property is only applicable when the [[barColorType]] property is set to Color.

    See

    [[barBorderColorType]]

    Returns WorkbookColorInfo

  • set barColor(a): void
  • Parameters

    Returns void

  • get barColorType(): DataBarNegativeBarColorType
  • Returns or sets a [[DataBarNegativeBarColorType]] value which specifies whether the same color as that which is used for the positive data bars is used.

    By default, databars for cells with negative values have a different color than those with positive values.

    Use this property to apply the same color to databars regardless of whether the cell value is positive or negative.

    See

    • [[barColor]]
    • [[DataBarConditionalFormat.barColor]]

    Returns DataBarNegativeBarColorType

  • set barColorType(a): void
  • Parameters

    Returns void

Methods

  • Parameters

    • other: any

    Returns boolean

  • Returns number

  • Returns Base

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns boolean

  • Parameters

    • a: any
    • b: any

    Returns boolean

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns number

  • Parameters

    • a: any
    • b: any

    Returns boolean