startIndex
TypeScriptget startIndex(): numberSwift declarationvar startIndex: Int { get }The position of the first element in a nonempty collection. If the collection is empty, `startIndex` is equal to `endIndex`.
Construct and customize charts on every Apple platform.
179 types
276 callable entries
374 skipped
42% entry coverage
Generated from iOS SDK 27.1. Availability is shown on each declaration; permissions and entitlements still apply.
AnnotationContext
struct · iOS 16.0+
AnnotationOverflowResolution
struct · iOS 17.0+
AnnotationOverflowResolution.Boundary
struct · iOS 17.0+
AnnotationOverflowResolution.Strategy
struct · iOS 17.0+
AnnotationPosition
struct · iOS 16.0+
AnyAxisContent
struct · iOS 16.0+
AnyAxisMark
struct · iOS 16.0+
AnyChartContent
struct · iOS 16.0+
AnyChartContent.Body
typealias · iOS 16.0+
AnyChartSymbolShape
struct · iOS 16.0+
AnyChartSymbolShape.AnimatableData
typealias · iOS 16.0+
AnyChartSymbolShape.Body
typealias · iOS 16.0+
AnyGradient.VisualValue
typealias · iOS 16.0+
AreaMark
struct · iOS 16.0+
AreaMark.Body
typealias · iOS 16.0+
AreaPlot
struct · iOS 18.0+
AreaPlot.Body
typealias · iOS 18.0+
AreaPlot.DataElement
typealias · iOS 18.0+
Array.VisualValue
typealias · iOS 16.0+
ArraySlice.VisualValue
typealias · iOS 16.0+
AutomaticScaleDomain
struct · iOS 16.0+
AxisContent
protocol · iOS 16.0+
AxisContentBuilder
struct · iOS 16.0+
AxisGridLine
struct · iOS 16.0+
AxisMark
protocol · iOS 16.0+
AxisMarkBuilder
struct · iOS 16.0+
AxisMarkPosition
struct · iOS 16.0+
AxisMarkPreset
struct · iOS 16.0+
AxisMarks
struct · iOS 16.0+
AxisMarkValues
struct · iOS 16.0+
AxisTick
struct · iOS 16.0+
AxisTick.Length
struct · iOS 16.0+
AxisValue
struct · iOS 16.0+
AxisValueLabel
struct · iOS 16.0+
AxisValueLabelCollisionResolution
struct · iOS 16.0+
AxisValueLabelOrientation
struct · iOS 16.0+
BarMark
struct · iOS 16.0+
BarMark.Body
typealias · iOS 16.0+
BarPlot
struct · iOS 18.0+
BarPlot.Body
typealias · iOS 18.0+
BarPlot.DataElement
typealias · iOS 18.0+
BasicChart3DSurfaceStyle
struct · iOS 26.0+
BasicChart3DSymbolShape
struct · iOS 26.0+
BasicChartSymbolShape
struct · iOS 16.0+
BasicChartSymbolShape.AnimatableData
typealias · iOS 16.0+
BasicChartSymbolShape.Body
typealias · iOS 16.0+
BuilderConditional
struct · iOS 16.0+
BuilderConditional.Body
typealias · iOS 16.0+
Chart
struct · iOS 16.0+
Chart.Body
typealias · iOS 16.0+
Chart3D
struct · iOS 26.0+
Chart3D.Body
typealias · iOS 26.0+
Chart3DCameraProjection
struct · iOS 26.0+
Chart3DContent
protocol · iOS 26.0+
Chart3DContentBuilder
struct · iOS 26.0+
Chart3DPose
struct · iOS 26.0+
Chart3DSurfaceStyle
protocol · iOS 26.0+
Chart3DSymbolShape
protocol · iOS 26.0+
ChartAxisContent
struct · iOS 17.0+
ChartAxisContent.Body
typealias · iOS 17.0+
ChartBinRange
struct · iOS 16.0+
ChartContent
protocol · iOS 16.0+
ChartContentBuilder
struct · iOS 16.0+
ChartPlotContent
struct · iOS 16.0+
ChartPlotContent.Body
typealias · iOS 16.0+
ChartProxy
struct · iOS 16.0+
ChartScrollTargetBehavior
protocol · iOS 17.0+
ChartScrollTargetBehaviorContext
struct · iOS 17.0+
ChartSymbolShape
protocol · iOS 16.0+
ClosedRange.VisualValue
typealias · iOS 16.0+
Date.PrimitivePlottable
typealias · iOS 16.0+
DateBins
struct · iOS 16.0+
DateBins.Element
typealias · iOS 16.0+
DateBins.Index
typealias · iOS 16.0+
DateBins.Indices
typealias · iOS 16.0+
DateBins.Iterator
typealias · iOS 16.0+
DateBins.SubSequence
typealias · iOS 16.0+
Decimal.PrimitivePlottable
typealias · iOS 16.0+
Double.PrimitivePlottable
typealias · iOS 16.0+
Float.PrimitivePlottable
typealias · iOS 16.0+
Float16.PrimitivePlottable
typealias · iOS 16.0+
ForEach.Body
typealias · iOS 16.0+
FunctionAreaPlotContent
struct · iOS 18.0+
FunctionAreaPlotContent.Body
typealias · iOS 18.0+
FunctionLinePlotContent
struct · iOS 18.0+
FunctionLinePlotContent.Body
typealias · iOS 18.0+
Gradient.VisualValue
typealias · iOS 16.0+
Int.PrimitivePlottable
typealias · iOS 16.0+
Int16.PrimitivePlottable
typealias · iOS 16.0+
Int32.PrimitivePlottable
typealias · iOS 16.0+
Int64.PrimitivePlottable
typealias · iOS 16.0+
Int8.PrimitivePlottable
typealias · iOS 16.0+
InterpolationMethod
struct · iOS 16.0+
LineMark
struct · iOS 16.0+
LineMark.Body
typealias · iOS 16.0+
LinePlot
struct · iOS 18.0+
LinePlot.Body
typealias · iOS 18.0+
LinePlot.DataElement
typealias · iOS 18.0+
MajorValueAlignment
struct · iOS 17.0+
MarkDimension
struct · iOS 16.0+
MarkDimension.FloatLiteralType
typealias · iOS 16.0+
MarkDimension.IntegerLiteralType
typealias · iOS 16.0+
MarkDimensions
struct · iOS 18.0+
MarkDimensions.FloatLiteralType
typealias · iOS 18.0+
MarkDimensions.IntegerLiteralType
typealias · iOS 18.0+
MarkStackingMethod
struct · iOS 16.0+
Never.PrimitivePlottable
typealias · iOS 16.0+
NumberBins
struct · iOS 16.0+
NumberBins.Element
typealias · iOS 16.0+
NumberBins.Index
typealias · iOS 16.0+
NumberBins.Indices
typealias · iOS 16.0+
NumberBins.Iterator
typealias · iOS 16.0+
NumberBins.SubSequence
typealias · iOS 16.0+
Optional.Body
typealias · iOS 16.0+
Plot
struct · iOS 16.0+
Plot.Body
typealias · iOS 16.0+
PlotDimensionScaleRange
struct · iOS 16.0+
PlotDimensionScaleRange.VisualValue
typealias · iOS 16.0+
Plottable
protocol · iOS 16.0+
PlottableProjection
struct · iOS 18.0+
PlottableValue
struct · iOS 16.0+
PointMark
struct · iOS 16.0+
PointMark.Body
typealias · iOS 16.0+
PointPlot
struct · iOS 18.0+
PointPlot.Body
typealias · iOS 18.0+
PointPlot.DataElement
typealias · iOS 18.0+
PositionScaleRange
protocol · iOS 16.0+
PrimitivePlottableProtocol
protocol · iOS 16.0+
RectangleMark
struct · iOS 16.0+
RectangleMark.Body
typealias · iOS 16.0+
RectanglePlot
struct · iOS 18.0+
RectanglePlot.Body
typealias · iOS 18.0+
RectanglePlot.DataElement
typealias · iOS 18.0+
RuleMark
struct · iOS 16.0+
RuleMark.Body
typealias · iOS 16.0+
RulePlot
struct · iOS 18.0+
RulePlot.Body
typealias · iOS 18.0+
RulePlot.DataElement
typealias · iOS 18.0+
ScaleDomain
protocol · iOS 16.0+
ScaleRange
protocol · iOS 16.0+
ScaleType
struct · iOS 16.0+
SectorMark
struct · iOS 17.0+
SectorMark.Body
typealias · iOS 17.0+
SectorPlot
struct · iOS 18.0+
SectorPlot.Body
typealias · iOS 18.0+
SectorPlot.DataElement
typealias · iOS 18.0+
String.PrimitivePlottable
typealias · iOS 16.0+
SurfacePlot
struct · iOS 26.0+
SurfacePlot.Body
typealias · iOS 26.0+
TupleContent.Body
typealias · iOS 27.0+
UInt.PrimitivePlottable
typealias · iOS 16.0+
UInt16.PrimitivePlottable
typealias · iOS 16.0+
UInt32.PrimitivePlottable
typealias · iOS 16.0+
UInt64.PrimitivePlottable
typealias · iOS 16.0+
UInt8.PrimitivePlottable
typealias · iOS 16.0+
ValueAlignedChartScrollTargetBehavior
struct · iOS 17.0+
ValueAlignedLimitBehavior
struct · iOS 17.0+
VectorizedAreaPlotContent
struct · iOS 18.0+
VectorizedAreaPlotContent.Body
typealias · iOS 18.0+
VectorizedAreaPlotContent.DataElement
typealias · iOS 18.0+
VectorizedBarPlotContent
struct · iOS 18.0+
VectorizedBarPlotContent.Body
typealias · iOS 18.0+
VectorizedBarPlotContent.DataElement
typealias · iOS 18.0+
VectorizedChartContent
protocol · iOS 18.0+
VectorizedLinePlotContent
struct · iOS 18.0+
VectorizedLinePlotContent.Body
typealias · iOS 18.0+
VectorizedLinePlotContent.DataElement
typealias · iOS 18.0+
VectorizedPointPlotContent
struct · iOS 18.0+
VectorizedPointPlotContent.Body
typealias · iOS 18.0+
VectorizedPointPlotContent.DataElement
typealias · iOS 18.0+
VectorizedRectanglePlotContent
struct · iOS 18.0+
VectorizedRectanglePlotContent.Body
typealias · iOS 18.0+
VectorizedRectanglePlotContent.DataElement
typealias · iOS 18.0+
VectorizedRulePlotContent
struct · iOS 18.0+
VectorizedRulePlotContent.Body
typealias · iOS 18.0+
VectorizedRulePlotContent.DataElement
typealias · iOS 18.0+
VectorizedSectorPlotContent
struct · iOS 18.0+
VectorizedSectorPlotContent.Body
typealias · iOS 18.0+
VectorizedSectorPlotContent.DataElement
typealias · iOS 18.0+
get startIndex(): numberSwift declarationvar startIndex: Int { get }The position of the first element in a nonempty collection. If the collection is empty, `startIndex` is equal to `endIndex`.
static initThresholds(thresholds: Array<number>): NumberBins<number>Swift declarationnonisolated init(thresholds: [Value])Creates N-1 bins with the given N `thresholds`. - Parameter thresholds: The threshold values that surround the bins. - Returns: The bins.
get thresholds(): Array<number>Swift declarationvar thresholds: [Value] { get }Find the bin thresholds. - Returns: The bin thresholds that surround the bins.
static initDataDesiredCountMinimumStride(data: Array<number>, desiredCount?: (number) | null, minimumStride?: number): NumberBins<number>Swift declarationnonisolated init(data: [Value], desiredCount: Int? = nil, minimumStride: Value = 0) where Value : BinaryFloatingPointAutomatically determine the bins from data. - Parameter data: The given data values. - Parameter desiredCount: The desired number of bins for the given data. If `nil`, infer the number of bins automatically from data using [Scott's normal reference rule](https://doi.org/10.1093/biomet/66.3.605) capped at 200. - Parameter minimumStride: The minimum allowed bin size. - Returns: The inferred bins.
static initDataDesiredCountMinimumStride34675(data: Array<number>, desiredCount?: (number) | null, minimumStride?: number): NumberBins<number>Swift declarationnonisolated init(data: [Value], desiredCount: Int? = nil, minimumStride: Value = 0) where Value : BinaryIntegerAutomatically determine the bins from data. - Parameter data: The given data values. - Parameter desiredCount: The desired number of bins for the given data. If `nil`, infer the number of bins automatically from data using [Scott's normal reference rule](https://doi.org/10.1093/biomet/66.3.605) capped at 200. - Parameter minimumStride: The minimum allowed bin size. - Returns: The inferred bins.
static initSizeRange(size: number, range: SDKHandle): NumberBins<number>Swift declarationnonisolated init(size: Value, range: ClosedRange<Value>) where Value : BinaryFloatingPointCreates uniform bins covering the given range. - Parameter size: The size of the bins. - Parameter range: The range of the data the bins cover. - Returns: The bins.
static initSizeRange71288(size: number, range: SDKHandle): NumberBins<number>Swift declarationnonisolated init(size: Value, range: ClosedRange<Value>) where Value : BinaryIntegerCreates uniform bins covering the given range. - Parameter size: The size of the bins. - Parameter range: The range of the data the bins cover. - Returns: The bins.
indexFor(value: number): numberSwift declarationfunc index(for value: Value) -> IntReturns the bin index for the given value. - Parameter value: The number value to get the index for. - Returns: The bin index.
indexAfter(i: number): numberSwift declarationfunc index(after i: Int) -> IntReturns the position immediately after the given index. The successor of an index must be well defined. For an index `i` into a collection `c`, calling `c.index(after: i)` returns the same index every time. - Parameter i: A valid index of the collection. `i` must be less than `endIndex`. - Returns: The index value immediately after `i`.
static initRangeDesiredCountMinimumStride(range: SDKHandle, desiredCount?: number, minimumStride?: number): NumberBins<number>Swift declarationnonisolated init(range: ClosedRange<Value>, desiredCount: Int = 10, minimumStride: Value = 0) where Value : BinaryFloatingPointAutomatically determine the bins from a range of data. - Parameter range: The range the bins should cover. - Parameter desiredCount: The desired number of bins for the given data. If `nil`, infer the number automatically from data. - Parameter minimumStride: The minimum allowed bin size. - Returns: The inferred bins.
static initRangeDesiredCountMinimumStride39834(range: SDKHandle, desiredCount?: number, minimumStride?: number): NumberBins<number>Swift declarationnonisolated init(range: ClosedRange<Value>, desiredCount: Int = 10, minimumStride: Value = 0) where Value : BinaryIntegerAutomatically determine the bins from a range of data. - Parameter range: The range the bins should cover. - Parameter desiredCount: The desired number of bins for the given data. If `nil`, infer the number automatically from data. - Parameter minimumStride: The minimum allowed bin size. - Returns: The inferred bins.
static initRangeCount(range: SDKHandle, count: number): NumberBins<number>Swift declarationnonisolated init(range: ClosedRange<Value>, count: Int) where Value : BinaryFloatingPointCreates the given number of bins for the range. - Parameter range: The range of the bins. The first bin starts at the lower bound of the range, and the last bin ends at the upper bound of the range. - Parameter count: The exact number of bins.
static initRangeCount20397(range: SDKHandle, count: number): NumberBins<number>Swift declarationnonisolated init(range: ClosedRange<Value>, count: Int) where Value : BinaryIntegerCreates the given number of bins for the range. Expects that the range length is a multiple of `count` to allow uniform integer bins. - Parameter range: The range of the bins. The first bin starts at the lower bound of the range, and the last bin ends at the upper bound of the range. - Parameter count: The exact number of bins.
get endIndex(): numberSwift declarationvar endIndex: Int { get }The collection's "past the end" position---that is, the position one greater than the last valid subscript argument. When you need a range that includes the last element of a collection, use the half-open range operator (`..<`) with `endIndex`. The `..<` operator creates a range that doesn't include the upper bound, so it's always safe to use with `endIndex`. For example: let numbers = [10, 20, 30, 40, 50] if let index = numbers.firstIndex(of: 30) { print(numbers[index ..< numbers.endIndex]) } // Prints "[30, 40, 50]" If the collection is empty, `endIndex` is equal to `startIndex`.
subscript(position: number): ChartBinRange<number>Swift declarationsubscript(position: Int) -> ChartBinRange<Value> { get }Accesses the element at the specified position. The following example accesses an element of an array through its subscript to print its value: var streets = ["Adams", "Bryant", "Channing", "Douglas", "Evarts"] print(streets[1]) // Prints "Bryant" You can subscript a collection with any valid index other than the collection's end index. The end index refers to the position one past the last element of a collection, so it doesn't correspond with an element. - Parameter position: The position of the element to access. `position` must be a valid index of the collection that is not equal to the `endIndex` property. - Complexity: O(1)
static initCenteredAnchorMultiLabelAlignmentCollisionResolutionOffsetsMarksOrientationHorizontalSpacingVerticalSpacing(centered?: (boolean) | null, anchor?: (_SwiftUICore_UnitPoint) | null, multiLabelAlignment?: (_SwiftUICore_Alignment) | null, collisionResolution?: AxisValueLabelCollisionResolution, offsetsMarks?: (boolean) | null, orientation?: AxisValueLabelOrientation, horizontalSpacing?: (number) | null, verticalSpacing?: (number) | null): AxisValueLabel<never>Swift declarationnonisolated init(centered: Bool? = nil, anchor: UnitPoint? = nil, multiLabelAlignment: Alignment? = nil, collisionResolution: AxisValueLabelCollisionResolution = .automatic, offsetsMarks: Bool? = nil, orientation: AxisValueLabelOrientation = .automatic, horizontalSpacing: CGFloat? = nil, verticalSpacing: CGFloat? = nil) where Content == NeverConstructs axis value labels with the given properties and default text. - Parameters: - centered: Whether to center the label between two axis values. If `nil`, default to true for discrete data, false to continuous data. - anchor: The anchor point on the bounding box of the text element that attaches to the `position`. - multiLabelAlignment: How labels along the axis are aligned with each other. - collisionResolution: How labels that collide with others are resolved. - offsetsMarks: Whether to offset marks to accomodate for the space used by the label. - orientation: The orientation of the label. - horizontalSpacing: The horizontal spacing of the label. If `nil`, a default spacing will be used. - verticalSpacing: The vertical spacing of the label. If `nil`, a default spacing will be used.
static initCenteredAnchorMultiLabelAlignmentCollisionResolutionOffsetsMarksOrientationHorizontalSpacingVerticalSpacing33134(titleResource: _Foundation_LocalizedStringResource, centered?: (boolean) | null, anchor?: (_SwiftUICore_UnitPoint) | null, multiLabelAlignment?: (_SwiftUICore_Alignment) | null, collisionResolution?: AxisValueLabelCollisionResolution, offsetsMarks?: (boolean) | null, orientation?: AxisValueLabelOrientation, horizontalSpacing?: (number) | null, verticalSpacing?: (number) | null): AxisValueLabel<_SwiftUICore_Text>Swift declarationnonisolated init(_ titleResource: LocalizedStringResource, centered: Bool? = nil, anchor: UnitPoint? = nil, multiLabelAlignment: Alignment? = nil, collisionResolution: AxisValueLabelCollisionResolution = .automatic, offsetsMarks: Bool? = nil, orientation: AxisValueLabelOrientation = .automatic, horizontalSpacing: CGFloat? = nil, verticalSpacing: CGFloat? = nil) where Content == TextConstructs an axis value label with the given properties to display the given string. - Parameters: - titleResource: A title generated from a localized string. - centered: Whether to center the label between two axis values. If `nil`, default to true for discrete data, false to continuous data. - anchor: The anchor point on the bounding box of the text element that attaches to the `position`. - multiLabelAlignment: How labels along the axis are aligned with each other. - collisionResolution: How labels that collide with others are resolved. - offsetsMarks: Whether to offset marks to accomodate for the space used by the label. - orientation: The orientation of the label. - horizontalSpacing: The horizontal spacing of the label. If `nil`, a default spacing will be used. - verticalSpacing: The vertical spacing of the label.
static initCenteredAnchorMultiLabelAlignmentCollisionResolutionOffsetsMarksOrientationHorizontalSpacingVerticalSpacing87872(titleKey: _SwiftUICore_LocalizedStringKey, centered?: (boolean) | null, anchor?: (_SwiftUICore_UnitPoint) | null, multiLabelAlignment?: (_SwiftUICore_Alignment) | null, collisionResolution?: AxisValueLabelCollisionResolution, offsetsMarks?: (boolean) | null, orientation?: AxisValueLabelOrientation, horizontalSpacing?: (number) | null, verticalSpacing?: (number) | null): AxisValueLabel<_SwiftUICore_Text>Swift declarationnonisolated init(_ titleKey: LocalizedStringKey, centered: Bool? = nil, anchor: UnitPoint? = nil, multiLabelAlignment: Alignment? = nil, collisionResolution: AxisValueLabelCollisionResolution = .automatic, offsetsMarks: Bool? = nil, orientation: AxisValueLabelOrientation = .automatic, horizontalSpacing: CGFloat? = nil, verticalSpacing: CGFloat? = nil) where Content == TextConstructs an axis value label with the given properties to display the given string. - Parameters: - titleKey: A title generated from a localized string. - centered: Whether to center the label between two axis values. If `nil`, default to true for discrete data, false to continuous data. - anchor: The anchor point on the bounding box of the text element that attaches to the `position`. - multiLabelAlignment: How labels along the axis are aligned with each other. - collisionResolution: How labels that collide with others are resolved. - offsetsMarks: Whether to offset marks to accomodate for the space used by the label. - orientation: The orientation of the label. - horizontalSpacing: The horizontal spacing of the label. If `nil`, a default spacing will be used. - verticalSpacing: The vertical spacing of the label.
static initCenteredAnchorMultiLabelAlignmentCollisionResolutionOffsetsMarksOrientationHorizontalSpacingVerticalSpacing60146(title: string, centered?: (boolean) | null, anchor?: (_SwiftUICore_UnitPoint) | null, multiLabelAlignment?: (_SwiftUICore_Alignment) | null, collisionResolution?: AxisValueLabelCollisionResolution, offsetsMarks?: (boolean) | null, orientation?: AxisValueLabelOrientation, horizontalSpacing?: (number) | null, verticalSpacing?: (number) | null): AxisValueLabel<_SwiftUICore_Text>Swift declarationnonisolated init<S>(_ title: S, centered: Bool? = nil, anchor: UnitPoint? = nil, multiLabelAlignment: Alignment? = nil, collisionResolution: AxisValueLabelCollisionResolution = .automatic, offsetsMarks: Bool? = nil, orientation: AxisValueLabelOrientation = .automatic, horizontalSpacing: CGFloat? = nil, verticalSpacing: CGFloat? = nil) where Content == Text, S : StringProtocolConstructs an axis value label with the given properties to display the given string. - Parameters: - title: A title generated from a string. - centered: Whether to center the label between two axis values. If `nil`, default to true for discrete data, false to continuous data. - anchor: The anchor point on the bounding box of the text element that attaches to the `position`. - multiLabelAlignment: How labels along the axis are aligned with each other. - collisionResolution: How labels that collide with others are resolved. - offsetsMarks: Whether to offset marks to accomodate for the space used by the label. - orientation: The orientation of the label. - horizontalSpacing: The horizontal spacing of the label. If `nil`, a default spacing will be used. - verticalSpacing: The vertical spacing of the label.
static initFloatLiteral(value: number): MarkDimensions<unknown>Swift declarationnonisolated init(floatLiteral value: Double)Creates a constant width or height from a floating point value. - Parameter value: The width or height.
static initIntegerLiteral(value: number): MarkDimensions<unknown>Swift declarationnonisolated init(integerLiteral value: Int)Creates a constant width or height from an integer. - Parameter value: The width or height.
static fixed(value: number): MarkDimensions<unknown>Swift declarationstatic func fixed(_ value: CGFloat) -> MarkDimensions<DataElement>A constant dimension. - Parameter value: The fixed width or height.
static fixed86909(keyPath: SDKHandle): MarkDimensions<unknown>Swift declarationstatic func fixed(_ keyPath: KeyPath<DataElement, CGFloat>) -> MarkDimensions<DataElement>A constant dimension. - Parameter value: The fixed width or height.
static inset(value: number): MarkDimensions<unknown>Swift declarationstatic func inset(_ value: CGFloat) -> MarkDimensions<DataElement>A dimension that's the step size minus the specified inset value on each side. - Parameter value: The given inset value in screen coordinates.
static inset43786(keyPath: SDKHandle): MarkDimensions<unknown>Swift declarationstatic func inset(_ keyPath: KeyPath<DataElement, CGFloat>) -> MarkDimensions<DataElement>A dimension that's the step size minus the specified inset value on each side. - Parameter value: The given inset value in screen coordinates.
static ratio(value: number): MarkDimensions<unknown>Swift declarationstatic func ratio(_ value: CGFloat) -> MarkDimensions<DataElement>A dimension that's proportional to the scale step size, using the specified ratio. - Parameter value: The given ratio, from 0 to 1.
static ratio62748(keyPath: SDKHandle): MarkDimensions<unknown>Swift declarationstatic func ratio(_ keyPath: KeyPath<DataElement, CGFloat>) -> MarkDimensions<DataElement>A dimension that's proportional to the scale step size, using the specified ratio. - Parameter value: The given ratio, from 0 to 1.
static get automatic(): MarkDimensions<unknown>Swift declarationstatic var automatic: MarkDimensions<DataElement> { get }A dimension that determines its value automatically.
static valueUnitCalendar(labelKey: _SwiftUICore_LocalizedStringKey, date: globalThis.Date, unit: _Foundation_Calendar_Component, calendar?: (_Foundation_Calendar) | null): PlottableValue<globalThis.Date>Swift declarationstatic func value(_ labelKey: LocalizedStringKey, _ date: Date, unit: Calendar.Component, calendar: Calendar? = nil) -> PlottableValue<Value> where Value == DateCreates a parameter value with label key and value. - Parameter labelKey: The localized string key for label. - Parameter range: The parameter's value.
static valueUnitCalendar53015(label: _SwiftUICore_Text, date: globalThis.Date, unit: _Foundation_Calendar_Component, calendar?: (_Foundation_Calendar) | null): PlottableValue<globalThis.Date>Swift declarationstatic func value(_ label: Text, _ date: Date, unit: Calendar.Component, calendar: Calendar? = nil) -> PlottableValue<Value> where Value == DateCreates a parameter value with label and value. - Parameter label: The label. - Parameter value: The parameter's value.
static valueUnitCalendar49292(labelResource: _Foundation_LocalizedStringResource, date: globalThis.Date, unit: _Foundation_Calendar_Component, calendar?: (_Foundation_Calendar) | null): PlottableValue<globalThis.Date>Swift declarationstatic func value(_ labelResource: LocalizedStringResource, _ date: Date, unit: Calendar.Component, calendar: Calendar? = nil) -> PlottableValue<Value> where Value == DateCreates a parameter value with label and value. - Parameter labelResource: The localized string resource for label. - Parameter range: The parameter's value.
static valueUnitCalendar58074(label: string, date: globalThis.Date, unit: _Foundation_Calendar_Component, calendar?: (_Foundation_Calendar) | null): PlottableValue<globalThis.Date>Swift declarationstatic func value<S>(_ label: S, _ date: Date, unit: Calendar.Component, calendar: Calendar? = nil) -> PlottableValue<Value> where Value == Date, S : StringProtocolCreates a parameter value with label and value. - Parameter label: The label. - Parameter value: The parameter's value.
static value(labelResource: _Foundation_LocalizedStringResource, value: number): PlottableValue<number>Swift declarationstatic func value(_ labelResource: LocalizedStringResource, _ value: Value) -> PlottableValue<Value>Creates a parameter value with label and value. - Parameter labelResource: The localized string resource for label. - Parameter value: The parameter's value.
static value40626(labelKey: _SwiftUICore_LocalizedStringKey, value: number): PlottableValue<number>Swift declarationstatic func value(_ labelKey: LocalizedStringKey, _ value: Value) -> PlottableValue<Value>Creates a parameter value with label key and value. - Parameter labelKey: The localized string key for label. - Parameter value: The parameter's value.
static value9453(label: _SwiftUICore_Text, value: number): PlottableValue<number>Swift declarationstatic func value(_ label: Text, _ value: Value) -> PlottableValue<Value>Creates a parameter value with label and value. - Parameter label: The label. - Parameter value: The parameter's value.
static value4073(label: string, value: number): PlottableValue<number>Swift declarationstatic func value<S>(_ label: S, _ value: Value) -> PlottableValue<Value> where S : StringProtocolCreates a parameter value with label and value. - Parameter label: The label. - Parameter value: The parameter's value.
static get page(): MajorValueAlignment<number>Swift declarationstatic var page: MajorValueAlignment<Value> { get }Automatically set the major aligment unit to be the size of the visible domain which is equivalent to a page.
static unit(unit: number): MajorValueAlignment<number>Swift declarationstatic func unit(_ unit: Value) -> MajorValueAlignment<Value> where Value : NumericAlign to units. - Parameter unit: The alignment unit.
static matching(components: _Foundation_DateComponents): MajorValueAlignment<globalThis.Date>Swift declarationstatic func matching(_ components: DateComponents) -> MajorValueAlignment<Value> where Value == DateAlign to calendar components. - Parameter components: The alignment components.
static value(labelResource: _Foundation_LocalizedStringResource, value: number): PlottableProjection<unknown, number>Swift declarationstatic func value(_ labelResource: LocalizedStringResource, _ value: DataValue) -> PlottableProjection<DataElement, DataValue>static value69987(labelResource: _Foundation_LocalizedStringResource, value: SDKHandle): PlottableProjection<unknown, number>Swift declarationstatic func value(_ labelResource: LocalizedStringResource, _ value: KeyPath<DataElement, DataValue>) -> PlottableProjection<DataElement, DataValue>static value15625(labelKey: _SwiftUICore_LocalizedStringKey, value: number): PlottableProjection<unknown, number>Swift declarationstatic func value(_ labelKey: LocalizedStringKey, _ value: DataValue) -> PlottableProjection<DataElement, DataValue>static value37385(labelKey: _SwiftUICore_LocalizedStringKey, value: SDKHandle): PlottableProjection<unknown, number>Swift declarationstatic func value(_ labelKey: LocalizedStringKey, _ value: KeyPath<DataElement, DataValue>) -> PlottableProjection<DataElement, DataValue>static value67314(label: _SwiftUICore_Text, value: number): PlottableProjection<unknown, number>Swift declarationstatic func value(_ label: Text, _ value: DataValue) -> PlottableProjection<DataElement, DataValue>static value78439(label: _SwiftUICore_Text, value: SDKHandle): PlottableProjection<unknown, number>Swift declarationstatic func value(_ label: Text, _ value: KeyPath<DataElement, DataValue>) -> PlottableProjection<DataElement, DataValue>static value89928(label: SDKHandle, value: number): PlottableProjection<unknown, number>Swift declarationstatic func value(_ label: some StringProtocol, _ value: DataValue) -> PlottableProjection<DataElement, DataValue>static value62251(label: SDKHandle, value: SDKHandle): PlottableProjection<unknown, number>Swift declarationstatic func value(_ label: some StringProtocol, _ value: KeyPath<DataElement, DataValue>) -> PlottableProjection<DataElement, DataValue>static valueUnitCalendar(labelKey: _SwiftUICore_LocalizedStringKey, date: globalThis.Date, unit: _Foundation_Calendar_Component, calendar?: (_Foundation_Calendar) | null): PlottableProjection<unknown, globalThis.Date>Swift declarationstatic func value(_ labelKey: LocalizedStringKey, _ date: DataValue, unit: Calendar.Component, calendar: Calendar? = nil) -> PlottableProjection<DataElement, DataValue>static valueUnitCalendar69495(label: _SwiftUICore_Text, date: globalThis.Date, unit: _Foundation_Calendar_Component, calendar?: (_Foundation_Calendar) | null): PlottableProjection<unknown, globalThis.Date>Swift declarationstatic func value(_ label: Text, _ date: DataValue, unit: Calendar.Component, calendar: Calendar? = nil) -> PlottableProjection<DataElement, DataValue>static valueUnitCalendar91127(labelResource: _Foundation_LocalizedStringResource, date: globalThis.Date, unit: _Foundation_Calendar_Component, calendar?: (_Foundation_Calendar) | null): PlottableProjection<unknown, globalThis.Date>Swift declarationstatic func value(_ labelResource: LocalizedStringResource, _ date: DataValue, unit: Calendar.Component, calendar: Calendar? = nil) -> PlottableProjection<DataElement, DataValue>static valueUnitCalendar29526(label: SDKHandle, date: globalThis.Date, unit: _Foundation_Calendar_Component, calendar?: (_Foundation_Calendar) | null): PlottableProjection<unknown, globalThis.Date>Swift declarationstatic func value(_ label: some StringProtocol, _ date: DataValue, unit: Calendar.Component, calendar: Calendar? = nil) -> PlottableProjection<DataElement, DataValue>static initPresetPositionValuesStroke(preset?: AxisMarkPreset, position?: AxisMarkPosition, values?: AxisMarkValues, stroke?: (_SwiftUICore_StrokeStyle) | null): AxisMarks<never>Swift declarationnonisolated init(preset: AxisMarkPreset = .automatic, position: AxisMarkPosition = .automatic, values: AxisMarkValues = .automatic, stroke: StrokeStyle? = nil) where Content == NeverCreates axis markers with the given properties, will override default markers. Default content will be used for the axis markers. - Parameters: - preset: The preset of the axis markers. - position: The position of the axis markers. - values: The values of the axis markers. - stroke: The stroke to use for grid lines and ticks.
static initPresetPositionValuesStroke14330(preset: AxisMarkPreset, position: AxisMarkPosition, values: Array<number>, stroke?: (_SwiftUICore_StrokeStyle) | null): AxisMarks<never>Swift declarationnonisolated init<Value>(preset: AxisMarkPreset = .automatic, position: AxisMarkPosition = .automatic, values: [Value], stroke: StrokeStyle? = nil) where Content == Never, Value : PlottableCreates axis markers with the given properties, will override default markers. Default content will be used for the axis markers. - Parameters: - preset: The preset of the axis markers. - position: The position of the axis markers. - values: The values of the axis markers. - stroke: The stroke to use for grid lines and ticks.
get body(): Promise<never>Swift declaration@MainActor @preconcurrency var body: Never { get }The content and behavior of the chart content.
updateTarget(target: _SwiftUICore_ScrollTarget, context: ChartScrollTargetBehaviorContext): { $ret: null; $out: { "target": _SwiftUICore_ScrollTarget } }Swift declarationfunc updateTarget(_ target: inout ScrollTarget, context: ChartScrollTargetBehaviorContext)Omit the output parameters from the call. The result contains $ret and $out, with target inside $out.
get perceptualUnitRect(): { x: number; y: number; width: number; height: number }Swift declarationvar perceptualUnitRect: CGRect { get }Returns a rectangle that bounds the shape in such a way that viewers perceive it as having the same size and position as a unit rectangle.
get body(): neverSwift declarationnonisolated var body: Never { get }The content and behavior of the chart content.
static init(primitivePlottable: number): (_Foundation_Decimal) | nullSwift declarationnonisolated init?(primitivePlottable: Double)Creates the plottable value for the underlying type, if any, that corresponds to the primitive plottable value. This initializer fails if there is no corresponding plottable value.
get primitivePlottable(): numberSwift declarationvar primitivePlottable: Double { get }The primitive plottable value that corresponds to the plottable value of the underlying type.
374 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
ForEach.init(_:content:)
This declaration needs Swift generic type arguments. (no canonical witness for Data)
ForEach.init(_:id:content:)
This declaration needs Swift generic type arguments. (no canonical witness for Data)
ForEach.body
The containing type needs Swift generic type arguments. (no canonical witness for Data, Content)
ModifiedContent.body
The containing type needs Swift generic type arguments. (no canonical witness for Content, Modifier)
View.chart3DPose(_:)
This protocol needs associated types that cannot yet cross the bridge.
View.chart3DPose(_:)
This protocol needs associated types that cannot yet cross the bridge.
View.chart3DCameraProjection(_:)
This protocol needs associated types that cannot yet cross the bridge.
View.chartXAxisStyle(content:)
callback cannot propagate synchronous failure
View.chartYAxisStyle(content:)
callback cannot propagate synchronous failure
View.chartXAxis(_:)
This protocol needs associated types that cannot yet cross the bridge.
View.chartYAxis(_:)
This protocol needs associated types that cannot yet cross the bridge.
View.chartXAxis(content:)
callback cannot propagate synchronous failure
View.chartYAxis(content:)
callback cannot propagate synchronous failure
View.chartZAxis(_:)
This protocol needs associated types that cannot yet cross the bridge.
View.chartZAxis(content:)
callback cannot propagate synchronous failure
View.chartXAxisLabel(position:alignment:spacing:content:)
callback cannot propagate synchronous failure
View.chartXAxisLabel(_:position:alignment:spacing:)
This protocol needs associated types that cannot yet cross the bridge.
View.chartXAxisLabel(_:position:alignment:spacing:)
This protocol needs associated types that cannot yet cross the bridge.
View.chartXAxisLabel(_:position:alignment:spacing:)
This protocol needs associated types that cannot yet cross the bridge.
View.chartYAxisLabel(position:alignment:spacing:content:)
callback cannot propagate synchronous failure
View.chartYAxisLabel(_:position:alignment:spacing:)
This protocol needs associated types that cannot yet cross the bridge.
View.chartYAxisLabel(_:position:alignment:spacing:)
This protocol needs associated types that cannot yet cross the bridge.
View.chartYAxisLabel(_:position:alignment:spacing:)
This protocol needs associated types that cannot yet cross the bridge.
View.chartZAxisLabel(_:position:alignment:spacing:)
This protocol needs associated types that cannot yet cross the bridge.
View.chartZAxisLabel(_:position:alignment:spacing:)
This protocol needs associated types that cannot yet cross the bridge.
View.chartZAxisLabel(_:position:alignment:spacing:)
This protocol needs associated types that cannot yet cross the bridge.
ViewBuilder.buildBlock()
This protocol needs associated types that cannot yet cross the bridge.
ViewBuilder.buildBlock(_:)
Swift parameter packs cannot cross the bridge.
ViewBuilder.buildLimitedAvailability(_:)
This protocol needs associated types that cannot yet cross the bridge.
View.chartScrollableAxes(_:)
This protocol needs associated types that cannot yet cross the bridge.