add customizable domains for x and y axes