CompositeChartMark
public abstract class CompositeChartMark : IChartContentBase class for composite marks that expand into multiple primitive marks. Common functionality for managing visibility, series key, and colors.
Fields
Section titled “Fields”
_dataPoint
Section titled “_dataPoint”protected DataPoint _dataPointReturns
ChartGuru.DataPoint
_visible
Section titled “_visible”protected bool _visibleReturns
System.Boolean
_seriesKey
Section titled “_seriesKey”protected object _seriesKeyReturns
System.Object
_primaryColor
Section titled “_primaryColor”protected Color _primaryColorReturns
UnityEngine.Color
_secondaryColor
Section titled “_secondaryColor”protected Color _secondaryColorReturns
UnityEngine.Color
Methods
Section titled “Methods”
GetMarks()
Section titled “GetMarks()”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.
Constructors
Section titled “Constructors”
CompositeChartMark()
Section titled “CompositeChartMark()”protected CompositeChartMark()Properties
Section titled “Properties”
DataPoint
Section titled “DataPoint”public DataPoint DataPoint { get; }The primary data point associated with this content.
Returns
ChartGuru.DataPoint
Visible
Section titled “Visible”public bool Visible { get; set; }Visibility flag for the entire composite.
Returns
System.Boolean
SeriesKey
Section titled “SeriesKey”public object SeriesKey { get; set; }Series key for grouping in legends.
Returns
System.Object
PrimaryColor
Section titled “PrimaryColor”public Color PrimaryColor { get; set; }Returns
UnityEngine.Color
SecondaryColor
Section titled “SecondaryColor”public Color SecondaryColor { get; set; }Returns
UnityEngine.Color