|
Chart FX 7 for Java Server | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwarefx.chartfx.server.maps.MapDataObj
public class MapDataObj
Provides access to the MapDataObj object.
The MapDataObj is an Array of all the data values that are currently configured for VisibleMapObjects.
Constructor Summary | |
---|---|
MapDataObj()
|
Method Summary | |
---|---|
double |
get(int series,
int point)
Returns the element at the specified position in the MapDataObj. |
double |
getAllTotal()
Returns the total of all values in all series. |
int |
getNValues()
Gets the total number of values in the map. |
double |
getPointTotal(int point)
Returns the total point values for all series at the specified point. |
double |
getSeriesTotal(int series)
Returns the total of all values in a series. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapDataObj()
Method Detail |
---|
public double get(int series, int point)
Returns the element at the specified position in the MapDataObj.
series
- Index of the series to return.point
- Index of the point to return.public double getAllTotal()
Returns the total of all values in all series.
Data must be assigned to the map before this method can be used.
public int getNValues()
Gets the total number of values in the map.
The total number of values currently loaded as map data.
public double getPointTotal(int point)
Returns the total point values for all series at the specified point.
Only one point may be specified at a time for all series.
point
- The point to total in each series.public double getSeriesTotal(int series)
Returns the total of all values in a series.
This method provides a quick way to get the total of values in a series.
series
- The series to total.
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |