This is a migrated thread and some comments may be shown as answers.

Cartesian Chart does not render correctly

1 Answer 35 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alexander
Top achievements
Rank 1
Alexander asked on 08 Jul 2015, 11:23 AM

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_Battle
2.{
3.    public class ChartData
4.    {
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>

 

1 Answer, 1 is accepted

Sort by
0
Vladislav
Telerik team
answered on 10 Jul 2015, 10:48 AM
Hello Alexander,

Thank you for this report. We confirm that this is actually a bug in the RadChart control and will do our best to provide a fix for it in some of our consecutive releases.

Your Telerik points are updated accordingly.

Regards,
Vladislav
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Chart
Asked by
Alexander
Top achievements
Rank 1
Answers by
Vladislav
Telerik team
Share this question
or