<cfRule type="dataBar"> element. (Available since v2.34.0.)
| ARange | WideString. Sqref string, e.g. 'A1:A10' or 'B2:C20'. |
| AColor | LongWord. Bar fill colour in Delphi BGR format (R in the low byte). For a blue fill use $00FF0000; for green $0000FF00. |
| AMinKind / AMaxKind | TXLSCfValueKind. Threshold types: cfvNumber, cfvMinOfRange, cfvMaxOfRange, cfvPercent, cfvPercentile, cfvFormula, cfvAutoMin, cfvAutoMax. Defaults map min→cfvMinOfRange and max→cfvMaxOfRange, matching Excel's default "automatic" bar bounds. |
| AMinValue / AMaxValue | WideString. Threshold literal (numeric text for cfvNumber/cfvPercent/cfvPercentile, A1-range or formula text for cfvFormula). Ignored for cfvMinOfRange / cfvMaxOfRange / cfvAutoMin / cfvAutoMax. |
Sheet.AddCondFormatDataBar('A1:A10', $00FF0000);