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.
Syncfusion Feedback

Feature request third candle color when open equals close

Thread ID:

Created:

Updated:

Platform:

Replies:

124263 May 27,2016 09:34 AM UTC Jan 9,2017 07:22 AM UTC UWP 3
loading
Tags: SfChart
William Wang
Asked On May 27, 2016 09:34 AM UTC

Currently when open and close are even price, the bear color is used.

Thanks,
William

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On May 30, 2016 11:16 AM UTC

Hi William, 
  
Thanks for contacting Syncfusion Support. 
  
As informed, we have already logged feature request on this requirement and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates. 
  
  
Regards, 
Devi M 


Bryan Lising
Replied On January 8, 2017 03:56 AM UTC

I also have the same requirement to add colors to the OHLC bars.
I wish there's styling and datatemplating support for each segment.
I was able to do modify the color of the HiLoOpenClose series by making overriding the CreateSegments() method.
I'm not sure how efficient this is but this is the easiest way I've found for now.
this works for me since the number of bars I display is not large.

public class HiLoOpenCloseCustomSeries:HiLoOpenCloseSeries
  {
    public override void CreateSegments()
    {
      base.CreateSegments();
     
      foreach(var item in Segments)
      {
        var hiloseg = item as HiLoOpenCloseSegment;

         if(hiloseg.Open == hiloseg.Close)
        {
          hiloseg.BearFillColor = Brushes.Yellow;
          hiloseg.BullFillColor = Brushes.Yellow;
        }

        }
       
      }
    }
}


This would've been more efficient if there was a method exposed for after a segment was created. Like an OnSegmentCreated(HiLoOpenCloseSegment segment)

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On January 9, 2017 07:22 AM UTC

Hi Bryan, 
  
Thanks for contacting Syncfusion support. 
  
Currently we don’t have any event to expose once the segments of the series get created. However, we have considered your requirement as a feature request and we have added it to our feature request list. This feature will be implemented in any of our upcoming releases. 
  
Regards, 
Devi   


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

;