set_legend
Adjust a chart legend's visibility and placement in Power BI. Show or hide it and choose a position like Top, Bottom, Left, Right, or TopCenter for a specific visual.
Instructions
Show/hide a chart legend and set its position (Top|Bottom|Left|Right|TopCenter|... ).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| show | No | ||
| pageName | Yes | ||
| position | No | Top | |
| visualName | Yes | ||
| reportSessionId | Yes |