Commit 29f0bacd authored by Sergey Luzyanin's avatar Sergey Luzyanin

Merge branch 'hotfix/builder-print' into develop

parents 7ba7c882 fc985173
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
/** /**
* This type specifies the types, create charts * This type specifies the types, create charts
* @typedef {("bar" | "barStacked" | "barStackedPercent" | "bar3D" | "barStacked3D" | "barStackedPercent3D" | "barStackedPercent3DPerspective" | "horizontalBar" | "horizontalBarStacked" | "horizontalBarStackedPercent" | "horizontalBar3D" | "horizontalBarStacked3D" | "horizontalBarStackedPercent3D" | "lineNormal" | "lineStacked" | "lineStackedPercent" | "line3D" | "pie" | "pie3D" | "doughnut" | "scatter" | "stock")} ChartType * @typedef {("bar" | "barStacked" | "barStackedPercent" | "bar3D" | "barStacked3D" | "barStackedPercent3D" | "barStackedPercent3DPerspective" | "horizontalBar" | "horizontalBarStacked" | "horizontalBarStackedPercent" | "horizontalBar3D" | "horizontalBarStacked3D" | "horizontalBarStackedPercent3D" | "lineNormal" | "lineStacked" | "lineStackedPercent" | "line3D" | "pie" | "pie3D" | "doughnut" | "scatter" | "stock" | "area" | "areaStacked" | "areaStackedPercent")} ChartType
*/ */
/** /**
...@@ -282,6 +282,21 @@ ...@@ -282,6 +282,21 @@
settings.type = Asc.c_oAscChartTypeSettings.stock; settings.type = Asc.c_oAscChartTypeSettings.stock;
break; break;
} }
case "area":
{
settings.type = Asc.c_oAscChartTypeSettings.areaNormal;
break;
}
case "areaStacked":
{
settings.type = Asc.c_oAscChartTypeSettings.areaStacked;
break;
}
case "areaStackedPercent":
{
settings.type = Asc.c_oAscChartTypeSettings.areaStackedPer;
break;
}
} }
settings.style = nStyleIndex; settings.style = nStyleIndex;
settings.inColumns = !bInRows; settings.inColumns = !bInRows;
......
...@@ -480,7 +480,7 @@ ...@@ -480,7 +480,7 @@
/** /**
* This type specifies the types, create charts * This type specifies the types, create charts
* @typedef {("bar" | "barStacked" | "barStackedPercent" | "bar3D" | "barStacked3D" | "barStackedPercent3D" | "barStackedPercent3DPerspective" | "horizontalBar" | "horizontalBarStacked" | "horizontalBarStackedPercent" | "horizontalBar3D" | "horizontalBarStacked3D" | "horizontalBarStackedPercent3D" | "lineNormal" | "lineStacked" | "lineStackedPercent" | "line3D" | "pie" | "pie3D" | "doughnut" | "scatter" | "stock")} ChartType * @typedef {("bar" | "barStacked" | "barStackedPercent" | "bar3D" | "barStacked3D" | "barStackedPercent3D" | "barStackedPercent3DPerspective" | "horizontalBar" | "horizontalBarStacked" | "horizontalBarStackedPercent" | "horizontalBar3D" | "horizontalBarStacked3D" | "horizontalBarStackedPercent3D" | "lineNormal" | "lineStacked" | "lineStackedPercent" | "line3D" | "pie" | "pie3D" | "doughnut" | "scatter" | "stock" | "area" | "areaStacked" | "areaStackedPercent")} ChartType
*/ */
/** /**
...@@ -735,6 +735,21 @@ ...@@ -735,6 +735,21 @@
settings.type = Asc.c_oAscChartTypeSettings.stock; settings.type = Asc.c_oAscChartTypeSettings.stock;
break; break;
} }
case "area":
{
settings.type = Asc.c_oAscChartTypeSettings.areaNormal;
break;
}
case "areaStacked":
{
settings.type = Asc.c_oAscChartTypeSettings.areaStacked;
break;
}
case "areaStackedPercent":
{
settings.type = Asc.c_oAscChartTypeSettings.areaStackedPer;
break;
}
} }
var aAscSeries = []; var aAscSeries = [];
var aAlphaBet = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; var aAlphaBet = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'];
...@@ -921,7 +936,7 @@ ...@@ -921,7 +936,7 @@
* @memberof Api * @memberof Api
* @returns {ApiFill} * @returns {ApiFill}
* */ * */
Api.prototype.CreateNoFill= function(sImageUrl, sBlipFillType) Api.prototype.CreateNoFill = function()
{ {
return new ApiFill(AscFormat.CreateNoFillUniFill()); return new ApiFill(AscFormat.CreateNoFillUniFill());
}; };
......
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