Updated getData function in Axis class

Added overloaded getData function to fetch individual record from data
Revert "Updated getData function in Axis class"

This reverts commit 31efaa4f754b03fdbcc9c5d45104be1fe1af0379.