Nothing shows up...what am I missing? Thanks.
xaml
<Charts:SfChart x:Name="chartMonthlySales">
<Charts:SfChart.Behaviors>
<Charts:ChartZoomPanBehavior/>
</Charts:SfChart.Behaviors>
<Charts:SfChart.PrimaryAxis>
<Charts:CategoryAxis PlotOffset="70" LabelFormat="mm">
<Charts:CategoryAxis.Header>
<TextBlock FontSize="16" FontFamily="Segoe UI">Month</TextBlock>
</Charts:CategoryAxis.Header>
</Charts:CategoryAxis>
</Charts:SfChart.PrimaryAxis>
<Charts:SfChart.SecondaryAxis>
<Charts:NumericalAxis>
<Charts:ChartAxis.Header>
<TextBlock FontSize="16" FontFamily="Segoe UI">Sales</TextBlock>
</Charts:ChartAxis.Header>
</Charts:NumericalAxis>
</Charts:SfChart.SecondaryAxis>
<Charts:SplineSeries XBindingPath="IsDate" YBindingPath="Data">
<Charts:SplineSeries.AdornmentsInfo>
<Charts:ChartAdornmentInfo Symbol="Ellipse" ShowLabel="True">
</Charts:ChartAdornmentInfo>
</Charts:SplineSeries.AdornmentsInfo>
</Charts:SplineSeries>
</Charts:SfChart >
vb code
Dim series1List As New List(Of MyClasses.MyChart3)
Dim oct As New MyClasses.MyChart3(824703, "10/01/2013")
Dim nov As New MyClasses.MyChart3(588922, "11/01/2013")
series1List.Add(oct)
series1List.Add(nov)
Dim series1 As New SplineSeries()
series1.XBindingPath = "IsDate"
series1.YBindingPath = "Data"
series1.ItemsSource = series1List
Me.chartMonthlySales.Series.Clear()
Me.chartMonthlySales.PrimaryAxis.ZoomFactor = 1
Me.chartMonthlySales.SecondaryAxis.ZoomFactor = 1
Me.chartMonthlySales.Series.Add(series1)
class:
Public Class MyChart3
Public Property Data As Integer
Public Property IsDate As Date
Public Sub New(ByVal SetData As Integer, ByVal SetDate As Date)
Data = SetData
IsDate = SetDate
End Sub
End Class