X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-options-reference.js;h=770b531ec8dcea51934707c903996b0374dbfa5e;hb=253f4333cfa17c5b6802fd574cb1a7c0b3a02603;hp=09ad7c686abecb5efd8a3d77fd02511e3bf3f85e;hpb=48423521405286de95fe42cffe548464ffba8b7d;p=dygraphs.git 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",