X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-options-reference.js;h=09ad7c686abecb5efd8a3d77fd02511e3bf3f85e;hb=48423521405286de95fe42cffe548464ffba8b7d;hp=64e738d4f77864cf5da65ccfcbdc6f2ed00f5242;hpb=30a5cfc6c8dfe0ff412e63498eac09d31e9004a7;p=dygraphs.git diff --git a/dygraph-options-reference.js b/dygraph-options-reference.js index 64e738d..09ad7c6 100644 --- a/dygraph-options-reference.js +++ b/dygraph-options-reference.js @@ -104,7 +104,14 @@ Dygraph.OPTIONS_REFERENCE = // "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." + }, + "colors": { + "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." }, "connectSeparatedPoints": { "default": "false", @@ -560,7 +567,7 @@ Dygraph.OPTIONS_REFERENCE = // "dateWindow": { "default": "Full range of the input is shown", "labels": ["Axis display"], - "type": "Array of two Dates or numbers", + "type": "Array of two numbers", "example": "[
  Date.parse('2006-01-01'),
  (new Date()).valueOf()
]", "description": "Initially zoom in on a section of the graph. Is of the form [earliest, latest], where earliest/latest are milliseconds since epoch. If the data for the x-axis is numeric, the values in dateWindow must also be numbers." }, @@ -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." } } ; //