Problem with candlestick width

3 posts, 0 answers
  1. Denis
    Denis avatar
    2 posts
    Member since:
    Mar 2015

    Posted 17 Mar 2015 Link to this post

    Hi, I have a problem with candlesticks in CandlestickSeries. They start overlapping over each other after zomming out.
    What property is responsible for gaps between candles?

    Changing the MinWidth like this doesn't help:
                      <telerik:CandlestickSeries.DefaultVisualStyle>
                            <Style TargetType="telerik:Candlestick">
                                <Setter Property="MinWidth"  Value="1"/>
                            </Style>
                        </telerik:CandlestickSeries.DefaultVisualStyle>

    Thanks
    Denis
  2. Peshito
    Admin
    Peshito avatar
    497 posts

    Posted 19 Mar 2015 Link to this post

    Hello Denis,

    From the picture attached I assume you are using DateTimeContinuous axis. With this axis type the values are sorted chronologically and datapoints are plotted in accordance to their DateTime value, which won't always start where the axis tick is. Using DateTimeCategorical axis instead, will leave a distance between each data item as they will be placed in accordance to the category and will be centered. This way they won't overlap with each other.

    Regards,
    Peshito
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Denis
    Denis avatar
    2 posts
    Member since:
    Mar 2015

    Posted 19 Mar 2015 in reply to Peshito Link to this post

    Hi, Peshito
    It works. Thanks
    Denis 
Back to Top