Commit 58a96214 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

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
parent 29c64884
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment