Enabling row stripes

The rows in a Chart can optionally be striped with alternating colors. To enable this, set the rowStripes property to true on the ChartConfig.

let chart = new soda.Chart({
  selector: "#soda-chart",
  axis: true,
  zoomable: true,
  resizable: true,
  rowStripes: true
});

let ann: Soda.Annotation = soda.generateAnnotations({
  n: 10
})

chart.render({
  annotations: ann
})

See the Pen Enabling row stripes on a Chart by Jack Roddy (@jackroddy) on CodePen.