Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
don't repeat days on short ranges (bug 933240)
Browse files Browse the repository at this point in the history
  • Loading branch information
spasovski committed Dec 3, 2013
1 parent 87c06fa commit e174ee1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/media/js/linechart.js
Expand Up @@ -71,8 +71,8 @@ define('linechart', ['log'], function(log) {

var xAxis = d3.svg.axis().scale(x).orient('bottom')
.tickFormat(xAxisTimeFormat)
.tickPadding(opts.tickPadding);
//.ticks(d3.time.weeks, 1);
.tickPadding(opts.tickPadding)
.ticks(d3.time.days, 1);

var yAxis = d3.svg.axis().scale(y).orient('left')
.tickPadding(opts.tickPadding);
Expand Down

0 comments on commit e174ee1

Please sign in to comment.