StyleCode Property: backgroundColor

backgroundColor

Specifies the background color of a tile.

Applies toTypeDefault
barchart
form
histogram
label
linechart
markdown
piechart
plot
assert
logo
scalar
scatter
summary
table
upload
error
color,transparenttransparent

Examples

// Example: barchart
{ backgroundColor: transparent }
show barchart "My Chart" a1b6 with
  sum(Quantity)
  group by Category

// Example: form
{ backgroundColor: transparent }
show form "My Form" a1b1 with
  Form.SKU
  Form.Maximum

// Example: histogram
{ backgroundColor: transparent }
show histogram "My Histogram" a1 tomato with
  PO.Delay

// Example: label
{ backgroundColor: transparent }
show label "My Label" a1b1 tomato

// Example: linechart
{ backgroundColor: transparent }
show linechart "My Chart" a1b6 with
  Day.StockOnHand
  Day.StockOnOrder

// Example: markdown
{ backgroundColor: transparent }
show markdown "My Markdown" a1b3 tomato with """
Some markdown
"""

// Example: piechart
{ backgroundColor: transparent }
show piechart "My Chart" a1b6 with
  sum(Quantity)
  group by Category

// Example: plot
{ backgroundColor: transparent }
show plot "My Plot" a1d4 with
  Sales.Quantity
  Sales.Discount

// Example: assert
{ backgroundColor: transparent }
UNKNOWN TILE assert

// Example: logo
{ backgroundColor: transparent }
UNKNOWN TILE logo

// Example: scalar
{ backgroundColor: transparent }
show scalar "My Scalar" a1 tomato with
  sum(Quantity)

// Example: scatter
{ backgroundColor: transparent }
show scatter "My Plot" a1d4 with
  Sales.Quantity
  Sales.Discount

// Example: summary
{ backgroundColor: transparent }
show summary "My Scalar" a1b3 tomato with
  sum(Quantity)
  sum(NetAmount)

// Example: table
{ backgroundColor: transparent }
show table "My Table" a1c4 tomato with
  Orders.Date
  Orders.Quantity

// Example: upload
{ backgroundColor: transparent }
show upload "My Upload" a1b1 editable:"example"

Details

Not drawn when the tile is zoomed in.