UNPKG
jqvmap
Version:
latest (1.5.1)
1.5.1
1.5.0
1.0.1
1.0.0
jQuery Vector Map Library
jqvmap.com
manifestinteractive/jqvmap
jqvmap
/
src
/
ColorScale
/
setMin.js
10 lines
(8 loc)
•
206 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
ColorScale.prototype.setMin = function (min) {
this
.clearMinValue = min;
if
(typeof
this
.normalize ===
'function'
) {
this
.minValue =
this
.normalize(min); }
else
{
this
.minValue = min; } };