---
title: log
framework: charts
role: symbol
role_heading: Type Property
path: charts/scaletype/log
---

# log

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

## Declaration

```swift
static var log: ScaleType { get }
```
