StyleCode Property: textItalic

🚧 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.

textItalic

If set to true, will render the text with an italic emphasis.

Applies to Type Default
frame > entry > value
frame > header
frame > column > header
frame > column > value
label
scalar
scalar > entry > value
summary > entry
summary > entry > value
table > column > append
table > column > header
table > column > prepend
table > column > value
Boolean false
// Example: label
show label "My Label" { 1..2, 1..2 ; textItalic: True }

// Example: scalar
myValue = 123

show scalar "My Scalar" { 1..2, 1..2 ; textItalic: True } with
  myValue

// Example: scalar > entry > value
myValue = 123

show scalar "My Scalar" { 1..2, 1..2 } with
  myValue { value { textItalic: True } }

// Example: summary > entry
table Sales = with
  [| as Quantity, as NetAmount |]
  [| 10, 40 |]
  [| 2, 10 |]
  [| 1, 20 |]

show summary "My Summary" { 1..3, 1..3 } with
  sum(Sales.Quantity) { textItalic: True }
  sum(Sales.NetAmount)

// Example: summary > entry > value
table Sales = with
  [| as Quantity, as NetAmount |]
  [| 10, 40 |]
  [| 2, 10 |]
  [| 1, 20 |]

show summary "My Summary" { 1..3, 1..3 } with
  sum(Sales.Quantity) { value { textItalic: True } }
  sum(Sales.NetAmount)

// Example: table > column > append
table Orders = with
  [| as Date, as Quantity |]
  [| date(2023,02,21), 150 |]
  [| date(2023,02,22), 250 |]

show table "My Table" { 1..4, 1..4 } with
  Orders.Date { append { textItalic: True } }
  Orders.Quantity

// Example: table > column > header
table Orders = with
  [| as Date, as Quantity |]
  [| date(2023,02,21), 150 |]
  [| date(2023,02,22), 250 |]

show table "My Table" { 1..4, 1..4 } with
  Orders.Date { header { textItalic: True } }
  Orders.Quantity

// Example: table > column > prepend
table Orders = with
  [| as Date, as Quantity |]
  [| date(2023,02,21), 150 |]
  [| date(2023,02,22), 250 |]

show table "My Table" { 1..4, 1..4 } with
  Orders.Date { prepend { textItalic: True } }
  Orders.Quantity

// Example: table > column > value
table Orders = with
  [| as Date, as Quantity |]
  [| date(2023,02,21), 150 |]
  [| date(2023,02,22), 250 |]

show table "My Table" { 1..4, 1..4 } with
  Orders.Date { value { textItalic: True } }
  Orders.Quantity

User Contributed Notes
0 notes + add a note