Greetings,
I have this code from radchart, I would love to move it to radchartview
The xaml looks like this
The code behind is :
RadChart1.DefaultView.ChartTitle.Content = "Current Online SVL Providers"
RadChart1.DefaultView.ChartLegend.Header = "Legend"
RadChart1.DefaultView.ChartLegend.UseAutoGeneratedItems = True
'Axis X
RadChart1.DefaultView.ChartArea.AxisX.Title = "Type"
RadChart1.DefaultView.ChartArea.AxisX.AutoRange = False
RadChart1.DefaultView.ChartArea.AxisX.MinValue = 1
RadChart1.DefaultView.ChartArea.AxisX.MaxValue = 5
RadChart1.DefaultView.ChartArea.AxisX.[Step] = 1
RadChart1.DefaultView.ChartArea.AxisX.LayoutMode = AxisLayoutMode.Between
'Axis Y
RadChart1.DefaultView.ChartArea.AxisY.Title = "Provider"
Dim series As New DataSeries()
series.Definition = New BarSeriesDefinition()
series.Definition.Appearance.Fill = New SolidColorBrush(Color.FromArgb(255, 87, 179, 233))
series.LegendLabel = "Number of Providers"
For row As Integer = 0 To xValues.Count - 1
series.Add(New DataPoint(xValues(row), yvalues(row)))
Next
RadChart1.DefaultView.ChartArea.DataSeries.Add(series)
How can I change it as Radchartview does not seem to support DataSeries and I did not see BarSeries available?
Best regards,
G
PS. Version 2012.1.416.40