I created a Flot Chart but I found out that when pass 1 or 0 for only one month and load the graph the Y axis shows some long decimal numbers. Please help.
var options1 =
{
yaxis: { axisLabel: ""},
xaxis: {
tickLength: 1,
axisLabel: "Months",
ticks: [[1, "Jan"], [2, "Feb"], [3, "Mar"], [4, "Apr"], [5, "May"], [6, "Jun"], [7, "Jul"], [8, "Aug"], [9, "Sep"], [10, "Oct"], [11, "Nov"], [12, "Dec"]]
},
grid: {
hoverable: true,
clickable: true
},
valueLabels: {
show: true
}
};