Cartesian Chart does not render correctly

2 posts, 0 answers
  1. Alexander
    Alexander avatar
    1 posts
    Member since:
    Jul 2015

    Posted 08 Jul 2015 Link to this post

    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>

     
  2. Vladislav
    Admin
    Vladislav avatar
    275 posts

    Posted 10 Jul 2015 Link to this post

    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
Back to Top