---
title: "power(exponent:)"
framework: charts
role: symbol
role_heading: Type Method
path: "charts/scaletype/power(exponent:)"
---

# power(exponent:)

A number scale where each range value y can be expressed as a power function of the domain value x, with y = a * pow(x, exponent) + b.

## Declaration

```swift
static func power(exponent: Double) -> ScaleType
```

## Parameters

- `exponent`: The exponent of the power function.
