mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
parseInt->parseFloat
ToDo CFVO Type (formula, max, min, num, percent, percentile) (page 2681) ToDo support 3 colors in rule git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47282 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander.Trofimov
parent
29c6488499
commit
58a96214df
@ -1073,7 +1073,7 @@
|
||||
break;
|
||||
aCFs[i].SqRefRange._setPropertyNoEmpty(null, null, function (c) {
|
||||
if (CellValueType.Number === c.getType() && false === c.isEmptyTextString()) {
|
||||
tmp = parseInt(c.getValueWithoutFormat());
|
||||
tmp = parseFloat(c.getValueWithoutFormat());
|
||||
if (isNaN(tmp))
|
||||
return;
|
||||
arrayCells.push({cell: c, val: tmp});
|
||||
@ -1082,7 +1082,9 @@
|
||||
}
|
||||
});
|
||||
|
||||
if (0 < arrayCells.length) {
|
||||
// ToDo CFVO Type (formula, max, min, num, percent, percentile) (page 2681)
|
||||
// ToDo support 3 colors in rule
|
||||
if (0 < arrayCells.length && 2 === oRuleElement.aColors.length) {
|
||||
oGradient = new asc.CGradient(oRuleElement.aColors[0], oRuleElement.aColors[1]);
|
||||
oGradient.init(min, max);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user