projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove legacy options:
[dygraphs.git]
/
auto_tests
/
tests
/
simple_drawing.js
diff --git
a/auto_tests/tests/simple_drawing.js
b/auto_tests/tests/simple_drawing.js
index
27e9a1a
..
5ffe532
100644
(file)
--- a/
auto_tests/tests/simple_drawing.js
+++ b/
auto_tests/tests/simple_drawing.js
@@
-41,10
+41,16
@@
SimpleDrawingTestCase.prototype.tearDown = function() {
SimpleDrawingTestCase.prototype.testDrawSimpleRangePlusOne = function() {
var opts = {
SimpleDrawingTestCase.prototype.testDrawSimpleRangePlusOne = function() {
var opts = {
- drawXGrid: false,
- drawYGrid: false,
- drawXAxis: false,
- drawYAxis: false,
+ axes : {
+ x : {
+ drawGrid: false,
+ drawAxis: false,
+ },
+ y : {
+ drawGrid: false,
+ drawAxis: false,
+ }
+ },
valueRange: [0,51] }
var graph = document.getElementById("graph");
valueRange: [0,51] }
var graph = document.getElementById("graph");
@@
-62,10
+68,16
@@
SimpleDrawingTestCase.prototype.testDrawSimpleRangePlusOne = function() {
// See http://code.google.com/p/dygraphs/issues/detail?id=185
SimpleDrawingTestCase.prototype.testDrawSimpleRangeZeroToFifty = function() {
var opts = {
// See http://code.google.com/p/dygraphs/issues/detail?id=185
SimpleDrawingTestCase.prototype.testDrawSimpleRangeZeroToFifty = function() {
var opts = {
- drawXGrid: false,
- drawYGrid: false,
- drawXAxis: false,
- drawYAxis: false,
+ axes : {
+ x : {
+ drawGrid: false,
+ drawAxis: false,
+ },
+ y : {
+ drawGrid: false,
+ drawAxis: false,
+ }
+ },
valueRange: [0,50] }
var graph = document.getElementById("graph");
valueRange: [0,50] }
var graph = document.getElementById("graph");
@@
-96,12
+108,20
@@
SimpleDrawingTestCase.prototype.testDrawWithAxis = function() {
*/
SimpleDrawingTestCase.prototype.testDrawSimpleDash = function() {
var opts = {
*/
SimpleDrawingTestCase.prototype.testDrawSimpleDash = function() {
var opts = {
- drawXGrid: false,
- drawYGrid: false,
- drawXAxis: false,
- drawYAxis: false,
+ axes: {
+ x: {
+ drawGrid: false,
+ drawAxis: false
+ },
+ y: {
+ drawGrid: false,
+ drawAxis: false
+ }
+ },
+ series: {
'Y1': {strokePattern: [25, 7, 7, 7]},
'Y1': {strokePattern: [25, 7, 7, 7]},
- colors: ['#ff0000']
+ },
+ colors: ['#ff0000']
};
var graph = document.getElementById("graph");
};
var graph = document.getElementById("graph");
@@
-123,10
+143,16
@@
SimpleDrawingTestCase.prototype.testDrawSimpleDash = function() {
*/
SimpleDrawingTestCase.prototype.testDrawThickLine = function() {
var opts = {
*/
SimpleDrawingTestCase.prototype.testDrawThickLine = function() {
var opts = {
- drawXGrid: false,
- drawYGrid: false,
- drawXAxis: false,
- drawYAxis: false,
+ axes : {
+ x : {
+ drawGrid: false,
+ drawAxis: false,
+ },
+ y : {
+ drawGrid: false,
+ drawAxis: false,
+ }
+ },
strokeWidth: 15,
colors: ['#ff0000']
};
strokeWidth: 15,
colors: ['#ff0000']
};