X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fcustom-circles.html;h=55cc0bb9d91c84fb0c6dc1fbf0cd153450c35119;hb=c4c10db644336a08b581e2efdb3ad75b950c905c;hp=0f0ec3c87a5653d204b89e7ecfc11b452deb236a;hpb=ee60939f4e2238cbb64ebbe7acdc27195c149cfb;p=dygraphs.git diff --git a/tests/custom-circles.html b/tests/custom-circles.html index 0f0ec3c..55cc0bb 100644 --- a/tests/custom-circles.html +++ b/tests/custom-circles.html @@ -1,17 +1,13 @@ - Custom Circles - - - + + @@ -98,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 };