1

Fixing hint gradient, adding feature keywords, fixing input box

This commit is contained in:
Alex Yatskov 2014-09-13 12:13:43 +09:00
parent 89a2de1e15
commit 76a7e1e577
3 changed files with 15 additions and 3 deletions

View File

@ -47,9 +47,9 @@ function Column(canvas, name, params, scale, range, bounds) {
this.hintRect.setGradient('fill', {
x1: 0.0,
y1: -this.hintRect.height / 2,
y1: 0.0,
x2: 0.0,
y2: this.hintRect.height / 2,
y2: this.hintRect.height,
colorStops: this.decimateHints(this.steps, this.scale)
});

View File

@ -27,7 +27,7 @@
<div class="form-group">
<label for="minScore" class="col-md-2 control-label">Minimum score</label>
<div class="col-md-10">
<input type="number" class="form-control" value="1.0" id="minScore" name="minScore">
<input type="text" class="form-control" value="1.0" id="minScore" name="minScore">
</div>
</div>
<div class="form-group">

View File

@ -1,4 +1,16 @@
{
"food": {
"food": 1.0
},
"service": {
"service": 1.0
},
"value": {
"value": 1.0
},
"atmosphere": {
"atmosphere": 1.0
},
"hole in the wall": {
"food": 0.82,
"service": 0.10,