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