java.lang.Object | |
↳ | com.atlassian.jira.charts.jfreechart.util.PieDatasetUtil |
Utilities to manipulate datasets
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new PieDataset with ranked, consolidated results.
| |||||||||||
Sort a pie dataset by it's values (highest to lowest)
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Creates a new PieDataset with ranked, consolidated results.
Results are ranked by their value (ie 10 is greater than 5), so that pie slices are in order of greatest to smallest. The minimum number of items will ALWAYS be displayed if there are at least that many items. If there are more than the minimum number of items, once ranked any items smaller than the minimumPercent are consolidated into an "Other" entity (named by 'key').source | the source dataset (null not permitted). |
---|---|
key | the key to represent the aggregated items. |
minimumPercent | the percent threshold (ten percent is 0.10). |
minItems | keep at least this many items (no matter how small) |
Sort a pie dataset by it's values (highest to lowest)
source | the source dataset (null not permitted). |
---|