X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-options-reference.js;h=770b531ec8dcea51934707c903996b0374dbfa5e;hb=bc262c4039fb9fd8e22a520bd83b5a0c646800ec;hp=c95207239b2f2a6462853c6eb429044632307790;hpb=b78c3349c523f2a82b0c46c5b9e297a3b10fc91c;p=dygraphs.git diff --git a/dygraph-options-reference.js b/dygraph-options-reference.js index c952072..770b531 100644 --- a/dygraph-options-reference.js +++ b/dygraph-options-reference.js @@ -99,12 +99,19 @@ Dygraph.OPTIONS_REFERENCE = // ], "description": "A function to call when a data point is clicked. and the point that was clicked." }, + "color": { + "default": "(see description)", + "labels": ["Data Series Colors"], + "type": "string", + "example": "red", + "description": "A per-series color definition. Used in conjunction with, and overrides, the colors option." + }, "colors": { "default": "(see description)", "labels": ["Data Series Colors"], "type": "array", "example": "['red', '#00FF00']", - "description": "List of colors for the data series. These can be of the form \"#AABBCC\" or \"rgb(255,100,200)\" or \"yellow\", etc. If not specified, equally-spaced points around a color wheel are used." + "description": "List of colors for the data series. These can be of the form \"#AABBCC\" or \"rgb(255,100,200)\" or \"yellow\", etc. If not specified, equally-spaced points around a color wheel are used. Overridden by the 'color' option." }, "connectSeparatedPoints": { "default": "false", @@ -802,7 +809,13 @@ Dygraph.OPTIONS_REFERENCE = // "default": "[]", "labels": ["Configuration"], "type": "Array", - "description": "Defines per-graph plug-ins. Useful for per-graph customization" + "description": "Defines per-graph plugins. Useful for per-graph customization" + }, + "dataHandler": { + "default": "(depends on data)", + "labels": ["Data"], + "type": "Dygraph.DataHandler", + "description": "Custom DataHandler. This is an advanced customization. See http://bit.ly/151E7Aq." } } ; //