public class IntervalChartWithNormal extends IntervalChart
The IntervalChartWithNormal class supports the customization of chart's including interval markers and a Normal Distribution curve. Some of the other classes derive from the IntervalChartWithNormal class, including the Histogram and FrequencyPolygon gallery classes.
| Constructor and Description |
|---|
IntervalChartWithNormal() |
| Modifier and Type | Method and Description |
|---|---|
int |
getLimitLeft()
Gets or sets a value for the left interval limit.
|
int |
getLimitRight()
Gets or sets a value for the right interval limit.
|
java.awt.Color |
getLimitsColor()
Gets or sets the color for the limit markers for chart intervals.
|
double |
getPercentageLeft()
Gets the percentage of the plot left of the interval.
|
double |
getPercentageRight()
Gets the percentage of the plot right of the interval.
|
boolean |
isShowLimits()
Gets or sets a value indicating whether to display the interval markers.
|
boolean |
isShowNormal()
Gets or sets a value indicating whether to display the Normal curve.
|
void |
resetLimitLeft()
Set the property LimitLeft to its default value.
|
void |
resetLimitRight()
Set the property LimitRight to its default value.
|
void |
resetLimitsColor()
Set the property LimitsColor to its default value.
|
void |
resetShowLimits()
Set the property ShowLimits to its default value.
|
void |
resetShowNormal()
Set the property ShowNormal to its default value.
|
void |
setLimitLeft(int value)
Gets or sets a value for the left interval limit.
|
void |
setLimitRight(int value)
Gets or sets a value for the right interval limit.
|
void |
setLimitsColor(java.awt.Color value)
Gets or sets the color for the limit markers for chart intervals.
|
void |
setShowLimits(boolean value)
Gets or sets a value indicating whether to display the interval markers.
|
void |
setShowNormal(boolean value)
Gets or sets a value indicating whether to display the Normal curve.
|
getAxisX, getDataMax, getDataMin, getIntervals, resetDataMax, resetDataMin, resetIntervals, setDataMax, setDataMin, setIntervalspublic int getLimitLeft()
Gets or sets a value for the left interval limit.
The setLimitRight method is used to get or set a value for the right limit.
The setPercentageLeft and setPercentageRight methods can be used to read the percentage of the plot left and right of the limit markers.
Use the setLimitsColor to configure the color for the limit markers and labels.
Set the LimitLeft to 5:
resetLimitLeftpublic void setLimitLeft(int value)
Gets or sets a value for the left interval limit.
The setLimitRight method is used to get or set a value for the right limit.
The setPercentageLeft and setPercentageRight methods can be used to read the percentage of the plot left and right of the limit markers.
Use the setLimitsColor to configure the color for the limit markers and labels.
Set the LimitLeft to 5:
value - resetLimitLeftpublic int getLimitRight()
Gets or sets a value for the right interval limit.
The setLimitLeft method is used to get or set a value for the left limit.
The setPercentageLeft and setPercentageRight methods can be used to read the percentage of the plot left and right of the limit markers.
Use the setLimitsColor to configure the color for the limit markers and labels.
Set the LimitRight to 25:
resetLimitRightpublic void setLimitRight(int value)
Gets or sets a value for the right interval limit.
The setLimitLeft method is used to get or set a value for the left limit.
The setPercentageLeft and setPercentageRight methods can be used to read the percentage of the plot left and right of the limit markers.
Use the setLimitsColor to configure the color for the limit markers and labels.
Set the LimitRight to 25:
value - resetLimitRightpublic java.awt.Color getLimitsColor()
Gets or sets the color for the limit markers for chart intervals.
The setPercentageLeft and setPercentageRight methods can be used to read the percentage of the plot left and right of the limit markers.
The 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.
To configure the LimitsColor to HotPink:
resetLimitsColorpublic void setLimitsColor(java.awt.Color value)
Gets or sets the color for the limit markers for chart intervals.
The setPercentageLeft and setPercentageRight methods can be used to read the percentage of the plot left and right of the limit markers.
The 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.
To configure the LimitsColor to HotPink:
value - resetLimitsColorpublic double getPercentageLeft()
Gets the percentage of the plot left of the interval.
public double getPercentageRight()
Gets the percentage of the plot right of the interval.
public boolean isShowLimits()
Gets or sets a value indicating whether to display the interval markers.
This method is used to show or hide the configured limit markers in a chart.
The setPercentageLeft and setPercentageRight methods can be used to read the percentage of the plot left and right of the limit markers.
The 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.
To hide the interval markers in the chart:
resetShowLimitspublic void setShowLimits(boolean value)
Gets or sets a value indicating whether to display the interval markers.
This method is used to show or hide the configured limit markers in a chart.
The setPercentageLeft and setPercentageRight methods can be used to read the percentage of the plot left and right of the limit markers.
The 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.
To hide the interval markers in the chart:
value - resetShowLimitspublic boolean isShowNormal()
Gets or sets a value indicating whether to display the Normal curve.
The setPercentageLeft and setPercentageRight methods can be used to read the percentage of the plot left and right of the limit markers.
The 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.
To set the isShowNormal method to false:
resetShowNormalpublic void setShowNormal(boolean value)
Gets or sets a value indicating whether to display the Normal curve.
The setPercentageLeft and setPercentageRight methods can be used to read the percentage of the plot left and right of the limit markers.
The 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.
To set the isShowNormal method to false:
value - resetShowNormalpublic void resetLimitLeft()
setLimitLeftpublic void resetLimitRight()
setLimitRightpublic void resetLimitsColor()
setLimitsColorpublic void resetShowLimits()
isShowLimitspublic void resetShowNormal()
isShowNormal2014 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.