gmmoraesbr / flot

Automatically exported from code.google.com/p/flot
0 stars 0 forks source link

Adding a bars chart, all charts after it fails, if using flot.image plugin. #363

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Adding 2 charts, the first being a bar chart, the second fails drawing. I 
solved it adding the line, in flot.image.js:

    function draw(plot, ctx) {
        var plotOffset = plot.getPlotOffset();

        $.each(plot.getData(), function (i, series) {
            if (!series.images.show) return; // this line is the fix

Original issue reported on code.google.com by vinicius...@gmail.com on 18 Jun 2010 at 5:59

GoogleCodeExporter commented 8 years ago
This is fixed in the development version. Thanks for the report!

Original comment by olau%iol...@gtempaccount.com on 14 Dec 2010 at 4:27