Skip to content
Image & Canvas barData

$barData — Adds a data segment (value 0 to 100 and style) to the next progress bar or pie chart.

Adds a data segment (value 0 to 100 and style) to the next progress bar or pie chart.

Syntax

$barData[value;style]

Parameters

  • value (Number, required) — Percentage
  • style (String, required) — Color or gradient name

Return Value

  • None.

Usage

$barData[value;style] → result

Example

$sendMessage[$barData[value;style]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.