Skip to content

CompositeChartMark

ClassChartGuruChartGuru
public abstract class CompositeChartMark : IChartContent

Base class for composite marks that expand into multiple primitive marks. Common functionality for managing visibility, series key, and colors.

protected DataPoint _dataPoint

Returns

ChartGuru.DataPoint

protected bool _visible

Returns

System.Boolean

protected object _seriesKey

Returns

System.Object

protected Color _primaryColor

Returns

UnityEngine.Color

protected Color _secondaryColor

Returns

UnityEngine.Color

public abstract IEnumerable<IChartMark> GetMarks()

Expands this composite content into individual chart marks for rendering.

Returns

System.Collections.Generic.IEnumerable{ChartGuru.IChartMark}: Enumerable of primitive chart marks.

protected CompositeChartMark()

public DataPoint DataPoint { get; }

The primary data point associated with this content.

Returns

ChartGuru.DataPoint

public bool Visible { get; set; }

Visibility flag for the entire composite.

Returns

System.Boolean

public object SeriesKey { get; set; }

Series key for grouping in legends.

Returns

System.Object

public Color PrimaryColor { get; set; }

Returns

UnityEngine.Color

public Color SecondaryColor { get; set; }

Returns

UnityEngine.Color