in src/visual.ts [987:1013]
public render(suppressAnimations: boolean) {
let duration: number = Visual.DefaultAnimationDuration;
let data = this.data;
let xScale: LinearScale = <LinearScale>data.xScale,
yScales: LinearScale[] = <LinearScale[]>data.yScales;
this.lineX = d3Line<DataPoint>()
.x((d: DataPoint) => {
return xScale(d.categoryValue);
})
.y((d: DataPoint) => {
return yScales[d.groupIndex](d.y);
});
if (this.data &&
this.data.settings &&
this.data.settings.playback &&
this.data.settings.playback.color) {
this.animationHandler.setControlsColor(this.data.settings.playback.color);
}
this.animationHandler.render();
this.animationHandler.setRunnerCounterValue();
this.renderAxes(data, duration);
this.renderGaps(data, duration);
}