@PiyushMishra just to confirm, I am try to plot some points and lines according to the real time data. It can be done by "create an xml and inside that xml you can set your class
create the object from the xml
then inside the timer or thread or anymean you can refresh the view" Right?