summaryrefslogtreecommitdiff
path: root/result/krafcik.js
diff options
context:
space:
mode:
Diffstat (limited to 'result/krafcik.js')
-rw-r--r--result/krafcik.js14
1 files changed, 13 insertions, 1 deletions
diff --git a/result/krafcik.js b/result/krafcik.js
index d0b70a7..cac3371 100644
--- a/result/krafcik.js
+++ b/result/krafcik.js
@@ -26,7 +26,7 @@ $(document).ready(function() {
{
x: beer.abv,
y: beer.ratings.average,
- reef: beer
+ ref: beer
},
{
x: beer.ratings.adjusted,
@@ -284,6 +284,12 @@ $(document).ready(function() {
scales: {
xAxes: [abvAxis],
yAxes: [ratingAxis]
+ },
+ tooltips: {
+ enabled: false,
+ custom: function(tooltip) {
+ displayTooltip(this._chart, tooltip, this._data, scatterTooltip);
+ }
}
}
});
@@ -299,6 +305,12 @@ $(document).ready(function() {
scales: {
xAxis: [abvAxis],
yAxes: [averageAxis]
+ },
+ tooltips: {
+ enabled: false,
+ custom: function(tooltip) {
+ displayTooltip(this._chart, tooltip, this._data, scatterTooltip);
+ }
}
}
});