|
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.Galleries
public final class Galleries
Provides access to the Galleries object.
The Chart FX Statistical Extension provides additional statistical gallery types. The supported members of this class expose the properties used to return the a selected statistical gallery object which may then be assigned to the chart's GalleryObj property. Additionally, each of the supported members may be used to access the repective class object for further attribute assignment.
Constructor Summary | |
---|---|
Galleries()
|
Method Summary | |
---|---|
BoxPlot |
getBoxPlot()
Returns a BoxPlot gallery object. |
int |
getCurrent()
Gets the Current. |
FrequencyPolygon |
getFrequencyPolygon()
Returns a FrequencyPolygon gallery object. |
Histogram |
getHistogram()
Returns a Histogram gallery object. |
NPChart |
getNPChart()
Returns a NPChart gallery object. |
Ogive |
getOgive()
Returns a Ogive gallery object. |
PChart |
getPChart()
Returns a PChart gallery object. |
RChart |
getRChart()
Returns a RChart gallery object. |
Regression |
getRegression()
Returns a Regression gallery object. |
XChart |
getXChart()
Returns a XChart gallery object. |
void |
setCurrent(int value)
Gets or sets the current statistical gallery. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Galleries()
Method Detail |
---|
public BoxPlot getBoxPlot()
Returns a BoxPlot gallery object.
The Statistical extension supports a number of new gallery types. In order to set one of the supported gallery types to the chart, you must set the chart's GalleryObj equal to the desired statistic gallery. The following code could be used to configure the BoxPlot statistical chart:
chart1.setGalleryObj(statistics1.getGallery().getBoxPlot());
This property exposes a BoxPlot object, please see the BoxPlot
class for the supported members allowing customization of this object.
The Statistics.getGallery()
property of the Statistics
class allows you to access this property.
Statistics.getGallery()
,
BoxPlot
,
Statistics
public int getCurrent()
Gets the Current. For more detail see setCurrent(int)
.
public FrequencyPolygon getFrequencyPolygon()
Returns a FrequencyPolygon gallery object.
The Statistical extension supports a number of new gallery types. In order to set one of the supported gallery types to the chart, you must set the chart's GalleryObj equal to the desired statistic gallery. The following code could be used to configure the FrequencyPolygon statistical chart:
chart1.setGalleryObj(statistics1.getGallery().getFrequencyPolygon());
This property exposes an FrequencyPolygon
object which may by use the FrequencyPolygon class to modify attributes. This class is derived form the IntervalChart class however, so please also see the IntervalChart
class for the supported members allowing customization of this object.
The Statistics.getGallery()
property of the Statistics
class allows you to access this property.
Statistics.getGallery()
,
IntervalChart
,
FrequencyPolygon
,
Statistics
public Histogram getHistogram()
Returns a Histogram gallery object.
The Statistical extension supports a number of new gallery types. In order to set one of the supported gallery types to the chart, you must set the chart's GalleryObj equal to the desired statistic gallery. The following code could be used to configure the Histogram statistical chart:
chart1.setGalleryObj(statistics1.getGallery().getHistogram());
This property exposes an FrequencyPolygon
Histogram
object which may by use the Histogram class to modify attributes. This class is derived form the IntervalChart class however, so please also see the IntervalChart
class for the supported members allowing customization of this object.
The Statistics.getGallery()
property of the Statistics
class allows you to access this property.
Statistics.getGallery()
,
Histogram
,
IntervalChart
,
Statistics
public NPChart getNPChart()
Returns a NPChart gallery object.
The NPChart is one of the Statistical Process Control (SPC) chart galleries available in the Galleries class. Others include the getPChart()
, getRChart()
, and getXChart()
.
The Statistical extension supports a number of new gallery types. In order to set one of the supported gallery types to the chart, you must set the chart's GalleryObj equal to the desired statistic gallery. The following code could be used to configure the NPChart statistical chart:
chart1.setGalleryObj(statistics1.getGallery().getNPChart());
The Statistics.getGallery()
property of the Statistics
class allows you to access this property.
getPChart()
,
getRChart()
,
getXChart()
,
Statistics.getGallery()
,
Statistics
public Ogive getOgive()
Returns a Ogive gallery object.
The Statistical extension supports a number of new gallery types. In order to set one of the supported gallery types to the chart, you must set the chart's GalleryObj equal to the desired statistic gallery. The following code could be used to configure the Ogive statistical chart:
chart1.setGalleryObj(statistics1.getGallery().getOgive());
This property exposes an Ogive object, however, please see the IntervalChart
class for the supported members allowing customization of this object.
The Statistics.getGallery()
property of the Statistics
class allows you to access this property.
getBoxPlot()
,
getFrequencyPolygon()
,
getHistogram()
,
getRegression()
,
Statistics.getGallery()
,
IntervalChart
,
Statistics
public PChart getPChart()
Returns a PChart gallery object.
The PChart is one of the Statistical Process Control (SPC) chart galleries available in the Galleries class. Others include the getNPChart()
, getRChart()
, and getXChart()
.
The Statistical extension supports a number of new gallery types. In order to set one of the supported gallery types to the chart, you must set the chart's GalleryObj equal to the desired statistic gallery. The following code could be used to configure the PChart statistical chart:
chart1.setGalleryObj(statistics1.getGallery().getPChart());
The Statistics.getGallery()
property of the Statistics
class allows you to access this property.
getNPChart()
,
getRChart()
,
getXChart()
,
Statistics.getGallery()
,
Statistics
public RChart getRChart()
Returns a RChart gallery object.
The RChart is one of the Statistical Process Control (SPC) chart galleries available in the Galleries class. Others include the getNPChart()
, getPChart()
, and getXChart()
.
The Statistical extension supports a number of new gallery types. In order to set one of the supported gallery types to the chart, you must set the chart's GalleryObj equal to the desired statistic gallery. The following code could be used to configure the RChart statistical chart:
chart1.setGalleryObj(statistics1.getGallery().getRChart());
The Statistics.getGallery()
property of the Statistics
class allows you to access this property.
getNPChart()
,
getPChart()
,
getXChart()
,
Statistics.getGallery()
,
Statistics
public Regression getRegression()
Returns a Regression gallery object.
The Statistical extension supports a number of new gallery types. In order to set one of the supported gallery types to the chart, you must set the chart's GalleryObj equal to the desired statistic gallery. The following code could be used to configure the Regression statistical chart:
chart1.setGalleryObj(statistics1.getGallery().getRegression());
The Statistics.getGallery()
property of the Statistics
class allows you to access this property.
getBoxPlot()
,
getFrequencyPolygon()
,
getHistogram()
,
getOgive()
,
Statistics.getGallery()
,
Statistics
public XChart getXChart()
Returns a XChart gallery object.
The XChart is one of the Statistical Process Control (SPC) chart galleries available in the Galleries class. Others include the getNPChart()
, getPChart()
, and getRChart()
.
The Statistical extension supports a number of new gallery types. In order to set one of the supported gallery types to the chart, you must set the chart's GalleryObj equal to the desired statistic gallery. The following code could be used to configure the XChart statistical chart:
chart1.setGalleryObj(statistics1.getGallery().getXChart());
The Statistics.getGallery()
property of the Statistics
class allows you to access this property.
getNPChart()
,
getPChart()
,
getRChart()
,
Statistics.getGallery()
,
Statistics
public void setCurrent(int value)
Gets or sets the current statistical gallery.
Gallery :
Statistical Gallery types.Value | Description |
---|---|
Gallery.NONE | None |
Gallery.BOX_PLOT | BoxPlot gallery |
Gallery.HISTOGRAM | Histogram gallery |
Gallery.FREQUENCY_POLYGON | FrequencyPolygon gallery |
Gallery.OGIVE | Ogive gallery |
Gallery.REGRESSION | Regression gallery |
Gallery.XCHART | XChart gallery |
Gallery.RCHART | RChart gallery |
Gallery.PCHART | PChart gallery |
Gallery.NPCHART | NPChart gallery |
You may configure the gallery for the chart using the chart's GalleryObj property, or using this property (Both these code snippets do the same thing):
chart1.setGalleryObj(statistics1.getGallery().getRegression());
statistics1.getGallery().setCurrent(Galleries.getGallery().getRegression();
This property is probably most useful to the developer when identifying which gallery is currently selected in the chart.
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |