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

CandleStick. Not displayed (not drawn) changes within the candles.

1 Answer 19 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Гоша asked on 08 Apr 2016, 09:56 AM

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:CartesianChartGrid MajorLinesVisibility="Y"/>
                    <telerik:ChartPanAndZoomBehavior DragToZoomThreshold="0" MouseWheelMode="Zoom" DragMode="Pan" ZoomMode="Both" PanMode="Both"/>
                    <telerik:DateTimeContinuousAxis x:Name="AxisX"  LabelFormat="HH:mm" LabelFitMode="Rotate" SmartLabelsMode="SmartStep" PlotMode="OnTicksPadded"  />
                    <telerik:LinearAxis MajorStep="1" LineThickness="1" SmartLabelsMode="SmartStepAndRange" />
               <telerik:CandlestickSeries  ItemsSource="{Binding Candls}" CategoryBinding="Time" CloseBinding="Close" HighBinding="High" LowBinding="Low" OpenBinding="Open" DefaultVisualStyle="{DynamicResource #CandleStickStyle}" />

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?


1 Answer, 1 is accepted

Sort by
Martin Ivanov
Telerik team
answered on 12 Apr 2016, 09:26 AM
Hello Gosha,

Without your implementation I cannot be sure what is causing this behavior. However, you can check if the view model of the data points implements the INotifyPropertyChanged interface and if the PropertyChanged event is raised in the property setters. This will ensure that the changes in the view model are reflected in the UI.

Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Asked by
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question