Members  Example 
IPointMetadata Interface
IPointMetadata is the base interface for PointMetadata derived types. By creating a class which implements this interface, you can tag an X-Y point on a DataSeries with any business object
Syntax
public interface IPointMetadata 
Example
Demonstrates how to create PointMetadata and append to a DataSeries
// Create the IPointMetadata derived type
public class MyMetadata : IPointMetadata
{
   public event PropertyChangedEventHandler PropertyChanged;
            
   public MyMetadata(string label) 
   {
      this.Label = label;
   }
            
   public bool IsSelected { get; set; } 
   public string Label { get; set; }
}
            
// Append it to DataSeries
void Foo()
{
   var xyDataSeries = new XyDataSeries<double>();
   xyDataSeries.Append(0, 10, new MyMetadata("Hello"));
   xyDataSeries.Append(1, 20, null);
   xyDataSeries.Append(2, 30, new MyMetadata("World!"));
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also