projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dygraph-utils.js compiles under closure with no warnings or errors
[dygraphs.git]
/
auto_tests
/
tests
/
multiple_axes.js
diff --git
a/auto_tests/tests/multiple_axes.js
b/auto_tests/tests/multiple_axes.js
index
7b52c4c
..
d08ff50
100644
(file)
--- a/
auto_tests/tests/multiple_axes.js
+++ b/
auto_tests/tests/multiple_axes.js
@@
-296,11
+296,14
@@
MultipleAxesTestCase.prototype.testDrawPointCallback = function() {
var data = MultipleAxesTestCase.getData();
var results = { y : {}, y2 : {}};
var data = MultipleAxesTestCase.getData();
var results = { y : {}, y2 : {}};
- var firstCallback = function(g, seriesName) {
+ var firstCallback = function(g, seriesName
, ctx, canvasx, canvasy, color, radius
) {
results.y[seriesName] = 1;
results.y[seriesName] = 1;
+ Dygraph.Circles.DEFAULT(g, seriesName, ctx, canvasx, canvasy, color, radius);
+
};
};
- var secondCallback = function(g, seriesName) {
+ var secondCallback = function(g, seriesName
, ctx, canvasx, canvasy, color, radius
) {
results.y2[seriesName] = 1;
results.y2[seriesName] = 1;
+ Dygraph.Circles.TRIANGLE(g, seriesName, ctx, canvasx, canvasy, color, radius);
};
g = new Dygraph(
};
g = new Dygraph(
@@
-309,6
+312,7
@@
MultipleAxesTestCase.prototype.testDrawPointCallback = function() {
{
labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ],
drawPoints : true,
{
labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ],
drawPoints : true,
+ pointSize : 3,
'Y3': {
axis: {
}
'Y3': {
axis: {
}