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

# value(_:_:)

Creates a parameter value with label key and value.

## Declaration

```swift
static func value(_ labelKey: LocalizedStringKey, _ value: Value) -> PlottableValue<Value>
```

## Parameters

- `labelKey`: The localized string key for label.
- `value`: The parameter’s value.
