X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=dygraph-options-reference.js;h=05988c4633355447cd25b18822014f658882b849;hb=d6eb5c59dcbc22c942a266b57e95d3111db6fcae;hp=770b531ec8dcea51934707c903996b0374dbfa5e;hpb=87f2fcd1862a6142c3535612a4679e6fc865baf4;p=dygraphs.git diff --git a/dygraph-options-reference.js b/dygraph-options-reference.js index 770b531..05988c4 100644 --- a/dygraph-options-reference.js +++ b/dygraph-options-reference.js @@ -474,6 +474,12 @@ Dygraph.OPTIONS_REFERENCE = // "type": "string", "description": "When to display the legend. By default, it only appears when a user mouses over the chart. Set it to \"always\" to always display a legend of some sort." }, + "legendFollow": { + "default": "false", + "labels": ["Legend"], + "type": "boolean", + "description": "Legend follows highlighted points" + }, "labelsShowZeroValues": { "default": "true", "labels": ["Legend"], @@ -689,13 +695,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",