whole method

VlDataRow whole(
  1. String field,
  2. int value
)

Puts a whole number in one column of this row.

A count is an integer and prints as one: 12, not 12.0. Use this rather than num wherever the value counts things, or the axis labels will say so.

field The column name. value The value.

Returns This row, so columns chain.

See also num.

Implementation

VlDataRow whole(String field, int value) {
  this.obj.setMember(field, VlJson.intValue(value));
  return this;
}