|
||
| Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate | ||
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.aspose.cells.ErrorBars
public class ErrorBars
Represents the error bars on a chart series.
| Method Summary | |
|---|---|
double |
getAmount()
Gets the error amount. |
Line |
getBorder()
Gets the line or border of ErrorBars object. |
java.lang.String |
getCustomAmount()
Gets the positive error amount when type is custom. |
byte |
getInclude()
Gets type of the error bar parts to include. |
java.lang.String |
getMinusValues()
Gets the negative error amount when type is custom. |
byte |
getType()
Gets the error bar type. |
boolean |
hasEndStyleCap()
Indicates whether the error bars has the end style cap for the error bars. |
void |
setAmount(byte type,
double amount)
Sets the error bar type and amount. |
void |
setCustomAmount(java.lang.String amount,
java.lang.String minusValues)
Sets the error bar custom amount. |
void |
setEndStyleCap(boolean hasCap)
Sets whether the error bars has the end style cap for the error bars. |
void |
setInclude(byte include)
Sets the type of the error bar parts to include. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Line getBorder()
CellsException - if ASeries object has bean removed.public byte getInclude()
setInclude(byte)public void setInclude(byte include)
include - the type of the error bar parts to include.
It could be one of the following values: | ErrorBarInclude.NONE |
| ErrorBarInclude.BOTH |
| ErrorBarInclude.MINUS_VALUES |
| ErrorBarInclude.PLUS_VALUES |
java.lang.IllegalArgumentException - if the type is invalid.
CellsException - if ASeries object has bean removed.public byte getType()
setAmount(byte, double)public double getAmount()
public java.lang.String getCustomAmount()
public java.lang.String getMinusValues()
public void setAmount(byte type,
double amount)
type - The error bar type.
It could be one of the following values: | ErrorBarType.PERCENT |
| ErrorBarType.STANDARD_ERROR |
| ErrorBarType.FIXED_VALUE |
| ErrorBarType.STANDARD_DEV |
amount - The error amount.
java.lang.IllegalArgumentException - if amount is less than 0
when type is PERCENT,STANDARD_DEV or FIXED_VALUE.
java.lang.IllegalArgumentException - if type is not one of ErrorBarType constants.
CellsException - if ASeries object has bean removed.
public void setCustomAmount(java.lang.String amount,
java.lang.String minusValues)
amount - The positive error amount .minusValues - The negative error amount .
CellsException - if ASeries object has bean removed.public boolean hasEndStyleCap()
public void setEndStyleCap(boolean hasCap)
hasCap - whether the error bars has the end style cap for the error bars.
CellsException - if ASeries object has bean removed.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||