Example usage for Java org.jfree.data.general DatasetUtilities fields, constructors, methods, implement or subclass
The text is from its open source code.
double | calculatePieDatasetTotal(PieDataset dataset) Calculates the total of all the values in a PieDataset . |
CategoryDataset | createCategoryDataset(String rowKeyPrefix, String columnKeyPrefix, double[][] data) Creates a CategoryDataset that contains a copy of the data in an array (instances of Double are created to represent the data items). |
CategoryDataset | createCategoryDataset(String rowKeyPrefix, String columnKeyPrefix, Number[][] data) Creates a CategoryDataset that contains a copy of the data in an array. |
CategoryDataset | createCategoryDataset(Comparable[] rowKeys, Comparable[] columnKeys, double[][] data) Creates a CategoryDataset that contains a copy of the data in an array (instances of Double are created to represent the data items). |
CategoryDataset | createCategoryDataset(Comparable rowKey, KeyedValues rowData) Creates a CategoryDataset by copying the data from the supplied KeyedValues instance. |
PieDataset | createConsolidatedPieDataset(PieDataset source, Comparable key, double minimumPercent, int minItems) Creates a new pie dataset based on the supplied dataset, but modified by aggregating all the low value items (those whose value is lower than the percentThreshold ) into a single item. |
PieDataset | createPieDatasetForColumn(CategoryDataset dataset, Comparable columnKey) Creates a pie dataset from a table dataset by taking all the values for a single column. |
PieDataset | createPieDatasetForColumn(CategoryDataset dataset, int column) Creates a pie dataset from a CategoryDataset by taking all the values for a single column. |
PieDataset | createPieDatasetForRow(CategoryDataset dataset, Comparable rowKey) Creates a pie dataset from a table dataset by taking all the values for a single row. |
PieDataset | createPieDatasetForRow(CategoryDataset dataset, int row) Creates a pie dataset from a table dataset by taking all the values for a single row. |
Range | findDomainBounds(XYDataset dataset, boolean includeInterval) Returns the range of values in the domain (x-values) of a dataset. |
Range | findDomainBounds(XYDataset dataset) Returns the range of values in the domain (x-values) of a dataset. |
Range | findDomainBounds(XYDataset dataset, List visibleSeriesKeys, boolean includeInterval) Returns the bounds of the x-values in the specified dataset taking into account only the visible series and including any x-interval if requested. |
Number | findMaximumDomainValue(XYDataset dataset) Returns the maximum domain value for the specified dataset. |
Number | findMaximumRangeValue(CategoryDataset dataset) Returns the maximum range value for the specified dataset. |
Number | findMaximumRangeValue(XYDataset dataset) Returns the maximum range value for the specified dataset. |
Number | findMinimumRangeValue(CategoryDataset dataset) Returns the minimum range value for the specified dataset. |
Number | findMinimumRangeValue(XYDataset dataset) Returns the minimum range value for the specified dataset. |
Range | findRangeBounds(CategoryDataset dataset, boolean includeInterval) Returns the range of values in the range for the dataset. |
Range | findRangeBounds(XYDataset dataset, boolean includeInterval) Returns the range of values in the range for the dataset. |
Range | findRangeBounds(CategoryDataset dataset) Returns the range of values in the range for the dataset. |
Range | findRangeBounds(XYDataset dataset) Returns the range of values in the range for the dataset. |
Range | findStackedRangeBounds(CategoryDataset dataset) Returns the minimum and maximum values for the dataset's range (y-values), assuming that the series in one category are stacked. |
Range | findStackedRangeBounds(TableXYDataset dataset) Returns the minimum and maximum values for the dataset's range, assuming that the series are stacked. |
double | findYValue(XYDataset dataset, int series, double x) Returns the interpolated value of y that corresponds to the specified x-value in the given series. |
boolean | isEmptyOrNull(PieDataset dataset) Returns true if the dataset is empty (or null ), and false otherwise. |
boolean | isEmptyOrNull(CategoryDataset dataset) Returns true if the dataset is empty (or null ), and false otherwise. |
boolean | isEmptyOrNull(XYDataset dataset) Returns true if the dataset is empty (or null ), and false otherwise. |
Range | iterateDomainBounds(XYDataset dataset, boolean includeInterval) Iterates over the items in an XYDataset to find the range of x-values. |
XYDataset | sampleFunction2D(Function2D f, double start, double end, int samples, Comparable seriesKey) Creates an XYDataset by sampling the specified function over a fixed range. |
XYSeries | sampleFunction2DToSeries(Function2D f, double start, double end, int samples, Comparable seriesKey) Creates an XYSeries by sampling the specified function over a fixed range. |