[]
        
(Showing Draft Content)

PROGRESSSPARKLINE

This function returns a data set used for representing a progress sparkline.

Syntax

PROGRESSSPARKLINE(value, mode, [barColor, bandColor, showValue])

Arguments

Argument

Description

value

A number or reference that represents the progress ratio. Blank values are treated as 0. Values less than 0 are displayed as 0, and values greater than 1 are displayed as 1.

mode

A number that specifies the sparkline type. The available values are: 0 (bar), 1 (striped), 2 (segmented), 3 (radial), 4 (arc), 5 (hatched), 6 (bubble), 7 (dotted), 8 (checkbox), 9 (radial gap), 10 (radial thick), 11 (radial ticks), 12 (radial dash), 13 (radial dots), and 14 (radial knob).

barColor

(Optional) A string that represents the color of the completed portion. It supports CSS colors and theme colors. The default value is "Accent 1".

bandColor

(Optional) A string that represents the color of the unfinished portion. It supports CSS colors and theme colors. The default value is "Accent 1 80".

showValue

(Optional) A Boolean value that indicates whether to display the progress percentage. The default value is true.

Data Types

Returns sparkline.

Examples

=PROGRESSSPARKLINE(0.37,1,"Accent 1","Accent 1 80",TRUE)

Note: For an overview of Progress sparklines, including supported modes, supported options and a usage scenario, see Progress Sparkline.