|
Chart FX for Java 6.5 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SoftwareFX.ChartFX.Statistical.BoxPlot
public final class BoxPlot
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 |
---|
public BoxPlot()
Method Detail |
---|
public double getOutliersPercentile()
Gets the OutliersPercentile. For more detail see setOutliersPercentile(double)
.
public boolean isMonochrome()
Gets the Monochrome. For more detail see setMonochrome(boolean)
.
public boolean isNotched()
Gets the Notched. For more detail see setNotched(boolean)
.
public boolean isShowOutliers()
Gets the ShowOutliers. For more detail see setShowOutliers(boolean)
.
public void setMonochrome(boolean value)
Gets or sets a value indicating whether the BoxPlot will be monochrome.
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());
setNotched(boolean)
,
setShowOutliers(boolean)
,
Statistics.getGallery()
,
Statistics
public void setNotched(boolean value)
Gets or sets a value indicating whether the BoxPlot quartile boxes will indent.
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.
setMonochrome(boolean)
,
setShowOutliers(boolean)
,
Statistics.getGallery()
,
Statistics
public void setOutliersPercentile(double value)
Gets or sets the percentage of a BoxPlot the Outlier should encompass.
The ShowOutliers property must be set to True in order to see Outliers.
setShowOutliers(boolean)
,
BoxPlot
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.
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.
setMonochrome(boolean)
,
setNotched(boolean)
,
Statistics.getGallery()
,
Statistics
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |