Commit acae98e7 authored by Alexander.Trofimov's avatar Alexander.Trofimov

change condition

parent 0c8b11e6
......@@ -775,7 +775,7 @@ CSparklineView.prototype.initFromSparkline = function(oSparkline, oSparklineGrou
if(nSparklineType === Asc.c_oAscSparklineType.Line)
{
var oLn = new AscFormat.CLn();
oLn.setW(36000*nSparklineMultiplier*25.4*((!bForPreview && oSparklineGroup.lineWeight != null) ? oSparklineGroup.lineWeight : (!bForPreview ? 0.75 : 2.25))/72);
oLn.setW(36000*nSparklineMultiplier*25.4*(bForPreview ? 2.25 : oSparklineGroup.asc_getLineWeight())/72);
oSerie.spPr.setLn(oLn);
if(oSparklineGroup.markers && oSparklineGroup.colorMarkers)
{
......
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