Chart FX for Java 6.5

SoftwareFX.ChartFX.Statistical
Class BoxPlot

java.lang.Object
  extended by SoftwareFX.ChartFX.Statistical.BoxPlot
All Implemented Interfaces:
IGalleryType

public final class BoxPlot
extends java.lang.Object
implements IGalleryType

Provides access to the BoxPlot gallery object.

A boxplot is a way of summarizing a set of data measured on an interval scale. It is often used in exploratory data analysis. It is a type of graph which is used to show the shape of the distribution, its central value, and variability. The supported members of this class allow the developer to configure additional attributes for a BoxPlot statistical chart.


Constructor Summary
BoxPlot()
           
 
Method Summary
 double getOutliersPercentile()
          Gets the OutliersPercentile.
 boolean isMonochrome()
          Gets the Monochrome.
 boolean isNotched()
          Gets the Notched.
 boolean isShowOutliers()
          Gets the ShowOutliers.
 void setMonochrome(boolean value)
          Gets or sets a value indicating whether the BoxPlot will be monochrome.
 void setNotched(boolean value)
          Gets or sets a value indicating whether the BoxPlot quartile boxes will indent.
 void setOutliersPercentile(double value)
          Gets or sets the percentage of a BoxPlot the Outlier should encompass.
 void setShowOutliers(boolean value)
          Gets or sets a value instructing the chart to paint small horizontal lines for values outside the lower and upper limits of the plot.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoxPlot

public BoxPlot()
Method Detail

getOutliersPercentile

public double getOutliersPercentile()

Gets the OutliersPercentile. For more detail see setOutliersPercentile(double).


isMonochrome

public boolean isMonochrome()

Gets the Monochrome. For more detail see setMonochrome(boolean).


isNotched

public boolean isNotched()

Gets the Notched. For more detail see setNotched(boolean).


isShowOutliers

public boolean isShowOutliers()

Gets the ShowOutliers. For more detail see setShowOutliers(boolean).


setMonochrome

public void setMonochrome(boolean value)

Gets or sets a value indicating whether the BoxPlot will be monochrome.

Remarks:
  • When a chart is configured as Monochrome, the graph will only consist of one color.

  • You may also configure a BoxPlot to be setNotched(boolean) or to setShowOutliers(boolean). The Notched attribute instructs Chart FX to indent the quartile boxes painted for the graph. The ShowOutliers instructs the chart to paint small horizontal lines for values outside the lower and upper limits of the plot.

  • To set the chart gallery to BoxPlot, you will need to assign the BoxPlot gallery type as the chart's gallery object:

    chart1.setGalleryObj(statistics1.getGallery().getBoxPlot());

  • See Also:
    setNotched(boolean), setShowOutliers(boolean), Statistics.getGallery(), Statistics

    setNotched

    public void setNotched(boolean value)

    Gets or sets a value indicating whether the BoxPlot quartile boxes will indent.

    Remarks:
  • The notch has a fixed waist size, what varies is the height of it. The idea of the notch is that it allows you to compare two boxplots side by side. The notched indicates where the .95 percentile of the data falls. It is calculated as follows:

    (1.57*IQR)/Math.Sqrt(n)

    Where, 1.57 represents the .95 in a Normal distribution.

  • To set the chart gallery to BoxPlot, you will need to assign the BoxPlot gallery type as the chart's gallery object:

    chart1.setGalleryObj(statistics1.getGallery().getBoxPlot());

  • Use the setMonochrome(boolean) property to instruct the chart plot to be painted in one color. We Monochrome is set to false, Chart FX uses multiple colors to paint the BoxPlot gallery.

  • The setShowOutliers(boolean) property instructs the chart to paint small horizontal lines for values outside the lower and upper limits of the plot.

  • See Also:
    setMonochrome(boolean), setShowOutliers(boolean), Statistics.getGallery(), Statistics

    setOutliersPercentile

    public void setOutliersPercentile(double value)

    Gets or sets the percentage of a BoxPlot the Outlier should encompass.

    Remarks:
  • The ShowOutliers property must be set to True in order to see Outliers.

  • See Also:
    setShowOutliers(boolean), BoxPlot

    setShowOutliers

    public void setShowOutliers(boolean value)

    Gets or sets a value instructing the chart to paint small horizontal lines for values outside the lower and upper limits of the plot.

    Remarks:
  • To set the chart gallery to BoxPlot, you will need to assign the BoxPlot gallery type as the chart's gallery object:

    chart1.setGalleryObj(statistics1.getGallery().getBoxPlot());

  • Use the setMonochrome(boolean) property to instruct the chart plot to be painted in one color. We Monochrome is set to false, Chart FX uses multiple colors to paint the BoxPlot gallery.

  • The setNotched(boolean) attribute instructs Chart FX to indent the quartile boxes painted for the graph.

  • See Also:
    setMonochrome(boolean), setNotched(boolean), Statistics.getGallery(), Statistics

    http://www.softwarefx.com

    2007 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
    All other names are trademarks or registered trademarks of their respective owners.