DmitryBaranovskiy / g.raphael

Charts for Raphaël
http://g.raphaeljs.com/
1.52k stars 435 forks source link

Axis of linechart is incorrectly drawn in chrome #206

Open fresheneesz opened 9 years ago

fresheneesz commented 9 years ago

In chrome, the following gives a graph that has the correct line, but the y-axis is stretched to double the width, so a line that should start at the bottom of the y-axis starts in the middle:

        var paper = Raphael(div, 320, 200);

        paper.linechart(0,0, 100, 100, [1,2,3,4, 5], [2,3,5,7,10], {
            axis: '0 0 1 1',
            symbol: 'circle',
            width: 1,
            colors: ['blue', 'green', 'yellow']    
        })

On firefox, it works properly