mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
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.
This commit is contained in:
Vendored
+1
-1
@@ -72,7 +72,7 @@ declare module jquery.flot {
|
||||
}
|
||||
|
||||
interface seriesOptions {
|
||||
color?: number;
|
||||
color?: any; // color or number
|
||||
label?: string;
|
||||
lines?: linesOptions;
|
||||
bars?: barsOptions;
|
||||
|
||||
Reference in New Issue
Block a user