Skip to content

Commit

Permalink
[all] charts.null changed to charts.chartEx
Browse files Browse the repository at this point in the history
  • Loading branch information
ansaraidarbek committed Sep 17, 2024
1 parent 9a389d7 commit 1b57cb5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions common/Charts/ChartsDrawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,16 +214,16 @@ CChartsDrawer.prototype =
this.charts = {};
switch (seria.layoutId) {
case AscFormat.SERIES_LAYOUT_CLUSTERED_COLUMN :
this.charts[null] = new drawHistogramChart(seria, this)
this.charts.chartEx= new drawHistogramChart(seria, this)
break
case AscFormat.SERIES_LAYOUT_WATERFALL :
this.charts[null] = new drawWaterfallChart(seria, this)
this.charts.chartEx = new drawWaterfallChart(seria, this)
break
case AscFormat.SERIES_LAYOUT_FUNNEL :
this.charts[null] = new drawFunnelChart(seria, this)
this.charts.chartEx = new drawFunnelChart(seria, this)
break
default :
this.charts[null] = null;
this.charts.chartEx = null;
}
},

Expand Down Expand Up @@ -683,8 +683,8 @@ CChartsDrawer.prototype =
{
let res = null;
if (obj.showChartExVal) {
if (this.charts && this.charts.null) {
res = this.charts.null._calculateDLbl(obj);
if (this.charts && this.charts.chartEx) {
res = this.charts.chartEx._calculateDLbl(obj);
}
} else {
var chartSpace = obj.chart;
Expand Down

0 comments on commit 1b57cb5

Please sign in to comment.