Skip to content

ChartMark

ClassChartGuruChartGuru
[Serializable]
public abstract class ChartMark : IChartMark

No description is available for this type.

protected DataPoint _dataPoint

No description is available for this member.

Returns

ChartGuru.DataPoint — No return description is available.

protected Color _foregroundColor

No description is available for this member.

Returns

UnityEngine.Color — No return description is available.

protected bool _visible

No description is available for this member.

Returns

System.Boolean — No return description is available.

protected object _seriesKey

No description is available for this member.

Returns

System.Object — No return description is available.

protected AnnotationConfig _annotation

No description is available for this member.

Returns

ChartGuru.AnnotationConfig — No return description is available.

protected float _opacity

No description is available for this member.

Returns

System.Single — No return description is available.

protected object _foregroundStyleKey

No description is available for this member.

Returns

System.Object — No return description is available.

protected LinearGradientStyle _foregroundGradient

No description is available for this member.

Returns

ChartGuru.LinearGradientStyle — No return description is available.

protected GradientStyle _foregroundGradientStyle

No description is available for this member.

Returns

ChartGuru.GradientStyle — No return description is available.

protected string _categoryLabel

No description is available for this member.

Returns

System.String — No return description is available.

protected Vector2 _offset

No description is available for this member.

Returns

UnityEngine.Vector2 — No return description is available.

protected bool _showShadow

No description is available for this member.

Returns

System.Boolean — No return description is available.

protected Color _shadowColor

No description is available for this member.

Returns

UnityEngine.Color — No return description is available.

protected Vector2 _shadowOffset

No description is available for this member.

Returns

UnityEngine.Vector2 — No return description is available.

protected float _shadowBlur

No description is available for this member.

Returns

System.Single — No return description is available.

protected MarkBlendMode _blendMode

No description is available for this member.

Returns

ChartGuru.MarkBlendMode — No return description is available.

protected ClipShape _clipShape

No description is available for this member.

Returns

ChartGuru.ClipShape — No return description is available.

protected float _blurRadius

No description is available for this member.

Returns

System.Single — No return description is available.

protected IChartContent _maskContent

No description is available for this member.

Returns

ChartGuru.IChartContent — No return description is available.

protected bool _compositingLayer

No description is available for this member.

Returns

System.Boolean — No return description is available.

protected RangedOffset? _rangedOffset

No description is available for this member.

Returns

System.Nullable{ChartGuru.RangedOffset} — No return description is available.

protected MarkAxis _positionAxis

No description is available for this member.

Returns

ChartGuru.MarkAxis — No return description is available.

protected int _zIndex

No description is available for this member.

Returns

System.Int32 — No return description is available.

public int ZIndex { get; set; }

Render order hint: marks with higher ChartGuru.ChartMark.ZIndex draw on top of marks with lower values. Renderers apply a stable sort by (SeriesIndex, ZIndex, insertion) before emit. Swift Charts equivalent: .ZIndex(Int).

Returns

System.Int32 — No return description is available.

public RangedOffset? RangedOffset { get; set; }

Optional range-based offset. When set, the mark’s resolved screen position is adjusted so that its X stretches from xStart to xEnd and its Y from yStart to yEnd (in plot/domain units), instead of using the scalar ChartGuru.ChartMark.Offset. Swift Charts equivalent (iOS 17): .Offset(xStart:xEnd:yStart:yEnd:).

Returns

System.Nullable{ChartGuru.RangedOffset} — No return description is available.

public MarkAxis PositionAxis { get; set; }

The axis along which ChartGuru.ChartMark.SeriesKey-based positioning (dodging / grouping) is applied. When ChartGuru.MarkAxis.Automatic, layout derives the axis from the mark type (bars dodge along the categorical axis, etc.). Swift Charts equivalent: .Position(by: .Value(…), axis: .horizontal).

Returns

ChartGuru.MarkAxis — No return description is available.

public MarkDimension? PositionSpan { get; set; }

Per-dodge-slot dimension override. When set, layout uses this dimension for the slot width assigned to this mark inside its ChartGuru.ChartMark.PositionAxis dodge group instead of the mark’s own Width/Height. Swift Charts equivalent: .Position(by:axis:span:).

Returns

System.Nullable{ChartGuru.MarkDimension} — No return description is available.

public abstract ChartType MarkType { get; }

No description is available for this member.

Returns

ChartGuru.ChartType — No return description is available.

public virtual DataPoint DataPoint { get; set; }

No description is available for this member.

Returns

ChartGuru.DataPoint — No return description is available.

public Color ForegroundColor { get; set; }

No description is available for this member.

Returns

UnityEngine.Color — No return description is available.

public bool Visible { get; set; }

No description is available for this member.

Returns

System.Boolean — No return description is available.

public object SeriesKey { get; set; }

No description is available for this member.

Returns

System.Object — No return description is available.

public AccessibilityInfo Accessibility { get; set; }

Per-mark accessibility metadata. Swift Charts equivalent: .accessibilityLabel, .accessibilityValue, .accessibilityHidden, .accessibilityIdentifier.

Returns

ChartGuru.AccessibilityInfo — No return description is available.

public string CategoryLabel { get; set; }

Category label for X-axis display (e.g., “Jan”, “Feb”, “Mar”). Separate from SeriesKey/ForegroundStyleKey which determine colors and legend.

Returns

System.String — No return description is available.

public object ForegroundStyleKey { get; set; }

Key for automatic color assignment and legend generation. Swift Charts equivalent: ForegroundStyle(by:) modifier.

Returns

System.Object — No return description is available.

public LinearGradientStyle ForegroundGradient { get; set; }

No description is available for this member.

Returns

ChartGuru.LinearGradientStyle — No return description is available.

public GradientStyle ForegroundGradientStyle { get; set; }

General gradient style (radial, angular, elliptical, or linear via the base type). When set, takes precedence over ChartGuru.ChartMark.ForegroundGradient.

Returns

ChartGuru.GradientStyle — No return description is available.

public bool ShowShadow { get; set; }

No description is available for this member.

Returns

System.Boolean — No return description is available.

public Color ShadowColor { get; set; }

No description is available for this member.

Returns

UnityEngine.Color — No return description is available.

public Vector2 ShadowOffset { get; set; }

No description is available for this member.

Returns

UnityEngine.Vector2 — No return description is available.

public float ShadowBlur { get; set; }

No description is available for this member.

Returns

System.Single — No return description is available.

public MarkBlendMode BlendMode { get; set; }

No description is available for this member.

Returns

ChartGuru.MarkBlendMode — No return description is available.

public ClipShape ClipShape { get; set; }

Shape used to clip a mark’s rendered output. Swift Charts equivalent: .ClipShape(…) .

Returns

ChartGuru.ClipShape — No return description is available.

public float BlurRadius { get; set; }

No description is available for this member.

Returns

System.Single — No return description is available.

public IChartContent MaskContent { get; set; }

No description is available for this member.

Returns

ChartGuru.IChartContent — No return description is available.

public bool CompositingLayer { get; set; }

No description is available for this member.

Returns

System.Boolean — No return description is available.

public Func<Rect, Color, bool> CustomSymbolRenderer { get; set; }

Custom symbol renderer callback. When set and the mark’s symbol shape is ChartGuru.SymbolShape.Custom, the renderer invokes this delegate instead of drawing a predefined shape. The callback receives the symbol’s bounding UnityEngine.Rect (in pixels) and the resolved UnityEngine.Color; it should emit geometry through the active draw sink. Return true if the symbol was drawn, false to fall back to default. Swift Charts equivalent: .Symbol() { custom View }.

Returns

System.Func{UnityEngine.Rect,UnityEngine.Color,System.Boolean} — No return description is available.

public AnnotationConfig Annotation { get; }

No description is available for this member.

Returns

ChartGuru.AnnotationConfig — No return description is available.

public float Opacity { get; set; }

No description is available for this member.

Returns

System.Single — No return description is available.

public Vector2 Offset { get; }

Offset applied to the mark in plot coordinates. Swift Charts equivalent: .Offset(x:y:)

Returns

UnityEngine.Vector2 — No return description is available.

protected ChartMark()

No description is available for this member.

protected ChartMark(float x, float y)

No description is available for this member.

Parameters

Name Type Description
x System.Single
y System.Single
protected ChartMark(DataPoint dataPoint)

No description is available for this member.

Parameters

Name Type Description
dataPoint ChartGuru.DataPoint

public abstract (Vector2 source, Vector2 target) GetMorphTargets(ChartType targetType, Rect plotArea)

No description is available for this member.

Parameters

Name Type Description
targetType ChartGuru.ChartType
plotArea UnityEngine.Rect

Returns

System.ValueTuple{UnityEngine.Vector2,UnityEngine.Vector2} — No return description is available.

public abstract IChartMark Clone()

No description is available for this member.

Returns

ChartGuru.IChartMark — No return description is available.