Table of Contents

TDrawingConditionalFormatDataBar Structure

Defines the characteristics of a conditional format data bar which is going to be rendered on the screen or to a file. It is used for exporting xls/x files to drawings or pdf.

Syntax

Namespace: FlexCel.Core

public struct TDrawingConditionalFormatDataBar

Constructors

Name Description
TDrawingConditional​Format​DataBar Creates a new struct and initialized the data.

Properties

Name Description
HasDataBar If false, the cell doesn't have a databar defined.
HideValues If true, the contents of the cell won't be displayed.
Rectangle Rectangle for the databar, relative to the cell rectangle. 0 means the Left or Top coordinates of the cell, and 1 the Right or Bottom coordinates of the cell.
FillColor Color that will be used to fill the databar.
BorderColor Border color for the databar. TUIColor.Empty means no border.
AxisColor Color for the axis where the databar crosses 0. If this is TUIColor.Empty, no axis should be drawn.
IsGradient If true, the fill will be a gradient starting in FillColor and ending in white.
IsRightToLeft If true, the bar goes from Right to left. If this property is true and there is a fill gradient in the bar, then the white side of the gradient must be at the left.