Setting an explicit render range

When a Chart’s render() method is called, the initial render range can be specified in the RenderParams using the start and end properties.

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

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

chart.render({
  annotations: ann,
  start: 0,
  end: 2000,
})

See the Pen Setting an explicit render range on a Chart by Jack Roddy (@jackroddy) on CodePen.