Skip to content

LineMark

ClassChartGuruChartGuru
[Serializable]
public class LineMark : ChartMark, IChartMark

Plots connected data points as a line with configurable interpolation, symbols, and stroke styling.

public override ChartType MarkType { get; }

No description is available for this member.

Returns

ChartGuru.ChartType — No return description is available.

public InterpolationMethod Interpolation { get; set; }

No description is available for this member.

Returns

ChartGuru.InterpolationMethod — No return description is available.

public float LineWidth { get; set; }

No description is available for this member.

Returns

System.Single — No return description is available.

public float[] Dash { get; set; }

The dash pattern for dashed lines. Null or empty for solid lines. Example: [5, 3] = 5px dash, 3px gap.

Returns

System.Single[] — No return description is available.

public float DashPhase { get; set; }

How far into the dash pattern the line starts.

Returns

System.Single — No return description is available.

public bool IsDashed { get; }

Returns true if this line uses a dash pattern.

Returns

System.Boolean — No return description is available.

public bool ShowPoints { get; set; }

No description is available for this member.

Returns

System.Boolean — No return description is available.

public SymbolShape PointSymbol { get; set; }

No description is available for this member.

Returns

ChartGuru.SymbolShape — No return description is available.

public float PointSize { get; set; }

No description is available for this member.

Returns

System.Single — No return description is available.

public bool PointStroked { get; set; }

True when point symbols render as a stroked outline rather than filled. Swift Charts equivalent: .Symbol(.circle.StrokeBorder(lineWidth: 2)).

Returns

System.Boolean — No return description is available.

public float PointStrokeWidth { get; set; }

Stroke width in pixels for stroked point symbols.

Returns

System.Single — No return description is available.

public float Tension { get; set; }

No description is available for this member.

Returns

System.Single — No return description is available.

public bool ShowGradient { get; set; }

No description is available for this member.

Returns

System.Boolean — No return description is available.

public object LineStyleKey { get; }

No description is available for this member.

Returns

System.Object — No return description is available.

public object SymbolKey { get; }

No description is available for this member.

Returns

System.Object — No return description is available.

public object SymbolSizeKey { get; }

No description is available for this member.

Returns

System.Object — No return description is available.

public LineMark()

No description is available for this member.

public LineMark(float x, float y)

No description is available for this member.

Parameters

Name Type Description
x System.Single
y System.Single
public LineMark(DataPoint point)

No description is available for this member.

Parameters

Name Type Description
point ChartGuru.DataPoint

LineMark(PlottableValueRef, PlottableValueRef, int)

Section titled “LineMark(PlottableValueRef, PlottableValueRef, int)”
public LineMark(PlottableValueRef x, PlottableValueRef y, int index = 0)

No description is available for this member.

Parameters

Name Type Description
x ChartGuru.PlottableValueRef
y ChartGuru.PlottableValueRef
index System.Int32

public LineMark InterpolationMethod(InterpolationMethod method)

Sets the interpolation method for this line. Swift Charts equivalent: .InterpolationMethod(.catmullRom)

Parameters

Name Type Description
method ChartGuru.InterpolationMethod

Returns

ChartGuru.LineMark — No return description is available.

public LineMark LineStyle(float lineWidth)

Sets the line Width (stroke width). Swift Charts equivalent: .LineStyle(StrokeStyle(lineWidth:))

Parameters

Name Type Description
lineWidth System.Single

Returns

ChartGuru.LineMark — No return description is available.

public LineMark LineStyle(StrokeStyle style)

Sets the full stroke style including width, dash pattern, etc. Swift Charts equivalent: .LineStyle(StrokeStyle(lineWidth:dash:))

Parameters

Name Type Description
style ChartGuru.StrokeStyle

Returns

ChartGuru.LineMark — No return description is available.

public LineMark LineStyle(PlottableValueRef value)

Encodes a value into the line style scale for automatic dash pattern assignment. Swift Charts equivalent: .LineStyle(by: .Value(“Category”, category))

Parameters

Name Type Description
value ChartGuru.PlottableValueRef

Returns

ChartGuru.LineMark — No return description is available.

public LineMark Symbol(SymbolShape shape, float size = 6)

Enables point symbols for this line and sets their shape. Swift Charts equivalent: .Symbol(.circle)

Parameters

Name Type Description
shape ChartGuru.SymbolShape
size System.Single

Returns

ChartGuru.LineMark — No return description is available.

public LineMark Symbol(SymbolStyle style, float size = 6)

Enables point symbols using a ChartGuru.SymbolStyle, supporting stroked-border rendering. Swift Charts equivalent: .Symbol(.circle.StrokeBorder(lineWidth: 2)).

Parameters

Name Type Description
style ChartGuru.SymbolStyle
size System.Single

Returns

ChartGuru.LineMark — No return description is available.

public LineMark Symbol(PlottableValueRef value)

Encodes a value into the symbol scale for automatic symbol assignment. Swift Charts equivalent: .Symbol(by: .Value(“Category”, category))

Parameters

Name Type Description
value ChartGuru.PlottableValueRef

Returns

ChartGuru.LineMark — No return description is available.

public LineMark SymbolSize(float size)

Sets the symbol size for this line’s point markers. Swift Charts equivalent: .SymbolSize(value)

Parameters

Name Type Description
size System.Single

Returns

ChartGuru.LineMark — No return description is available.

public LineMark SymbolSize(PlottableValueRef value)

Encodes a value into the symbol size scale for automatic sizing. Swift Charts equivalent: .SymbolSize(by: .Value(“Size”, size))

Parameters

Name Type Description
value ChartGuru.PlottableValueRef

Returns

ChartGuru.LineMark — No return description is available.

public override (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 override IChartMark Clone()

No description is available for this member.

Returns

ChartGuru.IChartMark — No return description is available.