himanshu1706 / flot-android-chart

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

X-axis tick problem - on many data points #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When you have many data points outward x-axis - the x-axis tick data disappear, 
except the first datapoint. In my case, I show data points for 30 days on the 
x-axis, see attached image:

In the code I have set the following options:

  Options opt = new Options(); //Option over flot chart       
  opt.xaxis.mode = "time";
  opt.xaxis.minTickSize = Constants.MILLSECS_PER_DAY;
  opt.xaxis.timeformat = "%d/%m"; 
  opt.xaxis.tickDecimals = 0;
  opt.grid.hoverable = true;

When I only show 1-12 days interval on the x-axis, the x-axis tick will be 
shown correctly.

Original issue reported on code.google.com by rasmus.s...@gmail.com on 26 Apr 2011 at 7:24

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by jxmei2...@gmail.com on 19 May 2011 at 10:49