Imports System.Collections.ObjectModel ' ... Public Class SimpleDataCollection : Inherits ObservableCollection(Of SimpleDataPoint) Public Sub New() Me.Add(New SimpleDataPoint() With {.Label = "1", .Value = 3.0}) Me.Add(New SimpleDataPoint() With {.Label = "2", .Value = 2.0}) Me.Add(New SimpleDataPoint() With {.Label = "3", .Value = 3.0}) Me.Add(New SimpleDataPoint() With {.Label = "4", .Value = 4.0}) Me.Add(New SimpleDataPoint() With {.Label = "5", .Value = 5.0}) Me.Add(New SimpleDataPoint() With {.Label = "6", .Value = 6.0}) Me.Add(New SimpleDataPoint() With {.Label = "7", .Value = 5.0}) End Sub End Class Public Class SimpleDataPoint Private _value As Double Public Property Value() As Double Get Return _value End Get Set(ByVal value As Double) _value = value End Set End Property Private _label As String Public Property Label() As String Get Return _label End Get Set(ByVal value As String) _label = value End Set End Property End Class