propNumber method

VlChartMark propNumber(
  1. String key,
  2. double value
)

Sets any numeric property of the mark itself.

key The property name. value The value.

Returns This mark, so calls chain.

Implementation

VlChartMark propNumber(String key, double value) {
  this.props.setMember(key, VlJson.numberValue(value));
  return this;
}