Skip to content

Commit

Permalink
Use local time as label for x-Axis in charts
Browse files Browse the repository at this point in the history
  • Loading branch information
selaux committed May 4, 2014
1 parent 485a048 commit 4355d8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/views/mixins/renderHistoricalDataGraph.js
Expand Up @@ -47,7 +47,8 @@ module.exports = function (attributes, element, graphOptions, hoverOptions) {
}.bind(this)
}, hoverOptions));
this.xAxis = new Rickshaw.Graph.Axis.Time({
graph: this.graph
graph: this.graph,
timeFixture: new Rickshaw.Fixtures.Time.Local()
});
this.yAxis = new Rickshaw.Graph.Axis.Y({
graph: this.graph
Expand Down

0 comments on commit 4355d8c

Please sign in to comment.