Javatpoint Logo
Javatpoint Logo

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 Type Field Description
static PlotOrientation HORIZONTAL For a plot where the range axis is horizontal.
static PlotOrientation VERTICAL For a plot where the range axis is vertical.

Method Summary:

Method Description
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.

Next Topic>NumberAxis Class





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA