projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
code review
[dygraphs.git]
/
tests
/
custom-circles.html
diff --git
a/tests/custom-circles.html
b/tests/custom-circles.html
index
0f0ec3c
..
127ec04
100644
(file)
--- a/
tests/custom-circles.html
+++ b/
tests/custom-circles.html
@@
-98,7
+98,8
@@
var shapes = [];
var addShape = function(name, pointFn, highlightPointFn) {
shapes.push(name);
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
};
drawPointCallback: pointFn,
drawHighlightPointCallback: highlightPointFn
};