/** * Sets the chart's orientation. * * @param orien Orientation.HORIZONTAL | Orientation.VERTICAL */ void setOrientation(Orientation orien){ mOrientation = orien; if(mOrientation == Orientation.VERTICAL) { verController.handleValues = true; }else{ horController.handleValues = true; } }