X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fcustom-circles.html;h=127ec0461e4f20c6975fee2c00549aca5543f88f;hb=c715be428d83d80c0a26fd60dc5bc36fb4c908d9;hp=e85581f871d8c60ad71688900880a96257d7424b;hpb=464b5f504e75c5d2b98eff12b3b8ad520a1729cb;p=dygraphs.git diff --git a/tests/custom-circles.html b/tests/custom-circles.html index e85581f..127ec04 100644 --- a/tests/custom-circles.html +++ b/tests/custom-circles.html @@ -11,7 +11,7 @@ --> - + @@ -98,7 +98,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 };