StyleCode Property: legendPosition

🚧 Work in progress — This documents the redesigned dashboard layout system, which is still under active development and subject to change. It is not compatible with the older v1 dashboard tile system.

legendPosition

Specifies the chart’s legend position.
The legend will only be rendered in tile mode if the tile is tall or wide enough.

Applies to Type Default
chart > legend
linechart > legend
summary
auto, bottom, left, right, top auto
// Example: summary
table Sales = with
  [| as Quantity, as NetAmount |]
  [| 10, 40 |]
  [| 2, 10 |]
  [| 1, 20 |]

show summary "My Summary" { 1..3, 1..3 ; legendPosition: "left" } with
  sum(Sales.Quantity)
  sum(Sales.NetAmount)

User Contributed Notes
0 notes + add a note