public class IntervalChart extends java.lang.Object implements IExtension, IGallery
The IntervalChart class supports the creation and customization of chart interval markers. These markers can help the user to quickly determine the distribution of plotted values in a chart. Some of the other classes derive from this IntervalChart class, including the Histogram, FrequencyPolygon and Ogive gallery classes.
Constructor and Description |
---|
IntervalChart() |
Modifier and Type | Method and Description |
---|---|
AxisX |
getAxisX()
This class provides a shortcut to the Chart's main Axis X object.
|
double |
getDataMax()
Gets or sets the maximum range value used for a Histogram chart.
|
double |
getDataMin()
Gets or sets the minimum range value used for a Histogram chart.
|
int |
getIntervals()
Gets or sets the number of intervals that will be used to plot the IntervalChart.
|
void |
resetDataMax()
Set the property DataMax to its default value.
|
void |
resetDataMin()
Set the property DataMin to its default value.
|
void |
resetIntervals()
Set the property Intervals to its default value.
|
void |
setDataMax(double value)
Gets or sets the maximum range value used for a Histogram chart.
|
void |
setDataMin(double value)
Gets or sets the minimum range value used for a Histogram chart.
|
void |
setIntervals(int value)
Gets or sets the number of intervals that will be used to plot the IntervalChart.
|
public AxisX getAxisX()
This class provides a shortcut to the Chart's main Axis X object.
public double getDataMax()
Gets or sets the maximum range value used for a Histogram chart.
setDataMin
method is used to set the minimum range value.setIntervals
method may be used to configure the number of "buckets" (Intervals) a histogram chart will include in the X Axis. You can determine the size of each Interval using the following:Interval Size = (DataMax - DataMin) / Intervals
To configure the DataMax to 50:
resetDataMax
public void setDataMax(double value)
Gets or sets the maximum range value used for a Histogram chart.
setDataMin
method is used to set the minimum range value.setIntervals
method may be used to configure the number of "buckets" (Intervals) a histogram chart will include in the X Axis. You can determine the size of each Interval using the following:Interval Size = (DataMax - DataMin) / Intervals
To configure the DataMax to 50:
value
- resetDataMax
public double getDataMin()
Gets or sets the minimum range value used for a Histogram chart.
setDataMax
method is used to set the maximum range value.setIntervals
method may be used to configure the number of "buckets" (Intervals) a histogram chart will include in the X Axis. You can determine the size of each Interval using the following:Interval Size = (DataMax - DataMin) / Intervals
To set the DataMin to 25:
resetDataMin
public void setDataMin(double value)
Gets or sets the minimum range value used for a Histogram chart.
setDataMax
method is used to set the maximum range value.setIntervals
method may be used to configure the number of "buckets" (Intervals) a histogram chart will include in the X Axis. You can determine the size of each Interval using the following:Interval Size = (DataMax - DataMin) / Intervals
To set the DataMin to 25:
value
- resetDataMin
public int getIntervals()
Gets or sets the number of intervals that will be used to plot the IntervalChart.
setPercentageLeft
and setPercentageRight
methods can be used to read the percentage of the plot left and right of the limit markers.setLimitLeft
method is used to get or set a value for the left limit. The setLimitRight
method is used to get or set a value for the right limit.setLimitsColor
to configure the color for the limit markers and labels.isShowLimits
method is used to show or hide the interval limits in the chart.resetIntervals
public void setIntervals(int value)
Gets or sets the number of intervals that will be used to plot the IntervalChart.
setPercentageLeft
and setPercentageRight
methods can be used to read the percentage of the plot left and right of the limit markers.setLimitLeft
method is used to get or set a value for the left limit. The setLimitRight
method is used to get or set a value for the right limit.setLimitsColor
to configure the color for the limit markers and labels.isShowLimits
method is used to show or hide the interval limits in the chart.value
- resetIntervals
public void resetDataMax()
setDataMax
public void resetDataMin()
setDataMin
public void resetIntervals()
setIntervals
2014 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.