X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fcustom-circles.html;h=55cc0bb9d91c84fb0c6dc1fbf0cd153450c35119;hb=514a10f302043e48459a79806775b6925dc9a7b5;hp=0e6d62f240719630f95adeea6c6df7c9f2eda028;hpb=21ebe38bb1eeae3a7fd73335a411bfd81c66d985;p=dygraphs.git diff --git a/tests/custom-circles.html b/tests/custom-circles.html index 0e6d62f..55cc0bb 100644 --- a/tests/custom-circles.html +++ b/tests/custom-circles.html @@ -1,16 +1,13 @@ - Custom Circles - - + + @@ -97,7 +94,8 @@ var shapes = []; var addShape = function(name, pointFn, highlightPointFn) { shapes.push(name); - opts[name] = { + if (!opts['series']) opts['series'] = {}; + opts.series[name] = { drawPointCallback: pointFn, drawHighlightPointCallback: highlightPointFn };