Table of Contents

TTMSFNCDataGridDataBarSettings Class

Data-bar configuration used by a grtDataBar rule, painted as a cell overlay.

API unit family: TMSFNCDataGridConditionalFormatting Inherits from: TPersistent

Syntax

TTMSFNCDataGridDataBarSettings = class(TPersistent)

Remarks

Owned by TTMSFNCDataGridFormatRuleItem.DataBar. Raises OnChange whenever a setting changes so the owning rule can invalidate its cells.

Properties

Name Description
Border The stroke used to outline the bar.
Direction The direction the bar grows from its origin. Default is bdLeftToRight.
Fill The fill used to paint the bar for non-negative values.
MaxKind How MaxValue is interpreted when computing the bar's high bound. Default is bbkAuto.
MaxValue The literal number or percentile used for the bar's high bound when MaxKind requires one.
MinKind How MinValue is interpreted when computing the bar's low bound. Default is bbkAuto.
MinValue The literal number or percentile used for the bar's low bound when MinKind requires one.
NegativeFill The fill used to paint the bar for negative values.
ShowBarOnly When True, only the bar is drawn and the cell's normal background/border appearance is suppressed. Default is False.
ShowValue When True, the cell's text value is drawn on top of the bar. Default is True.

Events

Name Description
OnChange Occurs after any published setting changes.

Used by