Skip to main content

types.TableTextSize#

Preset text size for a table cell's textSize field.

SYNTAX#

type TableTextSize = 'tiny' | 'small' | 'normal' | 'large'

ARGUMENTS#

  • tiny ('tiny') — Smallest preset.
  • small ('small') — Smaller than the default.
  • normal ('normal') — Default size.
  • large ('large') — Largest preset.

RETURNS#

Type definition.

REMARKS#

Pixel values are renderer-determined presets — there is no numeric font-size input anywhere in the scripting surface. For sized text on the chart, route it through a screen-space table cell.

EXAMPLE#

{ row: 0, col: 0, text: 'BTC dominance', textSize: 'large' }

SEE ALSO#

types.RuntimeTableCell, types.RuntimeTable, indicator.entity.label