Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #540 from edx/thallada/engagement-tooltip-fix
Browse files Browse the repository at this point in the history
Fix engagement chart tooltip date format bug
  • Loading branch information
thallada authored Aug 17, 2016
2 parents b85a61b + 86d2210 commit 58210d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analytics_dashboard/static/js/views/trends-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ define(['moment', 'nvd3', 'underscore', 'views/chart-view'],

if (_(self.options).has('interactiveTooltipHeaderTemplate')) {
self.chart.interactiveLayer.tooltip.headerFormatter(function(d) {
return self.options.interactiveTooltipHeaderTemplate({value: d});
return self.options.interactiveTooltipHeaderTemplate({value: self.formatXTick(d)});
});
}
},
Expand Down

0 comments on commit 58210d5

Please sign in to comment.