StyleCode Property: textColor

textColor

Specifies the color of text for the text color pipeline.

Applies toTypeDefault
barchart > series > value
form
label
markdown
menu > entry
scalar
scalar > entry > value
slicepicker > entry
summary > entry > value
table > column > value
tabs > tab
tabs > tab > badge
color, defaultdefault

Examples

// Example: barchart > series > value
show barchart "My BarChart" a1b6 with
  sum(Quantity) { value { textColor: tomato } }
  group by Category

// Example: form
{ textColor: tomato }
show form "My Form" a1b1 with
  Form.SKU
  Form.Maximum

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

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

// Example: menu > entry
show menu "" a1b3 tomato with
  "Section" { textColor: tomato }

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

// Example: scalar > entry > value
show scalar "My Scalar" a1 tomato with
  sum(Quantity) { value { textColor: tomato } }

// Example: slicepicker > entry
show slicepicker "Pick a slice" a1b3 with
  same(Items.Id) { textColor: tomato }

// Example: summary > entry > value
show summary "My Summary" a1b3 tomato with
  sum(Quantity) { value { textColor: tomato } }
  sum(NetAmount)

// Example: table > column > value
show table "My Table" a1c4 tomato with
  Orders.Date { value { textColor: tomato } }
  Orders.Quantity

// Example: tabs > tab
show tabs "My Tabs" a1b3 with
  "tab1" { textColor: tomato }
  "tab2"

// Example: tabs > tab > badge
show tabs "My Tabs" a1b3 with
  "tab1" { badge { textColor: tomato } }
  "tab2"