Now, space between the x-axis labels can be programmatically set.
Added basis vor inverting y-axis, feature not complete yet.
Feature to invert the y-axis is now working.