From: Robert Konigsberg Date: Thu, 12 Sep 2013 17:14:17 +0000 (-0400) Subject: Whoops, bad documentation for the new color option. X-Git-Tag: v1.1.0~89^2~1 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=87f2fcd1862a6142c3535612a4679e6fc865baf4;p=dygraphs.git Whoops, bad documentation for the new color option. --- diff --git a/dygraph-options-reference.js b/dygraph-options-reference.js index 09ad7c6..770b531 100644 --- a/dygraph-options-reference.js +++ b/dygraph-options-reference.js @@ -99,19 +99,19 @@ Dygraph.OPTIONS_REFERENCE = // ], "description": "A function to call when a data point is clicked. and the point that was clicked." }, - "colors": { + "color": { "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. Overridden by the 'color' option." + "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": "string", - "example": "red", - "description": "A per-series color definition. Used in conjunction with, and overrides, the colors option." + "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. Overridden by the 'color' option." }, "connectSeparatedPoints": { "default": "false",