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

# value(_:_:)

Creates a parameter value with label and value.

## Declaration

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

## Parameters

- `label`: The label.
