# PIESPARKLINE

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



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

## Syntax

PIESPARKLINE(*Percentage, [color1, color2, ...]*)

## Arguments

The argument can accept cell value, range or percent value and string value for color.

## Data Types

Returns sparkline.

## Example

```csharp
activeSheet.setFormula(2, 2, '=PIESPARKLINE(B3:B8,"#919F81","#D7913E","CEA722","#B58091","#8974A9","#728BAD")');
```