From 81666ce70c1d9c4e6ee070fc40213890a0a3e546 Mon Sep 17 00:00:00 2001 From: Tom von Clef Date: Thu, 7 Nov 2013 13:51:24 -0500 Subject: [PATCH] Updating jquery.flot.d.ts. Fixing type for seriesOptions.color Flot allows the color to be a number or a string. See: https://github.com/flot/flot/blob/master/API.md ------------ > The format of a single series object is as follows: '''javascript { color: color or number // other stuff } ''' > If you don't specify color, the series will get a color from the > auto-generated colors. The color is either a CSS color > specification (like "rgb(255, 100, 123)") or an integer that > specifies which of auto-generated colors to select, e.g. 0 will get > color no. 0, etc. --- flot/jquery.flot.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flot/jquery.flot.d.ts b/flot/jquery.flot.d.ts index fc484aae5..542810545 100644 --- a/flot/jquery.flot.d.ts +++ b/flot/jquery.flot.d.ts @@ -72,7 +72,7 @@ declare module jquery.flot { } interface seriesOptions { - color?: number; + color?: any; // color or number label?: string; lines?: linesOptions; bars?: barsOptions;