Hi I have a chart with 3D lines on it that I am manually adding series to
SeriesMapping sm = new SeriesMapping();
sm.LegendLabel = record.StartDate.ToString();
sm.ItemsSource = GetDataPoints(record);
sm.ChartArea = this.RadChart1.DefaultView.ChartArea;
sm.SeriesDefinition = new Line3DSeriesDefinition();
sm.SeriesDefinition.ShowItemToolTips = false;
sm.SeriesDefinition.ShowItemLabels = false;
sm.ItemMappings.Add(new ItemMapping("YValue", DataPointMember.YValue));
sm.ItemMappings.Add(new ItemMapping("XCategory", DataPointMember.XCategory));
If I add 8 lines that each have 30 points it is grindingly slow to draw. 30+ seconds
If I swap the
for a LineSeriesDefinition it only takes a second to draw.
I have looked at the Performance Improvements
thread and page
1) Should I try and Simplify the chart ControlTemplate
? Is there an example of this for 3D?
I dont have any PointMarks to turn off, All animations are turned off
I have set the Axis range manually for the Y axis.
2) The X axis is an XCategory, is there a way I can specify the XCategories manually?
There are 30 different frequencies(16Hz, 24Hz etc), 1 category for each.
And a non performance related question
3) Is it possible to set the orientation of the 3D graph in the XAML, I am struggling to get CameraExtension.RotateY(-45) to work. I want to rotate the graph on start so that the Y axis is at the rear.