|
Chart FX 7 for Java Server | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IDataArray
The IDataArray interface provides access to the chart's data in a multi-dimensional way.
| Method Summary | |
|---|---|
void |
clear()
Removes all of the values. |
double |
get(int point)
Returns the element at the specified position in the IDataArray. |
double |
get(int series,
int point)
Returns the element at the specified position in the IDataArray. |
CompactFormulaListener |
getCompactFormula()
Gets the CompactFormula. |
boolean |
isNotEmpty()
Error: Member IDataArray.NotEmpty member not found |
boolean |
isShared()
Gets the Shared. |
void |
set(int point,
double value)
Replaces the element at the specified position in the IDataArray collection with the specified element. |
void |
set(int series,
int point,
double value)
Replaces the element at the specified position in the IDataArray collection with the specified element. |
void |
setCompactFormula(CompactFormulaListener value)
Sets the Data Compacting Formula. |
void |
setShared(boolean value)
If true, means the value is shared for all series. |
| Method Detail |
|---|
void clear()
Removes all of the values.
double get(int point)
Returns the element at the specified position in the IDataArray.
point - Index of the point to return.
double get(int series,
int point)
Returns the element at the specified position in the IDataArray.
series - Index of the series to return.point - Index of the point to return.CompactFormulaListener getCompactFormula()
Gets the CompactFormula. For more detail see setCompactFormula(com.softwarefx.chartfx.server.CompactFormulaListener).
boolean isNotEmpty()
Error: Member IDataArray.NotEmpty member not found
ERROR: Doc member not found
boolean isShared()
Gets the Shared. For more detail see setShared(boolean).
void set(int point,
double value)
Replaces the element at the specified position in the IDataArray collection with the specified element.
point - Index of the point to set.value - The item to add to the IDataArray collection
void set(int series,
int point,
double value)
Replaces the element at the specified position in the IDataArray collection with the specified element.
series - Index of the series to set.point - Index of the point to set.value - The item to add to the IDataArray collectionvoid setCompactFormula(CompactFormulaListener value)
Sets the Data Compacting Formula.
By default, Chart FX utilizes the CompactFormulas.getMin().
When compacting, the data will require summarization of some form. Chart FX allows you to specify how to summarize data in the form of a data compacting formula. For convenience, Chart FX provides predefined formulas for popular compacting schemes such as First, Last, Min, Max, and Average.
DataValues.setCompactedBy(double),
DataValues.compact(double),
DataValues,
CompactFormulasvoid setShared(boolean value)
If true, means the value is shared for all series.
This property is used to set a X value that is the same for all chart's series.
|
http://www.softwarefx.com | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||