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, setIntervals
public 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:
resetLimitLeft
public 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
- resetLimitLeft
public 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:
resetLimitRight
public 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
- resetLimitRight
public 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:
resetLimitsColor
public 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
- resetLimitsColor
public 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:
resetShowLimits
public 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
- resetShowLimits
public 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:
resetShowNormal
public 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
- resetShowNormal
public void resetLimitLeft()
setLimitLeft
public void resetLimitRight()
setLimitRight
public void resetLimitsColor()
setLimitsColor
public void resetShowLimits()
isShowLimits
public void resetShowNormal()
isShowNormal
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.