set_visual_format_selector
Set formatting for specific data scopes on a visual, such as individual series, categories, or totals, by targeting a selector entry without altering the default card.
Instructions
Set a SELECTOR-SCOPED formatting entry on a visual so a card targets a data scope: a single series, a category, the grand total/subtotal, or a wildcard/conditional scope. Unlocks per-series colours, per-category formatting and total/subtotal formatting. bucket=objects|vcObjects. properties = JSON {prop:value} (encoded like set_visual_format). selector = JSON: {"data":[{"scopeId":...},{"roles":["Series"]},{"dataViewWildcard":{"matchingOption":0}}]} | {"metadata":"Table.Field"} | {"total":true}. Updates the matching selector entry in place without clobbering the default card.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | page name or displayName | |
| bucket | Yes | objects | vcObjects | |
| object | Yes | formatting object/card name, e.g. dataPoint | labels | values | |
| strict | No | when true, REJECT (do not apply) if validation finds an unknown card/property or type mismatch; default false (apply + warn) | |
| visual | Yes | visual name (from list_visuals) | |
| selector | Yes | JSON selector spec (data / metadata / total) | |
| properties | Yes | JSON object of prop -> value | |
| reportSessionId | Yes |