Issue #475: Fix to be able to graph columns with percentage values

This commit is contained in:
Mariano Carballal
2015-03-31 18:21:33 -03:00
committed by Teofilo Sibileau
parent db7fad0a7f
commit bb0d41a2e4
6 changed files with 7 additions and 7 deletions

View File

@@ -343,7 +343,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]);