Initial Commit

This commit is contained in:
2024-02-23 00:46:06 -05:00
commit 2bbedc0178
470 changed files with 46035 additions and 0 deletions

39
Charts/LegendItem.cs Normal file
View File

@@ -0,0 +1,39 @@
using System.Windows.Controls;
namespace Microsoft.Research.DynamicDataDisplay
{
/// <summary>
/// <see cref="LegendItem"/> is a base class for item in legend, that represents some chart.
/// </summary>
public abstract class LegendItem : ContentControl
{
/// <summary>
/// Initializes a new instance of the <see cref="LegendItem"/> class.
/// </summary>
protected LegendItem() { }
/// <summary>
/// Initializes a new instance of the <see cref="LegendItem"/> class.
/// </summary>
/// <param name="description">The description.</param>
protected LegendItem(Description description)
{
Description = description;
}
private Description description;
/// <summary>
/// Gets or sets the description.
/// </summary>
/// <value>The description.</value>
public Description Description
{
get { return description; }
set
{
description = value;
Content = description;
}
}
}
}