diff --git a/base_portal/roles/portal/files/recline/recline.js b/base_portal/roles/portal/files/recline/recline.js index 13ec39e..2e0c457 100644 --- a/base_portal/roles/portal/files/recline/recline.js +++ b/base_portal/roles/portal/files/recline/recline.js @@ -1064,7 +1064,7 @@ my.Flot = Backbone.View.extend({ template: ' \
\
\ -
\ +
\

Por favor, filtrá para ver gráficos

\

Elegí en el menú de la derecha qué cambios te gustaría ver.

\
\ @@ -1160,7 +1160,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, @@ -1380,7 +1381,7 @@ my.Flot = Backbone.View.extend({ } var yfield = self.model.fields.get(field); - var y = doc.getFieldValueUnrendered(yfield); + var y = parseFloat(doc.getFieldValueUnrendered(yfield)); if (self.state.attributes.graphType == 'bars') { points.push([y, x]); @@ -1404,30 +1405,34 @@ my.FlotControls = Backbone.View.extend({
\
\
\ - \ -
\ - \ +
\ + \ +
\ + \ +
\
\ - \ -
\ - \ +
\ + \ +
\ + \ +
\
\
\
\
\
\ - \ + \
\