if (plot.getOrientation() == PlotOrientation.VERTICAL) {
                    state.workingLine.setLine(transX0, transY0, transX1, 
                            transY1);
                }
                else if (plot.getOrientation() == PlotOrientation.HORIZONTAL) {
                    state.workingLine.setLine(transY0, transX0, transY1, 
                            transX1);