Commit dabf4223 authored by Sergey Luzyanin's avatar Sergey Luzyanin Committed by Alexander.Trofimov

add ASC prefix

parent 3de54960
...@@ -3162,6 +3162,8 @@ function Woorksheet(wb, _index, sId){ ...@@ -3162,6 +3162,8 @@ function Woorksheet(wb, _index, sId){
this.oDrawingOjectsManager = new DrawingObjectsManager(this); this.oDrawingOjectsManager = new DrawingObjectsManager(this);
this.contentChanges = new CContentChanges(); this.contentChanges = new CContentChanges();
this.sparklineGroups = new sparklineGroups();
/*handlers*/ /*handlers*/
this.handlers = null; this.handlers = null;
} }
......
...@@ -370,7 +370,7 @@ CSparklineView.prototype.initFromSparkline = function(oSparkline, oSparklineGrou ...@@ -370,7 +370,7 @@ CSparklineView.prototype.initFromSparkline = function(oSparkline, oSparklineGrou
{ {
ExecuteNoHistory(function(){ ExecuteNoHistory(function(){
this.ws = worksheetView; this.ws = worksheetView;
var settings = new asc_ChartSettings(); var settings = new AscCommon.asc_ChartSettings();
switch(oSparklineGroup.type) switch(oSparklineGroup.type)
{ {
case Asc.ESparklineType.Column: case Asc.ESparklineType.Column:
...@@ -429,7 +429,7 @@ CSparklineView.prototype.initFromSparkline = function(oSparkline, oSparklineGrou ...@@ -429,7 +429,7 @@ CSparklineView.prototype.initFromSparkline = function(oSparkline, oSparklineGrou
settings.putHorGridLines(c_oAscGridLinesSettings.none); settings.putHorGridLines(c_oAscGridLinesSettings.none);
settings.putVertGridLines(c_oAscGridLinesSettings.none); settings.putVertGridLines(c_oAscGridLinesSettings.none);
var val_ax_props = new asc_ValAxisSettings(); var val_ax_props = new AscCommon.asc_ValAxisSettings();
if(settings.type !== c_oAscChartTypeSettings.barStackedPer) if(settings.type !== c_oAscChartTypeSettings.barStackedPer)
{ {
if(oSparklineGroup.minAxisType === Asc.SparklineAxisMinMax.Custom && oSparklineGroup.manualMin != null) if(oSparklineGroup.minAxisType === Asc.SparklineAxisMinMax.Custom && oSparklineGroup.manualMin != null)
...@@ -471,7 +471,7 @@ CSparklineView.prototype.initFromSparkline = function(oSparkline, oSparklineGrou ...@@ -471,7 +471,7 @@ CSparklineView.prototype.initFromSparkline = function(oSparkline, oSparklineGrou
var cat_ax_props = new asc_CatAxisSettings(); var cat_ax_props = new AscCommon.asc_CatAxisSettings();
cat_ax_props.putIntervalBetweenLabelsRule(c_oAscBetweenLabelsRule.auto); cat_ax_props.putIntervalBetweenLabelsRule(c_oAscBetweenLabelsRule.auto);
cat_ax_props.putLabelsPosition(c_oAscLabelsPosition.betweenDivisions); cat_ax_props.putLabelsPosition(c_oAscLabelsPosition.betweenDivisions);
cat_ax_props.putTickLabelsPos(c_oAscTickLabelsPos.TICK_LABEL_POSITION_NONE); cat_ax_props.putTickLabelsPos(c_oAscTickLabelsPos.TICK_LABEL_POSITION_NONE);
......
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