X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fcustom-circles.html;h=5f988f28930a935b48540145e14e4e2e1c3ae20c;hb=87f78fb2306da355f82c436ee204cacf7a06fe10;hp=0f0ec3c87a5653d204b89e7ecfc11b452deb236a;hpb=b7a1dc2288585edbeff4591e81e6a0efd2893932;p=dygraphs.git diff --git a/tests/custom-circles.html b/tests/custom-circles.html index 0f0ec3c..5f988f2 100644 --- a/tests/custom-circles.html +++ b/tests/custom-circles.html @@ -1,17 +1,14 @@ - + Custom Circles - - - + + @@ -98,7 +95,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 };