| Package | Description |
|---|---|
| com.orsoncharts.data |
Core data structures used as the building blocks for datasets in Orson
Charts.
|
| com.orsoncharts.data.category |
Datasets that can be used by the
CategoryPlot3D
class. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultKeyedValues3D<V>
A three dimensional table of numerical values, implementing the
KeyedValues3D interface. |
| Modifier and Type | Method and Description |
|---|---|
static KeyedValues3D<? extends java.lang.Number> |
JSONUtils.readKeyedValues3D(java.io.Reader reader)
Parses character data from the reader and (if possible) creates a
KeyedValues3D instance. |
static KeyedValues3D<? extends java.lang.Number> |
JSONUtils.readKeyedValues3D(java.lang.String json)
Parses the supplied string and (if possible) creates a
KeyedValues3D instance. |
| Modifier and Type | Method and Description |
|---|---|
static int |
DataUtils.count(KeyedValues3D<?> data,
java.lang.Comparable<?> seriesKey)
Returns the count of the non-
null entries in the dataset
for the specified series. |
static int |
DataUtils.countForColumn(KeyedValues3D<?> data,
java.lang.Comparable<?> columnKey)
Returns the count of the non-
null entries in the dataset
for the specified column (all series). |
static int |
DataUtils.countForRow(KeyedValues3D<?> data,
java.lang.Comparable<?> rowKey)
Returns the count of the non-
null entries in the dataset
for the specified row (all series). |
static XYZDataset |
DataUtils.extractXYZDatasetFromColumns(KeyedValues3D<? extends java.lang.Number> source,
java.lang.Comparable<?> xColKey,
java.lang.Comparable<?> yColKey,
java.lang.Comparable<?> zColKey)
Creates an
XYZDataset by extracting values from specified
columns in a KeyedValues3D instance, across all the available
rows (items where any of the x, y or z values is null are
skipped). |
static XYZDataset |
DataUtils.extractXYZDatasetFromColumns(KeyedValues3D<? extends java.lang.Number> source,
java.lang.Comparable<?> xColKey,
java.lang.Comparable<?> yColKey,
java.lang.Comparable<?> zColKey,
NullConversion nullConversion,
java.util.List<KeyedValues3DItemKey> exceptions)
Creates an
XYZDataset by extracting values from specified
columns in a KeyedValues3D instance. |
static XYZDataset |
DataUtils.extractXYZDatasetFromRows(KeyedValues3D<? extends java.lang.Number> source,
java.lang.Comparable<?> xRowKey,
java.lang.Comparable<?> yRowKey,
java.lang.Comparable<?> zRowKey)
Creates an
XYZDataset by extracting values from specified
rows in a KeyedValues3D instance, across all the available
columns (items where any of the x, y or z values is null
are skipped). |
static XYZDataset |
DataUtils.extractXYZDatasetFromRows(KeyedValues3D<? extends java.lang.Number> source,
java.lang.Comparable<?> xRowKey,
java.lang.Comparable<?> yRowKey,
java.lang.Comparable<?> zRowKey,
NullConversion nullConversion,
java.util.List<KeyedValues3DItemKey> exceptions)
Creates an
XYZDataset by extracting values from specified
rows in a KeyedValues3D instance. |
static java.util.Collection<KeyedValues3DItemKey> |
KeyedValues3DItemKeys.itemKeysForColumn(KeyedValues3D data,
java.lang.Comparable<?> columnKey)
Returns a collection containing all the item keys for the specified
column.
|
static java.util.Collection<KeyedValues3DItemKey> |
KeyedValues3DItemKeys.itemKeysForRow(KeyedValues3D data,
java.lang.Comparable<?> rowKey)
Returns a collection containing all the item keys for the specified
row.
|
static java.util.Collection<KeyedValues3DItemKey> |
KeyedValues3DItemKeys.itemKeysForSeries(KeyedValues3D data,
java.lang.Comparable<?> seriesKey)
Returns a collection containing all the item keys for the specified
series.
|
static double |
DataUtils.total(KeyedValues3D<? extends java.lang.Number> data,
java.lang.Comparable<?> seriesKey)
Returns the total of the non-
null values in the dataset
for the specified series. |
static double |
DataUtils.totalForColumn(KeyedValues3D<? extends java.lang.Number> data,
java.lang.Comparable<?> columnKey)
Returns the total of the non-
null entries in the dataset
for the specified column (all series). |
static double |
DataUtils.totalForRow(KeyedValues3D<? extends java.lang.Number> data,
java.lang.Comparable<?> rowKey)
Returns the total of the non-
null entries in the dataset
for the specified row (all series). |
static java.lang.String |
JSONUtils.writeKeyedValues3D(KeyedValues3D<? extends java.lang.Number> dataset)
Returns a string containing the data in JSON format.
|
static void |
JSONUtils.writeKeyedValues3D(KeyedValues3D<? extends java.lang.Number> dataset,
java.io.Writer writer)
Writes the dataset in JSON format to the supplied writer.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CategoryDataset3D
An interface for a dataset with multiple series of data in the form of
(rowKey, columnKey, value). |
| Modifier and Type | Class and Description |
|---|---|
class |
StandardCategoryDataset3D
A standard implementation of the
CategoryDataset3D interface. |