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

CandleSeries not showing Items in C# UWP

Thread ID:

Created:

Updated:

Platform:

Replies:

143248 Mar 11,2019 05:22 PM UTC Mar 13,2019 04:24 AM UTC UWP 3
loading
Tags: SfChart
Alexander
Asked On March 11, 2019 05:22 PM UTC

Hello,

I'm currently having a problem with the Candle Series of SfChart. I've attached a code sample.
The code is actually basic and not complex. However the Chart does not get visualised, although I can see in the debugger, that the Chart gets the items from the collection right.

Any advice on what I am doing wrong?

Greetings
Alexander

Attachment: SampeCandleSeries_423f5c49.7z

Muneesh Kumar G [Syncfusion]
Replied On March 12, 2019 04:18 AM UTC

Hi Alexander, 
 
Greetings from Syncfusion, we have analyzed your sample and we found that you have missed to initialize the SfChart. You have to initialize the CandleSeries within the SfChart only. Please refer the modified code snippet below.  
 
Code snippet 
<Grid> 
        <sfchart:SfChart> 
             
        
        <sfchart:CandleSeries x:Name="CandleChart" ListenPropertyChange="True"  
                              ComparisonMode="None" ItemsSource="{Binding Candles}"  
                              BearFillColor="Red" BullFillColor="Green"      
                              XBindingPath="Date"  
                              Open="Open" High="High" Low="Low" Close="Close"/> 
        </sfchart:SfChart> 
    </Grid> 
 
Please refer below user documentation for more details about SfChart initialization. 
 
 
Hope it helps you.  
 
Thanks, 
Muneesh Kumar G.  
 


Alexander
Replied On March 12, 2019 12:41 PM UTC

Thank you, that worked.
I only refered to https://help.syncfusion.com/uwp/sfchart/series#financial-charts, missing out the part for initalizing the SfChart.

Muneesh Kumar G [Syncfusion]
Replied On March 13, 2019 04:24 AM UTC

Hi Alexander,  
 
Thanks for the update. 
  
We are glad to know that the given solution works. Please let us know if you need any further assistance. 
 
Thanks, 
Muneesh Kumar G. 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

;