tobami/codespeed — Issue #111: Baseline line does not fill the whole plot width
Author: tobami
Created: 2012-01-08 10:17:55+00:00
State: open
Labels: BUG

The data series for baselines is pushed into the plot in `renderPlot()` [(timeline.js#89)](https://github.com/tobami/codespeed/blob/master/codespeed/static/js/timeline.js#L89)

The data javascript gets over JSON is compiled in `gettimelinedata()` [(views.py#433)](https://github.com/tobami/codespeed/blob/master/codespeed/views.py#L433)

Baselines usually only have a single data point, so the other one needed to draw a line is computed as a "fake" data point. Currently the first commitid from the longest data series is used. The correct approach would be to use the oldest revision from any data point.