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

# position(by:axis:span:)

## Declaration

```swift
nonisolated func position(by value: PlottableProjection<Self.DataElement, some Plottable>, axis: Axis? = nil, span: MarkDimension = .automatic) -> some VectorizedChartContent<Self.DataElement>

```

## See Also

### Styling marks

- [foregroundStyle(_:)](charts/vectorizedchartcontent/foregroundstyle(_:).md)
- [opacity(_:)](charts/vectorizedchartcontent/opacity(_:).md)
- [lineStyle(_:)](charts/vectorizedchartcontent/linestyle(_:).md)
