This question is locked. New answers and comments are not allowed.
I have a very simple cartesian Chart with a SplineAreaSeries, but it does not render correctly!
The values are binded correctly as you can see when using the trackball Feature.
Any help would be appreciated
1.namespace Fitness_Battle2.{3. public class ChartData4. {5. public uint YAxis { get; set; }6. public uint XAxis { get; set; }7. }8.}
1.List<ChartData> data = new List<ChartData>();2.uint c = 0;3.foreach(StepChallenge stepChallenge in allStepChallenges) {4. data.Add(new ChartData { XAxis = ++c, YAxis = stepChallenge.StepCount + c });5.}6. 7.this.StepChart.DataContext = data;
01.<Chart:RadCartesianChart x:Name="StepChart" Margin="19,10" Grid.Row="1" VerticalAlignment="Top" Height="300">02. <Chart:RadCartesianChart.HorizontalAxis>03. <Chart:LinearAxis/>04. </Chart:RadCartesianChart.HorizontalAxis>05. <Chart:RadCartesianChart.VerticalAxis>06. <Chart:LinearAxis/>07. </Chart:RadCartesianChart.VerticalAxis>08. 09. <Chart:RadCartesianChart.Behaviors>10. <Chart:ChartTrackBallBehavior/>11. </Chart:RadCartesianChart.Behaviors>12. 13. 14. <Chart:ScatterSplineAreaSeries ItemsSource="{Binding}">15. <Chart:ScatterSplineAreaSeries.XValueBinding>16. <Chart:PropertyNameDataPointBinding PropertyName="XAxis"/>17. </Chart:ScatterSplineAreaSeries.XValueBinding>18. <Chart:ScatterSplineAreaSeries.YValueBinding>19. <Chart:PropertyNameDataPointBinding PropertyName="YAxis"/>20. </Chart:ScatterSplineAreaSeries.YValueBinding>21. </Chart:ScatterSplineAreaSeries>22. </Chart:RadCartesianChart>