public object PublishClone(AutomaticSubtotalContext context) { ChartSmartLabel chartSmartLabel = (ChartSmartLabel)base.MemberwiseClone(); chartSmartLabel.m_chart = (Chart)context.CurrentDataRegionClone; if (this.m_allowOutSidePlotArea != null) { chartSmartLabel.m_allowOutSidePlotArea = (ExpressionInfo)this.m_allowOutSidePlotArea.PublishClone(context); } if (this.m_calloutBackColor != null) { chartSmartLabel.m_calloutBackColor = (ExpressionInfo)this.m_calloutBackColor.PublishClone(context); } if (this.m_calloutLineAnchor != null) { chartSmartLabel.m_calloutLineAnchor = (ExpressionInfo)this.m_calloutLineAnchor.PublishClone(context); } if (this.m_calloutLineColor != null) { chartSmartLabel.m_calloutLineColor = (ExpressionInfo)this.m_calloutLineColor.PublishClone(context); } if (this.m_calloutLineStyle != null) { chartSmartLabel.m_calloutLineStyle = (ExpressionInfo)this.m_calloutLineStyle.PublishClone(context); } if (this.m_calloutLineWidth != null) { chartSmartLabel.m_calloutLineWidth = (ExpressionInfo)this.m_calloutLineWidth.PublishClone(context); } if (this.m_calloutStyle != null) { chartSmartLabel.m_calloutStyle = (ExpressionInfo)this.m_calloutStyle.PublishClone(context); } if (this.m_showOverlapped != null) { chartSmartLabel.m_showOverlapped = (ExpressionInfo)this.m_showOverlapped.PublishClone(context); } if (this.m_markerOverlapping != null) { chartSmartLabel.m_markerOverlapping = (ExpressionInfo)this.m_markerOverlapping.PublishClone(context); } if (this.m_maxMovingDistance != null) { chartSmartLabel.m_maxMovingDistance = (ExpressionInfo)this.m_maxMovingDistance.PublishClone(context); } if (this.m_minMovingDistance != null) { chartSmartLabel.m_minMovingDistance = (ExpressionInfo)this.m_minMovingDistance.PublishClone(context); } if (this.m_noMoveDirections != null) { chartSmartLabel.m_noMoveDirections = (ChartNoMoveDirections)this.m_noMoveDirections.PublishClone(context); } if (this.m_disabled != null) { chartSmartLabel.m_disabled = (ExpressionInfo)this.m_disabled.PublishClone(context); } return(chartSmartLabel); }
public ChartSmartLabel(InternalChartSeries chartSeries, AspNetCore.ReportingServices.ReportIntermediateFormat.ChartSmartLabel chartSmartLabelDef, Chart chart) { this.m_chartSeries = chartSeries; this.m_chartSmartLabelDef = chartSmartLabelDef; this.m_chart = chart; }
public override void Deserialize(IntermediateFormatReader reader) { base.Deserialize(reader); reader.RegisterDeclaration(ChartSeries.m_Declaration); while (reader.NextMember()) { switch (reader.CurrentMember.MemberName) { case MemberName.Name: this.m_name = reader.ReadString(); break; case MemberName.ChartDataPoints: this.m_dataPoints = reader.ReadListOfRIFObjects <ChartDataPointList>(); break; case MemberName.ExprHostID: this.m_exprHostID = reader.ReadInt32(); break; case MemberName.Chart: this.m_chart = reader.ReadReference <Chart>(this); break; case MemberName.ChartMember: this.m_parentChartMember = reader.ReadReference <ChartMember>(this); break; case MemberName.SourceSeries: this.m_sourceSeries = reader.ReadReference <ChartSeries>(this); break; case MemberName.Action: this.m_action = (Action)reader.ReadRIFObject(); break; case MemberName.Type: this.m_type = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.Subtype: this.m_subtype = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.EmptyPoints: this.m_emptyPoints = (ChartEmptyPoints)reader.ReadRIFObject(); break; case MemberName.LegendName: this.m_legendName = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.LegendText: this.m_legendText = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.ChartAreaName: this.m_chartAreaName = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.ValueAxisName: this.m_valueAxisName = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.CategoryAxisName: this.m_categoryAxisName = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.StyleClass: this.m_styleClass = (Style)reader.ReadRIFObject(); break; case MemberName.Hidden: this.m_hidden = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.HideInLegend: this.m_hideInLegend = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.ChartSmartLabel: this.m_chartSmartLabel = (ChartSmartLabel)reader.ReadRIFObject(); break; case MemberName.CustomProperties: this.m_customProperties = reader.ReadListOfRIFObjects <DataValueList>(); break; case MemberName.DataLabel: this.m_dataLabel = (ChartDataLabel)reader.ReadRIFObject(); break; case MemberName.Marker: this.m_marker = (ChartMarker)reader.ReadRIFObject(); break; case MemberName.ToolTip: this.m_toolTip = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.ChartItemInLegend: this.m_chartItemInLegend = (ChartItemInLegend)reader.ReadRIFObject(); break; default: Global.Tracer.Assert(false); break; } } }