X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-options-reference.js;h=770b531ec8dcea51934707c903996b0374dbfa5e;hb=refs%2Fheads%2Fvalue-format-per;hp=62207501beabaa533df27033f4409e788aa9b5ce;hpb=71ce5b3cb3caf6d058a43a6625da87efe0674e3e;p=dygraphs.git diff --git a/dygraph-options-reference.js b/dygraph-options-reference.js index 6220750..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",