From 87f2fcd1862a6142c3535612a4679e6fc865baf4 Mon Sep 17 00:00:00 2001 From: Robert Konigsberg Date: Thu, 12 Sep 2013 13:14:17 -0400 Subject: [PATCH] Whoops, bad documentation for the new color option. --- dygraph-options-reference.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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", -- 2.7.4