set_pbir_visual_format
Set a single formatting property on a PBIR visual (e.g., legend, title, background) with scalar or structured JSON values, merged into the visual's objects tree.
Instructions
Set ONE formatting property on a PBIR visual, merged into its objects tree via the shared encoder. card = the formatting object (e.g. legend, dataLabels, title, background). bucket = objects (data cards) | visualContainerObjects (chrome). value is a SCALAR (true/false, a number, 'text', '#RRGGBB') encoded by property kind, OR (when valueIsJson=true) a pre-shaped structured PBI JSON value written verbatim (a measure-bound expr {"measure":"T[M]"}, a FillRule, an image, gradient stops).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | formatting object/card id, e.g. legend|dataLabels|title|background | |
| page | Yes | page GUID name or displayName | |
| value | Yes | the value: a scalar by default, or structured PBI JSON when valueIsJson=true | |
| bucket | No | objects | visualContainerObjects | objects |
| visual | Yes | visual GUID name | |
| property | Yes | property id, e.g. show|fontSize|labelColor|fontColor | |
| valueIsJson | No | set true to parse value as a JSON node written verbatim (the Wave M nested-object behaviour) | |
| pbirSessionId | Yes |