color method

VlChart color(
  1. String field
)

Colour, and the legend that explains it.

Names a COLUMN, never a constant. .color("red") means a column called red; painting a mark red is markColor.

field The column name.

Returns This view, so channels chain.

Implementation

VlChart color(String field) {
  return this.channel("color", field);
}