public void SetExprHost(ChartSeriesExprHost exprHost, ObjectModelImpl reportObjectModel) { Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)"); this.m_exprHost = exprHost; this.m_exprHost.SetReportObjectModel(reportObjectModel); if (this.m_customProperties != null && this.m_exprHost.CustomPropertyHostsRemotable != null) { this.m_customProperties.SetExprHost(this.m_exprHost.CustomPropertyHostsRemotable, reportObjectModel); } if (this.m_action != null && this.m_exprHost.ActionInfoHost != null) { this.m_action.SetExprHost(this.m_exprHost.ActionInfoHost, reportObjectModel); } if (this.m_styleClass != null) { this.m_styleClass.SetStyleExprHost(this.m_exprHost); } if (this.m_chartSmartLabel != null && this.m_exprHost.SmartLabelHost != null) { this.m_chartSmartLabel.SetExprHost(this.m_exprHost.SmartLabelHost, reportObjectModel); } if (this.m_emptyPoints != null && this.m_exprHost.EmptyPointsHost != null) { this.m_emptyPoints.SetExprHost(this.m_exprHost.EmptyPointsHost, reportObjectModel); } if (this.m_action != null && this.m_exprHost.ActionInfoHost != null) { this.m_action.SetExprHost(this.m_exprHost.ActionInfoHost, reportObjectModel); } if (this.m_dataLabel != null && this.m_exprHost.DataLabelHost != null) { this.m_dataLabel.SetExprHost(this.m_exprHost.DataLabelHost, reportObjectModel); } if (this.m_marker != null && this.m_exprHost.ChartMarkerHost != null) { this.m_marker.SetExprHost(this.m_exprHost.ChartMarkerHost, reportObjectModel); } List <ChartDerivedSeries> childrenDerivedSeries = this.ChildrenDerivedSeries; IList <ChartDerivedSeriesExprHost> chartDerivedSeriesCollectionHostsRemotable = this.m_exprHost.ChartDerivedSeriesCollectionHostsRemotable; if (childrenDerivedSeries != null && chartDerivedSeriesCollectionHostsRemotable != null) { for (int i = 0; i < childrenDerivedSeries.Count; i++) { ChartDerivedSeries chartDerivedSeries = childrenDerivedSeries[i]; if (chartDerivedSeries != null && chartDerivedSeries.ExpressionHostID > -1) { chartDerivedSeries.SetExprHost(chartDerivedSeriesCollectionHostsRemotable[chartDerivedSeries.ExpressionHostID], reportObjectModel); } } } if (this.m_chartItemInLegend != null && this.m_exprHost.DataPointInLegendHost != null) { this.m_chartItemInLegend.SetExprHost(this.m_exprHost.DataPointInLegendHost, reportObjectModel); } }