Modified existing onMeasure to stretch the graph to fit parent element horizontally.
Removed unnecessary acessors/mutators