VisualisationConfig5.conditional\_formatting
Home > @gooddata/sdk-code-schemas > v1 > VisualisationConfig5 > conditional_formatting
v1.VisualisationConfig5.conditional_formatting property
Conditional formatting rules that color cells or rows based on their values.
Signature:
conditional_formatting?: {
version?: string;
enabled?: boolean;
rules?: {
id: string;
target: {
measure: string;
} | {
attribute: string;
};
conditions: {
id: string;
operator: "all" | "equal_to" | "not_equal_to" | "less_than" | "less_than_or_equal_to" | "greater_than" | "greater_than_or_equal_to" | "between" | "not_between" | "contains" | "not_contains" | "starts_with" | "not_starts_with" | "ends_with" | "not_ends_with" | "is_empty" | "is_not_empty";
value?: number | string | {
from: number;
to: number;
};
format: {
text?: string;
fill?: string;
scope: "cell" | "row";
};
}[];
}[];
};