<cfRule type="dataBar"> (ใช้งานได้ตั้งแต่ v2.34.0)
| ARange | WideString. Sqref สตริง, e.g.'A1:A10'หรือ'B2:C20' |
| AColor | LongWord. Bar พื้นเติม สี ใน Delphi BGR รูปแบบ (R ใน low byte). สำหรับ blue พื้นเติม ใช้$00FF0000; สำหรับ green$0000FF00 |
| AMinKind / AMaxKind | TXLSCfValueKind. Threshold types: cfvNumber, cfvMinOfRange, cfvMaxOfRange, cfvPercent, cfvPercentile, cfvFormula, cfvAutoMin, cfvAutoMax. Defaults map min→cfvMinOfRange และ max→cfvMaxOfRange, ที่ตรงกัน Excel's ค่าเริ่มต้น "อัตโนมัติ" bar bounds |
| AMinValue / AMaxValue | WideString. Threshold literal (numeric text for cfvNumber/cfvPercent/cfvPercentile, A1-ช่วง or สูตร text for cfvFormula). Ignored for cfvMinOfRange / cfvMaxOfRange / cfvAutoMin / cfvAutoMax |
Sheet.AddCondFormatDataBar('A1:A10', $00FF0000);