PlotOrientation Class

  • PlotOrientation Class comes under the org.jfree.chart.plot package of JFreeChart library.
  • This class is used to create the orientation either horizontal or vertical of a 2D plot.
  • It is the direction of the y-axis that is the determinant (a conventional plot has a vertical y-axis).

Field summary:

Modifier and TypeFieldDescription
static PlotOrientationHORIZONTALFor a plot where the range axis is horizontal.
static PlotOrientationVERTICALFor a plot where the range axis is vertical.

Method Summary:

MethodDescription
equals(Object obj)This method returns true if this object is equal to the specified object and false otherwise.
hashCode( )This method returns a hash code for this instance.
isHorizontal( )This method returns true if this orientation is HORIZONTAL, and false otherwise.
isVertical( )This method returns true if this orientation is VERTICAL, and false otherwise.
toString( )This method returns a string representing the object.





Latest Courses