Skip to content

Commit

Permalink
[all] Console logs removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ansaraidarbek committed Feb 11, 2025
1 parent 0d421de commit e90670d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions common/Charts/ChartsDrawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1678,14 +1678,14 @@ CChartsDrawer.prototype =

let boundaries = {};

// add Trendline coordinates and precalculate all the necessary results
if (this.nDimensionCount !== 3 && chartSpace && chartSpace.chart && chartSpace.chart.plotArea && chartSpace.chart.plotArea.charts) {
const charts = chartSpace.chart.plotArea.charts;
let counter = chartSpace.chart.dispBlanksAs === AscFormat.DISP_BLANKS_AS_ZERO ? 0 : null;
for (let i = 0; i < charts.length; i++) {
if (charts[i].series) {
const subType = this.getChartGrouping(charts[i]);
const series = charts[i].series;
// add UpDownBars coordinates and all the necessary information
if (charts[i].upDownBars) {
for (let j = 0; j < series.length; j++) {
const seria = series[j];
Expand All @@ -1710,6 +1710,7 @@ CChartsDrawer.prototype =
}
}
}
// add Trendline coordinates and precalculate all the necessary results
if (subType === 'normal') {
for (let j = 0; j < series.length; j++) {
const seria = series[j];
Expand Down Expand Up @@ -18980,12 +18981,14 @@ CColorObj.prototype =

constructor: CUpDownBars,

// initialize important information
provideInfo: function (ptsCount, subtype, upDownBars) {
this.ptsCount = ptsCount;
this.subtype = subtype;
this.upDownBars = upDownBars;
},

// add coordinates one by one
addCoordinate: function (catPoint, valPoint, index) {
if (this.lastIndex === null || index !== this.lastIndex) {
this.lastIndex = index;
Expand Down Expand Up @@ -19032,7 +19035,7 @@ CColorObj.prototype =
let chosenPath;

for (let i in charts) {
if (charts.hasOwnProperty(i) && charts[i]) {
if (charts.hasOwnProperty(i) && charts[i] && this.upDownBars && this.upDownBars.parent.Id === i) {
const valAxis = charts[i].chart.axId[1];

const catStart = this.cChartDrawer.calcProp.chartGutter._left;
Expand Down Expand Up @@ -19076,7 +19079,6 @@ CColorObj.prototype =
start += barWidth + (gapBetween * 2);
}
}
console.log(this.upPaths, this.downPaths);
}
}
},
Expand Down

0 comments on commit e90670d

Please sign in to comment.