Added new class and display data to graph activity.