ChartLegendItem
Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll
One line of a ChartLegend: its name, colour and whether the chart shows it (SDK 0.17.0).
public sealed class ChartLegendItem : ObservableObjectInherits ObservableObject
Constructors
Section titled “Constructors”ChartLegendItem
Section titled “ChartLegendItem”ChartLegendItem(string key, string name, ChartColor color, string? detail = null)One line of a ChartLegend: its name, colour and whether the chart shows it (SDK 0.17.0).
Properties
Section titled “Properties”ChartColor Color { get; }The line’s colour role; the chart draws the line in it.
Detail
Section titled “Detail”string? Detail { get; }A short number right of the name (“1,204”); null: none.
IsShown
Section titled “IsShown”bool IsShown { get; set; }The chart shows the line; a click on the legend line turns it on or off.
string Key { get; }The id of the line (a camera’s id).
string Name { get; }The line’s name in the legend (“Total”, a camera).