public override object PublishClone(AutomaticSubtotalContext context) { ChartLegendColumn chartLegendColumn = (ChartLegendColumn)base.PublishClone(context); if (this.m_action != null) { chartLegendColumn.m_action = (Action)this.m_action.PublishClone(context); } if (this.m_columnType != null) { chartLegendColumn.m_columnType = (ExpressionInfo)this.m_columnType.PublishClone(context); } if (this.m_value != null) { chartLegendColumn.m_value = (ExpressionInfo)this.m_value.PublishClone(context); } if (this.m_toolTip != null) { chartLegendColumn.m_toolTip = (ExpressionInfo)this.m_toolTip.PublishClone(context); } if (this.m_minimumWidth != null) { chartLegendColumn.m_minimumWidth = (ExpressionInfo)this.m_minimumWidth.PublishClone(context); } if (this.m_maximumWidth != null) { chartLegendColumn.m_maximumWidth = (ExpressionInfo)this.m_maximumWidth.PublishClone(context); } if (this.m_seriesSymbolWidth != null) { chartLegendColumn.m_seriesSymbolWidth = (ExpressionInfo)this.m_seriesSymbolWidth.PublishClone(context); } if (this.m_seriesSymbolHeight != null) { chartLegendColumn.m_seriesSymbolHeight = (ExpressionInfo)this.m_seriesSymbolHeight.PublishClone(context); } if (this.m_header != null) { chartLegendColumn.m_header = (ChartLegendColumnHeader)this.m_header.PublishClone(context); } return(chartLegendColumn); }
public void SetExprHost(ChartLegendExprHost exprHost, ObjectModelImpl reportObjectModel) { Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)"); base.SetExprHost(exprHost, reportObjectModel); this.m_exprHost = exprHost; if (this.m_chartLegendTitle != null && exprHost.TitleExprHost != null) { this.m_chartLegendTitle.SetExprHost(exprHost.TitleExprHost, reportObjectModel); } IList <ChartLegendCustomItemExprHost> chartLegendCustomItemsHostsRemotable = this.m_exprHost.ChartLegendCustomItemsHostsRemotable; if (this.m_chartLegendCustomItems != null && chartLegendCustomItemsHostsRemotable != null) { for (int i = 0; i < this.m_chartLegendCustomItems.Count; i++) { ChartLegendCustomItem chartLegendCustomItem = this.m_chartLegendCustomItems[i]; if (chartLegendCustomItem != null && chartLegendCustomItem.ExpressionHostID > -1) { chartLegendCustomItem.SetExprHost(chartLegendCustomItemsHostsRemotable[chartLegendCustomItem.ExpressionHostID], reportObjectModel); } } } IList <ChartLegendColumnExprHost> chartLegendColumnsHostsRemotable = this.m_exprHost.ChartLegendColumnsHostsRemotable; if (this.m_chartLegendColumns != null && chartLegendColumnsHostsRemotable != null) { for (int j = 0; j < this.m_chartLegendColumns.Count; j++) { ChartLegendColumn chartLegendColumn = this.m_chartLegendColumns[j]; if (chartLegendColumn != null && chartLegendColumn.ExpressionHostID > -1) { chartLegendColumn.SetExprHost(chartLegendColumnsHostsRemotable[chartLegendColumn.ExpressionHostID], reportObjectModel); } } } if (this.m_chartElementPosition != null && this.m_exprHost.ChartElementPositionHost != null) { this.m_chartElementPosition.SetExprHost(this.m_exprHost.ChartElementPositionHost, reportObjectModel); } }
public ChartLegendColumn(AspNetCore.ReportingServices.ReportIntermediateFormat.ChartLegendColumn chartLegendColumnDef, Chart chart) { this.m_chartLegendColumnDef = chartLegendColumnDef; this.m_chart = chart; }