Skip to content

ChartSelectionLink

ClassChartGuruChartGuru
public sealed class ChartSelectionLink

Synchronizes semantic point and range selections across two or more charts. The link resolves marks by data meaning instead of assuming that every chart has the same mark ordering, and guards bidirectional callbacks against feedback loops.

ChartSelectionLink(Chart, Chart, ChartSelectionMatch, ChartSelectionPropagation)

Section titled “ChartSelectionLink(Chart, Chart, ChartSelectionMatch, ChartSelectionPropagation)”
public ChartSelectionLink(Chart first, Chart second, ChartSelectionMatch match = ChartSelectionMatch.SeriesAndX, ChartSelectionPropagation propagation = ChartSelectionPropagation.All)

Creates a semantic link between two charts.

Parameters

NameType
firstChartGuru.Chart
secondChartGuru.Chart
matchChartGuru.ChartSelectionMatch
propagationChartGuru.ChartSelectionPropagation

ChartSelectionLink(IEnumerable, ChartSelectionMatch, ChartSelectionPropagation)

Section titled “ChartSelectionLink(IEnumerable, ChartSelectionMatch, ChartSelectionPropagation)”
public ChartSelectionLink(IEnumerable<Chart> charts, ChartSelectionMatch match = ChartSelectionMatch.SeriesAndX, ChartSelectionPropagation propagation = ChartSelectionPropagation.All)

Creates a semantic link between every non-null, unique chart in charts.

Parameters

NameType
chartsSystem.Collections.Generic.IEnumerable{ChartGuru.Chart}
matchChartGuru.ChartSelectionMatch
propagationChartGuru.ChartSelectionPropagation

public void Add(Chart chart)

Adds a chart to this link. Duplicate and null values are ignored.

Parameters

NameType
chartChartGuru.Chart
public bool Remove(Chart chart)

Removes a chart from this link.

Parameters

NameType
chartChartGuru.Chart

Returns

System.Boolean

public void Dispose()

Detaches every linked chart.

public ChartSelectionMatch Match { get; set; }

How selected marks are resolved in destination charts.

Returns

ChartGuru.ChartSelectionMatch

public ChartSelectionPropagation Propagation { get; set; }

Which point and range selection channels are synchronized.

Returns

ChartGuru.ChartSelectionPropagation

public int Count { get; }

The number of charts currently participating in the link.

Returns

System.Int32