ChartLegend
Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll
The legend of a LineChart with many lines (SDK 0.17.0; a line per camera): a virtualized list beside the chart with a check box, the line’s colour and its name per ChartLegendItem; a click shows or hides the line. The page builds the chart’s series from the shown items (set LineChart.ShowLegend to false).
public sealed class ChartLegend : UserControlInherits UserControl
XAML properties
Section titled “XAML properties”Set them in XAML (<ui:ChartLegend Name="..." />) or bind them.
| Name | Type | Description |
|---|---|---|
Items |
IEnumerable<ChartLegendItem>? |
The lines in legend order (Total first, then the busiest). |
Properties
Section titled “Properties”ItemsControl List { get; }The list (tests).