> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSStatisticsDataSet

## Constructors

### NSStatisticsDataSet()

```crmscript theme={null}
NSStatisticsDataSet
```

Initializes a new instance of the NSStatisticsDataSet class.

## Methods

## GetDescription()

```crmscript theme={null}
String GetDescription()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Tooltip for data value.

**Example:**

```crmscript theme={null}
NSStatisticsDataSet thing;
String description = thing.GetDescription();
```

## GetLabel()

```crmscript theme={null}
String GetLabel()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The label for the data set.

**Example:**

```crmscript theme={null}
NSStatisticsDataSet thing;
String label = thing.GetLabel();
```

## GetValues()

```crmscript theme={null}
NSStatisticsDataValue[] GetValues()
```

**Returns:** [CRMScript.NetServer.NSStatisticsDataValue](CRMScript.NetServer.NSStatisticsDataValue)\[] - Values in this set.

**Example:**

```crmscript theme={null}
NSStatisticsDataSet thing;
NSStatisticsDataValue[] values = thing.GetValues();
```

## SetDescription(String)

```crmscript theme={null}
Void SetDescription(String description)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSStatisticsDataSet thing;
String description;
thing.SetDescription(description);
```

## SetLabel(String)

```crmscript theme={null}
Void SetLabel(String label)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSStatisticsDataSet thing;
String label;
thing.SetLabel(label);
```

## SetValues(NSStatisticsDataValue\[])

```crmscript theme={null}
Void SetValues(NSStatisticsDataValue[] values)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSStatisticsDataSet thing;
NSStatisticsDataValue[] values;
thing.SetValues(values);
```


## Related topics

- [NSCustomerServiceAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSCustomerServiceAgent.md)
- [SuperOffice.WebApi.Data.StatisticsDataSet](/en/api/reference/webapi/SuperOffice.WebApi.Data.StatisticsDataSet.md)
- [Get Statistics](/en/api/reference/restful/agent/customerservice_agent/get-statistics.md)
- [NSStatisticsDataValue](/en/automation/crmscript/reference/CRMScript.NetServer.NSStatisticsDataValue.md)
- [NSRecipientStatistics](/en/automation/crmscript/reference/CRMScript.NetServer.NSRecipientStatistics.md)
- [SuperOffice.WebApi.Data.StatisticsDataValue](/en/api/reference/webapi/SuperOffice.WebApi.Data.StatisticsDataValue.md)
