chart method

VlChart chart()

Returns to the chart, when the next thing to say is about the view.

Returns The owning chart, or a fresh empty one if this mark was built without a chart.

Implementation

VlChart chart() {
  if ( owner != null ) {
    return owner!;
  }
  VlDataset empty = VlDataset.create();
  return VlChart.create(empty);
}