---
title: "value(_:_:)"
framework: charts
role: symbol
role_heading: Type Method
path: "charts/plottablevalue/value(_:_:)-13lvv"
---

# value(_:_:)

Creates a parameter value with label and value.

## Declaration

```swift
static func value<S>(_ label: S, _ value: Value) -> PlottableValue<Value> where S : StringProtocol
```

## Parameters

- `label`: The label.
- `value`: The parameter’s value.
