forked from Wavyzz/dolibarr
New: Upgrade jquery flot library to 0.8.1
This commit is contained in:
21
htdocs/includes/jquery/plugins/flot/jquery.flot.symbol.js
Executable file → Normal file
21
htdocs/includes/jquery/plugins/flot/jquery.flot.symbol.js
Executable file → Normal file
@@ -1,14 +1,15 @@
|
||||
/*
|
||||
Flot plugin that adds some extra symbols for plotting points.
|
||||
/* Flot plugin that adds some extra symbols for plotting points.
|
||||
|
||||
The symbols are accessed as strings through the standard symbol
|
||||
choice:
|
||||
Copyright (c) 2007-2013 IOLA and Ole Laursen.
|
||||
Licensed under the MIT license.
|
||||
|
||||
series: {
|
||||
points: {
|
||||
symbol: "square" // or "diamond", "triangle", "cross"
|
||||
}
|
||||
}
|
||||
The symbols are accessed as strings through the standard symbol options:
|
||||
|
||||
series: {
|
||||
points: {
|
||||
symbol: "square" // or "diamond", "triangle", "cross"
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
@@ -51,7 +52,7 @@ choice:
|
||||
ctx.moveTo(x - size, y + size);
|
||||
ctx.lineTo(x + size, y - size);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
var s = series.points.symbol;
|
||||
if (handlers[s])
|
||||
|
||||
Reference in New Issue
Block a user