com.azalient.api.b.parameters
Interface IDistributionBar
- All Superinterfaces:
- IRecord, RecordR, RecordRW, RecordW, SortableData, StoreRecordRW
public interface IDistributionBar
- extends StoreRecordRW
A discrete distribution is made up of these bars, where each bar represents a value and a share of the total. In a
uniform distribution, all bars have the same share, and are the same width.
| Methods inherited from interface com.azalient.api.a.tables.IRecord |
name |
barObject2
Object barObject2(IDiscreteDistribution.DiscreteType objectType)
- The object which is created in proportion to this bar's share
label
String label()
- A label for this bar, shown in the distribution window
share
void share(double s)
- Sets the share (0.0 ... 1.0] for this bar
share
double share()
- Returns the share (0.0 ... 1.0] for this bar