Added in code for margin and label orientations.

Added in visualizer-side code for margin and x-axis label orientation
customization.