Kilian/grafico — Issue #19: Line graph rendering inaccurate for some value sets
Author: wilzan
Created: 2011-10-18 18:33:36+00:00
State: open

I've found certain combinations of values result in inaccurate plotting on a line graph.

For instance:

```javascript
var linegraph = new Grafico.LineGraph($('lineGraph'), {
series: [21,22,23,24,25]
}, {
width: 600,
height: 400,
stroke_width: 1
});
```

![Screenshot](http://willmorris.net/grafico_test.png)

And:

```javascript
var linegraph = new Grafico.LineGraph($('lineGraph2'), {
series: [19,23,27,31,35]
}, {
width: 600,
height: 400,
stroke_width: 1
});
```

![Screenshot](http://willmorris.net/grafico_test2.png)