This is a migrated thread and some comments may be shown as answers.

Problem with candlestick width

2 Answers 124 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Denis
Top achievements
Rank 1
Denis asked on 17 Mar 2015, 08:34 AM
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 Answers, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 19 Mar 2015, 08:58 AM
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.

 
0
Denis
Top achievements
Rank 1
answered on 19 Mar 2015, 12:18 PM
Hi, Peshito
It works. Thanks
Denis 
Tags
Chart
Asked by
Denis
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Denis
Top achievements
Rank 1
Share this question
or