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. Image for the cookie policy date

Bug in candle series?

Hello,this is my xaml code for the candle chart: 

 Charts:CandleSeries ItemsSource="{Binding Bitcoin}" XBindingPath="Timestamp"
                                 High="High" Low="Low" Open="Open" Close="Close" ListenPropertyChange="True"

And the chart draws like this... --> https://www.dropbox.com/s/428fouu87v523nl/error.jpg?dl=0

why are there bull candles with a green border filled red!?
Thank you in advance

Florian


1 Reply

DS Durgadevi Selvaraj Syncfusion Team July 27, 2017 09:47 AM UTC

Hi Florian,
  
Thanks for contacting Syncfusion Support. 

We have analyzed your query and unable to reproduced the issue at our end. However, We have suspect that, this is occur due to applying same x-data value for two points. Could you please check with your datas whether its containing same XData? 

Please find the below screenshots, 

1.Candle stick behavior on same XData: 

ViewModel.cs: 
  this.StockPriceDetails.Add(new Model() { XDate = 5, Open = 855, High = 860.75, Low = 841, Close = 846 }); 
  this.StockPriceDetails.Add(new Model() { XDate = 5, Open = 846, High = 860.75, Low = 841, Close = 855 }); 

 

2. Candlestick behavior on separate XData: 

ViewModel.cs: 
this.StockPriceDetails.Add(new Model() { XDate = 5, Open = 855, High = 860.75, Low = 841, Close = 846 }); 
             
this.StockPriceDetails.Add(new Model() { XDate = 6, Open = 846, High = 860.75, Low = 841, Close = 855 }); 

 
We have attached a simple sample for your reference and it can be downloaded from the below link, 

If you are still able to reproduce the problem then please revert us with more information or modifying the above sample it would be helpful for us to provide a solution sooner. 

Regards, 
Durgadevi S 
  
  


Loader.
Live Chat Icon For mobile
Up arrow icon