diff --git a/src/view.flot.js b/src/view.flot.js index d145c3b5..0197b874 100644 --- a/src/view.flot.js +++ b/src/view.flot.js @@ -123,7 +123,8 @@ my.Flot = Backbone.View.extend({ y = item.datapoint[0].toFixed(2); } - var content = _.template('<%= group %> = <%= x %>, <%= series %> = <%= y %>', { + var template = _.template('<%= group %> = <%= x %>, <%= series %> = <%= y %>'); + var content = template({ group: this.state.attributes.group, x: this._xaxisLabel(x), series: item.series.label,