|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.jrefinery.data.DatasetUtilities
org.mbari.siam.moos.utils.node.SiamDatasetUtilities
public class SiamDatasetUtilities
This class contains static methods that perform various useful functions relating to datasets.
| Constructor Summary | |
|---|---|
SiamDatasetUtilities()
|
|
| Method Summary | |
|---|---|
static PieDataset |
createPieDataset(CategoryDataset data,
int series)
Creates a pie dataset from a category dataset by taking all the values for a single series. |
static PieDataset |
createPieDataset(CategoryDataset data,
java.lang.Object category)
Creates a pie dataset from a category dataset by taking all the values (across series) for a single category. |
static java.lang.Number |
getMaximumDomainValue(Dataset data)
Returns the maximum domain value for the specified dataset. |
static java.lang.Number |
getMaximumRangeValue(Dataset data)
Returns the maximum range value for the specified dataset. |
static java.lang.Number |
getMaximumStackedRangeValue(CategoryDataset data)
Returns the maximum value in the dataset range, assuming that values in each category are "stacked". |
static java.lang.Number |
getMinimumDomainValue(Dataset data)
Returns the minimum domain value for the specified dataset. |
static java.lang.Number |
getMinimumRangeValue(Dataset data)
Returns the minimum range value for the specified dataset. |
static java.lang.Number |
getMinimumStackedRangeValue(CategoryDataset data)
Returns the minimum value in the dataset range, assuming that values in each category are "stacked". |
static Range |
getRangeExtent(Dataset data)
Returns the range of values in the range for the dataset. |
static Range |
getStackedRangeExtent(CategoryDataset data)
Returns the range of values for the range (as in domain/range) of the dataset, assuming that the series in one category are stacked. |
| Methods inherited from class com.jrefinery.data.DatasetUtilities |
|---|
createNumberArray, createNumberArray2D, getDomainExtent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SiamDatasetUtilities()
| Method Detail |
|---|
public static Range getRangeExtent(Dataset data)
data - The dataset.public static java.lang.Number getMinimumDomainValue(Dataset data)
This is easy if the dataset implements the DomainInfo interface (a good idea if there is an efficient way to determine the minimum value). Otherwise, it involves iterating over the entire data-set.
public static java.lang.Number getMaximumDomainValue(Dataset data)
This is easy if the dataset implements the DomainInfo interface (a good idea if there is an efficient way to determine the maximum value). Otherwise, it involves iterating over the entire data-set.
public static java.lang.Number getMinimumRangeValue(Dataset data)
This is easy if the dataset implements the RangeInfo interface (a good idea if there is an efficient way to determine the minimum value). Otherwise, it involves iterating over the entire data-set.
public static java.lang.Number getMaximumRangeValue(Dataset data)
This is easy if the dataset implements the RangeInfo interface (a good idea if there is an efficient way to determine the maximum value). Otherwise, it involves iterating over the entire data-set.
public static PieDataset createPieDataset(CategoryDataset data,
java.lang.Object category)
data - The data.category - The category.
public static PieDataset createPieDataset(CategoryDataset data,
int series)
data - The data.series - The series (zero-based index).public static Range getStackedRangeExtent(CategoryDataset data)
data - The dataset.public static java.lang.Number getMinimumStackedRangeValue(CategoryDataset data)
data - The dataset.
public static java.lang.Number getMaximumStackedRangeValue(CategoryDataset data)
data - The dataset.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||