---
title: "chartForegroundStyleScale(type:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/chartforegroundstylescale(type:)"
---

# chartForegroundStyleScale(type:)

Configures the foreground style scale for charts.

## Declaration

```swift
nonisolated func chartForegroundStyleScale(type: ScaleType? = nil) -> some View

```

## Parameters

- `type`: The scale type.

## See Also

### Styles

- [chartBackground(alignment:content:)](swiftui/view/chartbackground(alignment:content:).md)
- [chartForegroundStyleScale(_:)](swiftui/view/chartforegroundstylescale(_:).md)
- [chartForegroundStyleScale(domain:range:type:)](swiftui/view/chartforegroundstylescale(domain:range:type:).md)
- [chartForegroundStyleScale(domain:type:)](swiftui/view/chartforegroundstylescale(domain:type:).md)
- [chartForegroundStyleScale(domain:mapping:)](swiftui/view/chartforegroundstylescale(domain:mapping:).md)
- [chartForegroundStyleScale(mapping:)](swiftui/view/chartforegroundstylescale(mapping:).md)
- [chartForegroundStyleScale(range:type:)](swiftui/view/chartforegroundstylescale(range:type:).md)
- [chartPlotStyle(content:)](swiftui/view/chartplotstyle(content:).md)
