X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fhighlighted-region.html;h=7852753f365472779bfe2787a2e2dc466bff56f8;hb=290aaf42c19aec275e5d851466c18ef0b1645204;hp=48d803e1e9cdcc4a4c670643a911eb9482902113;hpb=14c9d5bb3d2a2d2fd3a329003e43ae58ba4c784a;p=dygraphs.git
diff --git a/tests/highlighted-region.html b/tests/highlighted-region.html
index 48d803e..7852753 100644
--- a/tests/highlighted-region.html
+++ b/tests/highlighted-region.html
@@ -2,7 +2,7 @@
Highlighted Region
@@ -37,14 +37,14 @@
data,
{
labels: ['X', 'Est.', 'Actual'],
- underlayCallback: function(canvas, area, layout, g) {
+ underlayCallback: function(canvas, area, g) {
var bottom_left = g.toDomCoords(highlight_start, -20);
var top_right = g.toDomCoords(highlight_end, +20);
var left = bottom_left[0];
var right = top_right[0];
- canvas.fillStyle = "rgba(255, 255, 102, 0.5)";
+ canvas.fillStyle = "rgba(255, 255, 102, 1.0)";
canvas.fillRect(left, area.y, right - left, area.h);
}