Commit e758e808 authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

Флаг для показа названий категорий(аналогично опции "Показать значения чарта")

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51037 954022d7-b5bf-4e40-9824-e11837661b57
parent 640dd5e4
...@@ -147,6 +147,7 @@ function asc_CChart(object) { ...@@ -147,6 +147,7 @@ function asc_CChart(object) {
this.bChartEditor = bCopy ? object.bChartEditor : false; this.bChartEditor = bCopy ? object.bChartEditor : false;
this.bShowValue = bCopy ? object.bShowValue : false; this.bShowValue = bCopy ? object.bShowValue : false;
this.bShowCatName = bCopy ? object.bShowCatName : false;
this.bShowBorder = bCopy ? object.bShowBorder : true; this.bShowBorder = bCopy ? object.bShowBorder : true;
this.styleId = bCopy ? object.styleId : c_oAscChartStyle.Standart; this.styleId = bCopy ? object.styleId : c_oAscChartStyle.Standart;
...@@ -258,6 +259,9 @@ asc_CChart.prototype = { ...@@ -258,6 +259,9 @@ asc_CChart.prototype = {
asc_getShowValueFlag: function() { return this.bShowValue; }, asc_getShowValueFlag: function() { return this.bShowValue; },
asc_setShowValueFlag: function(show) { this.bShowValue = show; }, asc_setShowValueFlag: function(show) { this.bShowValue = show; },
asc_getShowCatNameFlag: function() { return this.bShowCatName; },
asc_setShowCatNameFlag: function(show) { this.bShowCatName = show; },
asc_getShowBorderFlag: function() { return this.bShowBorder; }, asc_getShowBorderFlag: function() { return this.bShowBorder; },
asc_setShowBorderFlag: function(show) { this.bShowBorder = show; }, asc_setShowBorderFlag: function(show) { this.bShowBorder = show; },
...@@ -659,6 +663,7 @@ asc_CChart.prototype = { ...@@ -659,6 +663,7 @@ asc_CChart.prototype = {
Writer.WriteBool( this.bChartEditor ); Writer.WriteBool( this.bChartEditor );
Writer.WriteBool( this.bShowValue ); Writer.WriteBool( this.bShowValue );
Writer.WriteBool( this.bShowCatName );
Writer.WriteBool( this.bShowBorder ); Writer.WriteBool( this.bShowBorder );
// Header // Header
...@@ -751,6 +756,7 @@ asc_CChart.prototype = { ...@@ -751,6 +756,7 @@ asc_CChart.prototype = {
this.bChartEditor = Reader.GetBool(); this.bChartEditor = Reader.GetBool();
this.bShowValue = Reader.GetBool(); this.bShowValue = Reader.GetBool();
this.bShowCatName = Reader.GetBool();
this.bShowBorder = Reader.GetBool(); this.bShowBorder = Reader.GetBool();
// Header // Header
...@@ -1089,6 +1095,9 @@ prot["asc_setStyleId"] = prot.asc_setStyleId; ...@@ -1089,6 +1095,9 @@ prot["asc_setStyleId"] = prot.asc_setStyleId;
prot["asc_getShowValueFlag"] = prot.asc_getShowValueFlag; prot["asc_getShowValueFlag"] = prot.asc_getShowValueFlag;
prot["asc_setShowValueFlag"] = prot.asc_setShowValueFlag; prot["asc_setShowValueFlag"] = prot.asc_setShowValueFlag;
prot["asc_getShowCatNameFlag"] = prot.asc_getShowCatNameFlag;
prot["asc_setShowCatNameFlag"] = prot.asc_setShowCatNameFlag;
prot["asc_getShowBorderFlag"] = prot.asc_getShowBorderFlag; prot["asc_getShowBorderFlag"] = prot.asc_getShowBorderFlag;
prot["asc_setShowBorderFlag"] = prot.asc_setShowBorderFlag; prot["asc_setShowBorderFlag"] = prot.asc_setShowBorderFlag;
......
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