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

# value(_:_:)

Creates a parameter value with label and value.

## Declaration

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

## Parameters

- `label`: The label.
