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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

simple line chart

Thread ID:

Created:

Updated:

Platform:

Replies:

121228 Nov 20,2015 01:24 AM UTC Nov 23,2015 04:56 AM UTC Windows Phone 4
loading
Tags: Chart
Brian Hamilton
Asked On November 20, 2015 01:24 AM UTC

Hi
I am using Visual Studio C# to create a simple windows phone app
and I am wanting to add a simple line chart using sfChart
This is what I have done so far:
I drop a sfChart onto the form and name it chart
then from a button click I have
LineSeries lineChart = new LineSeries();
double[] valueList = new double[10];
valueList[0] = 0.5;
valueList[1] = 0.6;
valueList[2] = 0.7;
valueList[3] = 0.8;
lineChart.ItemsSource = valueList;
chart.Series.Add(lineChart);
but I run it and click on the button nothing happens....i.e the graph still looks like default...i.e x scale is 0 to 1 and y scale is 0 to 1 and no line is drawn
I must be missing something simple
thanks for any help!
Brian

Brian Hamilton
Replied On November 20, 2015 04:02 AM UTC

making progress
using the code shown here (which has spaces missing after the word new)
http://help.syncfusion.com/winrt/sfchart/getting-started
I do get that graph to show
so will push on :)

Santhiya Arulsamy [Syncfusion]
Replied On November 20, 2015 08:42 AM UTC

Hi Brian,

Thanks for your update.

We are glad to know that you found the solution.

Please let us know if you have any query.

Regards,

Santhiya A

Brian Hamilton
Replied On November 20, 2015 07:32 PM UTC

Hi
I got it all working, having the graph update from real time data
great components!
:)
Brian

Santhiya Arulsamy [Syncfusion]
Replied On November 23, 2015 04:56 AM UTC

Hi Brian,

Thanks for your update.

We are glad to know that the solution works for you.

Please contact us if you need any further assistance.

Thanks,

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

;