ChartMark
[Serializable]public abstract class ChartMark : IChartMarkNo description is available for this type.
Fields
Section titled “Fields”
_dataPoint
Section titled “_dataPoint”protected DataPoint _dataPointNo description is available for this member.
Returns
ChartGuru.DataPoint — No return description is available.
_foregroundColor
Section titled “_foregroundColor”protected Color _foregroundColorNo description is available for this member.
Returns
UnityEngine.Color — No return description is available.
_visible
Section titled “_visible”protected bool _visibleNo description is available for this member.
Returns
System.Boolean — No return description is available.
_seriesKey
Section titled “_seriesKey”protected object _seriesKeyNo description is available for this member.
Returns
System.Object — No return description is available.
_annotation
Section titled “_annotation”protected AnnotationConfig _annotationNo description is available for this member.
Returns
ChartGuru.AnnotationConfig — No return description is available.
_opacity
Section titled “_opacity”protected float _opacityNo description is available for this member.
Returns
System.Single — No return description is available.
_foregroundStyleKey
Section titled “_foregroundStyleKey”protected object _foregroundStyleKeyNo description is available for this member.
Returns
System.Object — No return description is available.
_foregroundGradient
Section titled “_foregroundGradient”protected LinearGradientStyle _foregroundGradientNo description is available for this member.
Returns
ChartGuru.LinearGradientStyle — No return description is available.
_foregroundGradientStyle
Section titled “_foregroundGradientStyle”protected GradientStyle _foregroundGradientStyleNo description is available for this member.
Returns
ChartGuru.GradientStyle — No return description is available.
_categoryLabel
Section titled “_categoryLabel”protected string _categoryLabelNo description is available for this member.
Returns
System.String — No return description is available.
_offset
Section titled “_offset”protected Vector2 _offsetNo description is available for this member.
Returns
UnityEngine.Vector2 — No return description is available.
_showShadow
Section titled “_showShadow”protected bool _showShadowNo description is available for this member.
Returns
System.Boolean — No return description is available.
_shadowColor
Section titled “_shadowColor”protected Color _shadowColorNo description is available for this member.
Returns
UnityEngine.Color — No return description is available.
_shadowOffset
Section titled “_shadowOffset”protected Vector2 _shadowOffsetNo description is available for this member.
Returns
UnityEngine.Vector2 — No return description is available.
_shadowBlur
Section titled “_shadowBlur”protected float _shadowBlurNo description is available for this member.
Returns
System.Single — No return description is available.
_blendMode
Section titled “_blendMode”protected MarkBlendMode _blendModeNo description is available for this member.
Returns
ChartGuru.MarkBlendMode — No return description is available.
_clipShape
Section titled “_clipShape”protected ClipShape _clipShapeNo description is available for this member.
Returns
ChartGuru.ClipShape — No return description is available.
_blurRadius
Section titled “_blurRadius”protected float _blurRadiusNo description is available for this member.
Returns
System.Single — No return description is available.
_maskContent
Section titled “_maskContent”protected IChartContent _maskContentNo description is available for this member.
Returns
ChartGuru.IChartContent — No return description is available.
_compositingLayer
Section titled “_compositingLayer”protected bool _compositingLayerNo description is available for this member.
Returns
System.Boolean — No return description is available.
_rangedOffset
Section titled “_rangedOffset”protected RangedOffset? _rangedOffsetNo description is available for this member.
Returns
System.Nullable{ChartGuru.RangedOffset} — No return description is available.
_positionAxis
Section titled “_positionAxis”protected MarkAxis _positionAxisNo description is available for this member.
Returns
ChartGuru.MarkAxis — No return description is available.
_zIndex
Section titled “_zIndex”protected int _zIndexNo description is available for this member.
Returns
System.Int32 — No return description is available.
Properties
Section titled “Properties”
ZIndex
Section titled “ZIndex”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.
RangedOffset
Section titled “RangedOffset”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.
PositionAxis
Section titled “PositionAxis”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.
PositionSpan
Section titled “PositionSpan”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.
MarkType
Section titled “MarkType”public abstract ChartType MarkType { get; }No description is available for this member.
Returns
ChartGuru.ChartType — No return description is available.
DataPoint
Section titled “DataPoint”public virtual DataPoint DataPoint { get; set; }No description is available for this member.
Returns
ChartGuru.DataPoint — No return description is available.
ForegroundColor
Section titled “ForegroundColor”public Color ForegroundColor { get; set; }No description is available for this member.
Returns
UnityEngine.Color — No return description is available.
Visible
Section titled “Visible”public bool Visible { get; set; }No description is available for this member.
Returns
System.Boolean — No return description is available.
SeriesKey
Section titled “SeriesKey”public object SeriesKey { get; set; }No description is available for this member.
Returns
System.Object — No return description is available.
Accessibility
Section titled “Accessibility”public AccessibilityInfo Accessibility { get; set; }Per-mark accessibility metadata. Swift Charts equivalent: .accessibilityLabel,
.accessibilityValue, .accessibilityHidden, .accessibilityIdentifier.
Returns
ChartGuru.AccessibilityInfo — No return description is available.
CategoryLabel
Section titled “CategoryLabel”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.
ForegroundStyleKey
Section titled “ForegroundStyleKey”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.
ForegroundGradient
Section titled “ForegroundGradient”public LinearGradientStyle ForegroundGradient { get; set; }No description is available for this member.
Returns
ChartGuru.LinearGradientStyle — No return description is available.
ForegroundGradientStyle
Section titled “ForegroundGradientStyle”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.
ShowShadow
Section titled “ShowShadow”public bool ShowShadow { get; set; }No description is available for this member.
Returns
System.Boolean — No return description is available.
ShadowColor
Section titled “ShadowColor”public Color ShadowColor { get; set; }No description is available for this member.
Returns
UnityEngine.Color — No return description is available.
ShadowOffset
Section titled “ShadowOffset”public Vector2 ShadowOffset { get; set; }No description is available for this member.
Returns
UnityEngine.Vector2 — No return description is available.
ShadowBlur
Section titled “ShadowBlur”public float ShadowBlur { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
BlendMode
Section titled “BlendMode”public MarkBlendMode BlendMode { get; set; }No description is available for this member.
Returns
ChartGuru.MarkBlendMode — No return description is available.
ClipShape
Section titled “ClipShape”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.
BlurRadius
Section titled “BlurRadius”public float BlurRadius { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
MaskContent
Section titled “MaskContent”public IChartContent MaskContent { get; set; }No description is available for this member.
Returns
ChartGuru.IChartContent — No return description is available.
CompositingLayer
Section titled “CompositingLayer”public bool CompositingLayer { get; set; }No description is available for this member.
Returns
System.Boolean — No return description is available.
CustomSymbolRenderer
Section titled “CustomSymbolRenderer”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.
Annotation
Section titled “Annotation”public AnnotationConfig Annotation { get; }No description is available for this member.
Returns
ChartGuru.AnnotationConfig — No return description is available.
Opacity
Section titled “Opacity”public float Opacity { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
Offset
Section titled “Offset”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.
Constructors
Section titled “Constructors”
ChartMark()
Section titled “ChartMark()”protected ChartMark()No description is available for this member.
ChartMark(float, float)
Section titled “ChartMark(float, float)”protected ChartMark(float x, float y)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
x |
System.Single | |
y |
System.Single | |
ChartMark(DataPoint)
Section titled “ChartMark(DataPoint)”protected ChartMark(DataPoint dataPoint)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
dataPoint |
ChartGuru.DataPoint |
Methods
Section titled “Methods”
GetMorphTargets(ChartType, Rect)
Section titled “GetMorphTargets(ChartType, Rect)”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.
Clone()
Section titled “Clone()”public abstract IChartMark Clone()No description is available for this member.
Returns
ChartGuru.IChartMark — No return description is available.