I can not understand how to solve the following problem: There is real-time chart of Security.
<
<
telerik:RadCartesianChart
x:Name
=
"chart"
Grid.Column
=
"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
ItemsSource
=
"{Binding Candls}"
CategoryBinding
=
"Time"
CloseBinding
=
"Close"
HighBinding
=
"High"
LowBinding
=
"Low"
OpenBinding
=
"Open"
DefaultVisualStyle
=
"{DynamicResource #CandleStickStyle}"
/>
</
telerik:RadCartesianChart
>
public
ObservableCollectionEx<Candle> Candls =
new
ObservableCollectionEx<Candle>();
New candles appear immediately. Change the "Close" is not displayed in the candle when changes occur between the extreme values of the "Close". in a stream of data received and the change correctly. This can be seen on the grid.
I tried to delete data from the collection of the last candle and insert new data, not to make changes to existing ones. The result remained the same :(
How can I display all the changes in the closing candle?