ChartSelectionLink
public sealed class ChartSelectionLinkSynchronizes 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.
Constructors
Section titled “Constructors”
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
| Name | Type |
|---|---|
first |
ChartGuru.Chart |
second |
ChartGuru.Chart |
match |
ChartGuru.ChartSelectionMatch |
propagation |
ChartGuru.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
| Name | Type |
|---|---|
charts |
System.Collections.Generic.IEnumerable{ChartGuru.Chart} |
match |
ChartGuru.ChartSelectionMatch |
propagation |
ChartGuru.ChartSelectionPropagation |
Methods
Section titled “Methods”
Add(Chart)
Section titled “Add(Chart)”public void Add(Chart chart)Adds a chart to this link. Duplicate and null values are ignored.
Parameters
| Name | Type |
|---|---|
chart |
ChartGuru.Chart |
Remove(Chart)
Section titled “Remove(Chart)”public bool Remove(Chart chart)Removes a chart from this link.
Parameters
| Name | Type |
|---|---|
chart |
ChartGuru.Chart |
Returns
System.Boolean
Dispose()
Section titled “Dispose()”public void Dispose()Detaches every linked chart.
Properties
Section titled “Properties”
public ChartSelectionMatch Match { get; set; }How selected marks are resolved in destination charts.
Returns
ChartGuru.ChartSelectionMatch
Propagation
Section titled “Propagation”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