ahmedeng165 / flot-android-chart

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

changing yaxis tickSize and tickDecimals will mess with xaxis tick marks #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

I needed to remove the decimals on the yaxis of my graph so I did this after 
the page loads.

<code>
$(document).ready(function() {
alert('modding');
    $('#graph1x').wl_Chart({
        flot: {
            yaxis:{              
                    tickSize:1, tickDecimals:0 
            }

        }

    });
});
</code>

This worked great but now the xaxis data is messed up it went from perfectly 
formatted to something like this

BEFORE:
 20 21 22 23 24 25
AFTER:
0,20 1,21 2,22 3,23 4,24 5,25

Original issue reported on code.google.com by Christop...@gmail.com on 18 Jun 2012 at 6:51