X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fcustom-circles.html;h=55cc0bb9d91c84fb0c6dc1fbf0cd153450c35119;hb=91bd611cb031bf1f3d39650e3109135fd0e78791;hp=e85581f871d8c60ad71688900880a96257d7424b;hpb=464b5f504e75c5d2b98eff12b3b8ad520a1729cb;p=dygraphs.git diff --git a/tests/custom-circles.html b/tests/custom-circles.html index e85581f..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 };