hi,
i'm looking for a real time line chart example in android environment.
controlling axis (x,y), number of points in the graph
Thanks,
Shay Hadar
3 Answers, 1 is accepted
0
Victor
Telerik team
answered on 11 Sep 2014, 08:09 AM
Hi Shay,
Thanks for writing.
With the current version of the chart you can create an instance of ObservableCollection<T> and populate it with some data objects. Then you set it as the data source for your series. Once this is set up, all you need to do is to add new data as it comes in. The observable collection notifies the series automatically and the chart updates itself.
Please have a look at our online help and write again if you need further assistance.
Regards,
Victor
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.
i tried the DateTimeContinuousAxis sample, without ObservableCollection.
can you supply code example using DateTimeContinuousAxis as time line with ObservableCollection.
thanks,
Shay
0
Victor
Telerik team
answered on 11 Sep 2014, 12:11 PM
Hi Shay,
The only difference is that instead of using an ArrayList<T> for the series data, you use ObservableCollection<T>. You can literally use the find and replace tool in your IDE to make the change :).
Regards,
Victor
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.