Skip to content

IChartContent

InterfaceChartGuruChartGuru
public interface IChartContent

Interface for composite chart content that can expand into multiple marks. This enables complex visualizations like CandleStickMark that are composed of multiple primitive marks (bars, rules, etc.).

Matches Swift Charts’ ChartContent protocol concept where composite marks can return multiple primitive marks via the body property.

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.

DataPoint DataPoint { get; }

The primary data point associated with this content.

Returns

ChartGuru.DataPoint — No return description is available.

bool Visible { get; set; }

Visibility flag for the entire composite.

Returns

System.Boolean — No return description is available.

object SeriesKey { get; set; }

Series key for grouping in legends.

Returns

System.Object — No return description is available.