---
title: "symbol(by:)"
framework: charts
role: symbol
role_heading: Instance Method
path: "charts/vectorizedchartcontent/symbol(by:)"
---

# symbol(by:)

Represents data using different kinds of symbols.

## Declaration

```swift
nonisolated func symbol(by value: PlottableProjection<Self.DataElement, some Plottable>) -> some VectorizedChartContent<Self.DataElement>

```

## Parameters

- `value`: The data value. value must be categorial, such as String.

## See Also

### Setting symbol appearance

- [symbolSize(_:)](charts/vectorizedchartcontent/symbolsize(_:)-12tl1.md)
- [symbolSize(_:)](charts/vectorizedchartcontent/symbolsize(_:)-3nwop.md)
