X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fcustom-circles.html;h=8a25d4b020b41e41b8fd68161a9ca3ae504dd2bf;hb=f808e16e56550f5260f4cf8c335424925e23e6b5;hp=0f0ec3c87a5653d204b89e7ecfc11b452deb236a;hpb=15e340f4441909628981699e6d0b374b0e98177e;p=dygraphs.git diff --git a/tests/custom-circles.html b/tests/custom-circles.html index 0f0ec3c..8a25d4b 100644 --- a/tests/custom-circles.html +++ b/tests/custom-circles.html @@ -1,17 +1,10 @@ - + Custom Circles - - - - + + @@ -98,7 +91,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 };