Fixes
This commit is contained in:
parent
10aaeba534
commit
54b75d7dc1
@ -152,7 +152,10 @@
|
||||
|
||||
var columns = {};
|
||||
for (var feature in _ctx.query.features) {
|
||||
columns[feature] = { value: 0.0, hints: [] };
|
||||
columns[feature] = {
|
||||
value: 0.0,
|
||||
hints: []
|
||||
};
|
||||
}
|
||||
|
||||
_ctx.grapher.setColumns(columns);
|
||||
|
@ -128,7 +128,7 @@
|
||||
var range = computeIndicatorRange(_data.value);
|
||||
_elements.indicator = _canvas.rect(
|
||||
_tickSize, range.min, _width - (_densitySize + _tickSize), (range.max - range.min)
|
||||
).attr({cursor: 'crosshair', fill: computeIndicatorColor()}).click(clicked);
|
||||
).attr({cursor: 'crosshair', fill: computeIndicatorColor(_data.value)}).click(clicked);
|
||||
|
||||
// tick
|
||||
if (_range.contains(0.0)) {
|
||||
|
Loading…
Reference in New Issue
Block a user