We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

errors that don't stop the program from running wpf

Thread ID:

Created:

Updated:

Platform:

Replies:

121045 Nov 5,2015 03:10 PM UTC Nov 6,2015 12:21 PM UTC WPF 1
loading
Tags: SfChart
Ryan Archibald
Asked On November 5, 2015 03:10 PM UTC

I have a line chart and I can run the program fine but I have these errors that appear yet I can still run my program. I know this is probably not what I should be worried about since it works fine, but can someone please explain to em why they appear in the first place and if possible how to make them go away?

Error 1 A value of type 'LineSeries' cannot be added to a collection or dictionary of type 'ChartSeriesCollection'.
Error 2 The property 'ItemsSource' was not found in type 'LineSeries'.
Error 3 The property 'XBindingPath' was not found in type 'LineSeries'.

        <Grid.DataContext>
            <local:ViewModel/>
        </Grid.DataContext>

        <syncfusion:SfChart Margin="10" Panel.ZIndex="5">

            <syncfusion:SfChart.PrimaryAxis>
                <syncfusion:CategoryAxis />
            </syncfusion:SfChart.PrimaryAxis>

            <syncfusion:SfChart.SecondaryAxis>
                <syncfusion:NumericalAxis Maximum="80"/>
            </syncfusion:SfChart.SecondaryAxis>

            <syncfusion:SfChart.Behaviors>
                <syncfusion:ChartCrossHairBehavior/>
                <syncfusion:ChartTrackBallBehavior/>
            </syncfusion:SfChart.Behaviors>

            <syncfusion:LineSeries x:Name="series" ItemsSource="{Binding DataPoint}" 
                                   XBindingPath="XData"
                                   YBindingPath="YData">
                <syncfusion:LineSeries.YAxis>
                    <syncfusion:NumericalAxis/>
                </syncfusion:LineSeries.YAxis>
            </syncfusion:LineSeries>
        </syncfusion:SfChart>

Any help would be amazing

Thanks

Ryan



Santhiya Arulsamy [Syncfusion]
Replied On November 6, 2015 12:21 PM UTC

Hi Ryan,

Thanks for your update.

We are unable to reproduce the reported problem at our end. Please change the sample attachment to reproduce the problem and update us.

Sample: YAxisLabel_145753

Regards,

Santhiya A.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;