---
title: ScaleType
framework: charts
role: symbol
role_heading: Structure
path: charts/scaletype
---

# ScaleType

The ways you can scale the domain or range of a plot.

## Declaration

```swift
struct ScaleType
```

## Overview

Overview Use this type with the type: parameter of .chartXScale view modifiers to customize scale types.

## Topics

### Type Properties

- [category](charts/scaletype/category.md)
- [date](charts/scaletype/date.md)
- [linear](charts/scaletype/linear.md)
- [log](charts/scaletype/log.md)
- [squareRoot](charts/scaletype/squareroot.md)
- [symmetricLog](charts/scaletype/symmetriclog.md)

### Type Methods

- [power(exponent:)](charts/scaletype/power(exponent:).md)
- [symmetricLog(slopeAtZero:)](charts/scaletype/symmetriclog(slopeatzero:).md)

## See Also

### Scales

- [ScaleRange](charts/scalerange.md)
- [PositionScaleRange](charts/positionscalerange.md)
- [PlotDimensionScaleRange](charts/plotdimensionscalerange.md)
- [ScaleDomain](charts/scaledomain.md)
- [AutomaticScaleDomain](charts/automaticscaledomain.md)
