X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-options-reference.js;h=3ecc531f7912bc76f3771ff874169ea0a4c6760f;hb=7f6a719056e1da51c5a27727ac5341d6664de428;hp=770b531ec8dcea51934707c903996b0374dbfa5e;hpb=87f2fcd1862a6142c3535612a4679e6fc865baf4;p=dygraphs.git diff --git a/dygraph-options-reference.js b/dygraph-options-reference.js index 770b531..3ecc531 100644 --- a/dygraph-options-reference.js +++ b/dygraph-options-reference.js @@ -689,13 +689,19 @@ Dygraph.OPTIONS_REFERENCE = // "default": "true", "labels": ["Axis display"], "type": "boolean", - "description" : "Whether to draw the x-axis. Setting this to false also prevents x-axis ticks from being drawn and reclaims the space for the chart grid/lines." + "description" : "Deprecated. Use axes : { x : { drawAxis } }." }, "drawYAxis": { "default": "true", "labels": ["Axis display"], "type": "boolean", - "description" : "Whether to draw the y-axis. Setting this to false also prevents y-axis ticks from being drawn and reclaims the space for the chart grid/lines." + "description" : "Deprecated. Use axes : { y : { drawAxis } }." + }, + "drawAxis": { + "default": "true for x and y, false for y2", + "labels": ["Axis display"], + "type": "boolean", + "description" : "Whether to draw the specified axis. This may be set on a per-axis basis to define the visibility of each axis separately. Setting this to false also prevents axis ticks from being drawn and reclaims the space for the chart grid/lines." }, "gridLineWidth": { "default": "0.3",