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.
Unfortunately, activation email could not send to your email. Please try again.

simple line chart

Thread ID:





121228 Nov 19,2015 08:24 PM Nov 22,2015 11:56 PM Windows Phone 4
Tags: Chart
Brian Hamilton
Asked On November 19, 2015 08:24 PM

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;
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 Hamilton
Replied On November 19, 2015 11:02 PM

making progress
using the code shown here (which has spaces missing after the word new)
I do get that graph to show
so will push on :)

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

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.


Santhiya A

Brian Hamilton
Replied On November 20, 2015 02:32 PM

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

Santhiya Arulsamy [Syncfusion]
Replied On November 22, 2015 11:56 PM

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.


Santhiya A


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.

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.