Commit db0cb104 authored by Alberto Pascual's avatar Alberto Pascual

chernoff faces without elasticsearch, release v1.0.1

parent 1d57e24c
......@@ -4,6 +4,7 @@
"authors": [
"gsi-upm"
],
"version": "1.0.1",
"description": "Chernoff faces for sentiment visualisation",
"main": "chernoff-face.html",
"keywords": [
......
......@@ -63,17 +63,17 @@
sentiment: {
type: String,
value: "Neutral"
observer : "_sentimentChanged"
},
width: {
type: Number,
value: 200
value: 90
},
height: {
type: Number,
value: 200
value: 90
},
/* Half Length of Eyes Ratio */
......@@ -102,9 +102,10 @@
}
},
ready: function() {
this.checkSentiment();
drawChernoffFace(this.$.chernoff, this.width, this.hlE, this.pE, this.aE, this.cM)
_sentimentChanged: function() {
var that = this;
that.checkSentiment();
drawChernoffFace(that.$.chernoff, that.width, that.hlE, that.pE, that.aE, that.cM)
},
checkSentiment: function() {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment