bar()

Draws a band whose width is proportional to (x - min) and equal to width characters when x = max. width defaults to 80

Arguments & returns

2 overloads

bar(x, min, max)

Scalar
Overload link xminmax Returns
#01 DOUBLEDOUBLEDOUBLE VARCHAR

bar(x, min, max, width)

Scalar
Overload link xminmaxwidth Returns
#02 DOUBLEDOUBLEDOUBLEDOUBLE VARCHAR

Example

bar example
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Engine example · Run to view results.