Dinko Hi!
Thanks for the answer. But the problem is elsewhere. Here is the code of the chart:
<
telerik:RadCartesianChart
x:Name
=
"chartTelerik"
Grid.Row
=
"0"
>
<
telerik:RadCartesianChart.Grid
>
<
telerik:CartesianChartGrid
MajorLinesVisibility
=
"Y"
/>
</
telerik:RadCartesianChart.Grid
>
<
telerik:RadCartesianChart.Behaviors
>
<
telerik:ChartCrosshairBehavior
/>
<
telerik:ChartPanAndZoomBehavior
DragToZoomThreshold
=
"0"
MouseWheelMode
=
"Zoom"
DragMode
=
"Pan"
ZoomMode
=
"Both"
PanMode
=
"Both"
/>
</
telerik:RadCartesianChart.Behaviors
>
<
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:DateTimeContinuousAxis
x:Name
=
"AxisX"
LabelFormat
=
"HH:mm"
LabelFitMode
=
"Rotate"
SmartLabelsMode
=
"SmartStep"
PlotMode
=
"OnTicksPadded"
/>
</
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:LinearAxis
MajorStep
=
"1"
LineThickness
=
"1"
SmartLabelsMode
=
"SmartStepAndRange"
/>
</
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:CandlestickSeries
x:Name
=
"CandleSeries"
CategoryBinding
=
"Time"
CloseBinding
=
"Close"
HighBinding
=
"High"
LowBinding
=
"Low"
OpenBinding
=
"Open"
DefaultVisualStyle
=
"{DynamicResource #CandleStickStyle}"
ItemsSource
=
"{Binding Candls}"
/>
</
telerik:RadCartesianChart
>
Result Fig. 1 Note the properties GapLengtn value in the upper right corner. Image Graphics "spoil" immediately after the occurrence of a gap in the data set. Change the value GapLengnt hands at a value close to 1. And the chart is restored. Fig 2,3
How to make sure that this parameter is automatically recalculated?