<cfRule type="dataBar">. (Disponível desde v2.34.0.)
| ARange | WideString. Sqref String, e.g. 'A1:A10' ou 'B2:C20' |
| AColor | LongWord. Cor de preenchimento da barra no formato BGR do Delphi (R no byte menos significativo). Para um preenchimento azul use $00FF0000; para verde $0000FF00 |
| AMinKind / AMaxKind | TXLSCfValueKind. Tipos de limite: cfvNumber, cfvMinOfRange, cfvMaxOfRange, cfvPercent, cfvPercentile, cfvFormula, cfvAutoMin, cfvAutoMax. Os padrões mapeiam min → cfvMinOfRange e max → cfvMaxOfRange, correspondendo aos limites automáticos padrão da barra do Excel |
| AMinValue / AMaxValue | WideString. Threshold literal (numeric texto para cfvNumber/cfvPercent/cfvPercentile, A1-intervalo ou fórmula texto para cfvFormula). Ignored para cfvMinOfRange / cfvMaxOfRange / cfvAutoMin / cfvAutoMax |
Sheet.AddCondFormatDataBar('A1:A10', $00FF0000);