I am currently testing Telerik, and testing for the charting at the moment, however I seem to be unable to render 3d charts.
Assume I have a XAML document, with one RadChart element, named w_Chart. The following works as expected:
However, if I change AreaSeriesDefinition to Area3DSeriesDefinition, it crashes (IntelliTrace picks up a lot of null reference exceptions). The same is true of Bar -> Bar3d.
What is required to get 3d charting to work?
[Edit: ] It also crashes when I attach a camera.
Assume I have a XAML document, with one RadChart element, named w_Chart. The following works as expected:
public MainWindow () |
{ |
InitializeComponent (); |
SetupChart (); |
} |
public void SetupChart () |
{ |
SeriesMapping sm1 = new SeriesMapping () { SeriesDefinition = new AreaSeriesDefinition () }; |
ItemMapping im1 = new ItemMapping () { DataPointMember = DataPointMember.YValue }; |
sm1.ItemMappings.Add (im1); |
w_Chart.SeriesMappings.Add (sm1); |
w_Chart.ItemsSource = Enumerable.Range (20, 5); |
} |
However, if I change AreaSeriesDefinition to Area3DSeriesDefinition, it crashes (IntelliTrace picks up a lot of null reference exceptions). The same is true of Bar -> Bar3d.
What is required to get 3d charting to work?
[Edit: ] It also crashes when I attach a camera.