projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extended list of users
[dygraphs.git]
/
tests
/
custom-circles.html
diff --git
a/tests/custom-circles.html
b/tests/custom-circles.html
index
0e6d62f
..
55cc0bb
100644
(file)
--- a/
tests/custom-circles.html
+++ b/
tests/custom-circles.html
@@
-1,16
+1,13
@@
<!DOCTYPE html>
<html>
<head>
<!DOCTYPE html>
<html>
<head>
- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
<title>Custom Circles</title>
<title>Custom Circles</title>
- <!--[if IE]>
- <script type="text/javascript" src="../excanvas.js"></script>
- <![endif]-->
<!--
For production (minified) code, use:
<script type="text/javascript" src="dygraph-combined.js"></script>
-->
<!--
For production (minified) code, use:
<script type="text/javascript" src="dygraph-combined.js"></script>
-->
- <script type="text/javascript" src="../dygraph-dev.js"></script>
+ <script type="text/javascript" src="../dist/dygraph.js"></script>
+ <script type="text/javascript" src="../src/extras/shapes.js"></script>
</head>
<body>
</head>
<body>
@@
-97,7
+94,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
};