LineMark
[Serializable]public class LineMark : ChartMark, IChartMarkPlots connected data points as a line with configurable interpolation, symbols, and stroke styling.
Properties
Section titled “Properties”
MarkType
Section titled “MarkType”public override ChartType MarkType { get; }No description is available for this member.
Returns
ChartGuru.ChartType — No return description is available.
Interpolation
Section titled “Interpolation”public InterpolationMethod Interpolation { get; set; }No description is available for this member.
Returns
ChartGuru.InterpolationMethod — No return description is available.
LineWidth
Section titled “LineWidth”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.
DashPhase
Section titled “DashPhase”public float DashPhase { get; set; }How far into the dash pattern the line starts.
Returns
System.Single — No return description is available.
IsDashed
Section titled “IsDashed”public bool IsDashed { get; }Returns true if this line uses a dash pattern.
Returns
System.Boolean — No return description is available.
ShowPoints
Section titled “ShowPoints”public bool ShowPoints { get; set; }No description is available for this member.
Returns
System.Boolean — No return description is available.
PointSymbol
Section titled “PointSymbol”public SymbolShape PointSymbol { get; set; }No description is available for this member.
Returns
ChartGuru.SymbolShape — No return description is available.
PointSize
Section titled “PointSize”public float PointSize { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
PointStroked
Section titled “PointStroked”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.
PointStrokeWidth
Section titled “PointStrokeWidth”public float PointStrokeWidth { get; set; }Stroke width in pixels for stroked point symbols.
Returns
System.Single — No return description is available.
Tension
Section titled “Tension”public float Tension { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
ShowGradient
Section titled “ShowGradient”public bool ShowGradient { get; set; }No description is available for this member.
Returns
System.Boolean — No return description is available.
LineStyleKey
Section titled “LineStyleKey”public object LineStyleKey { get; }No description is available for this member.
Returns
System.Object — No return description is available.
SymbolKey
Section titled “SymbolKey”public object SymbolKey { get; }No description is available for this member.
Returns
System.Object — No return description is available.
SymbolSizeKey
Section titled “SymbolSizeKey”public object SymbolSizeKey { get; }No description is available for this member.
Returns
System.Object — No return description is available.
Constructors
Section titled “Constructors”
LineMark()
Section titled “LineMark()”public LineMark()No description is available for this member.
LineMark(float, float)
Section titled “LineMark(float, float)”public LineMark(float x, float y)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
x |
System.Single | |
y |
System.Single | |
LineMark(DataPoint)
Section titled “LineMark(DataPoint)”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 |
Methods
Section titled “Methods”
InterpolationMethod(InterpolationMethod)
Section titled “InterpolationMethod(InterpolationMethod)”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.
LineStyle(float)
Section titled “LineStyle(float)”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.
LineStyle(StrokeStyle)
Section titled “LineStyle(StrokeStyle)”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.
LineStyle(PlottableValueRef)
Section titled “LineStyle(PlottableValueRef)”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.
Symbol(SymbolShape, float)
Section titled “Symbol(SymbolShape, float)”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.
Symbol(SymbolStyle, float)
Section titled “Symbol(SymbolStyle, float)”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.
Symbol(PlottableValueRef)
Section titled “Symbol(PlottableValueRef)”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.
SymbolSize(float)
Section titled “SymbolSize(float)”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.
SymbolSize(PlottableValueRef)
Section titled “SymbolSize(PlottableValueRef)”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.
GetMorphTargets(ChartType, Rect)
Section titled “GetMorphTargets(ChartType, Rect)”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.
Clone()
Section titled “Clone()”public override IChartMark Clone()No description is available for this member.
Returns
ChartGuru.IChartMark — No return description is available.