public object PublishClone(AutomaticSubtotalContext context)
        {
            ChartNoMoveDirections chartNoMoveDirections = (ChartNoMoveDirections)base.MemberwiseClone();

            chartNoMoveDirections.m_chart = (Chart)context.CurrentDataRegionClone;
            if (this.m_up != null)
            {
                chartNoMoveDirections.m_up = (ExpressionInfo)this.m_up.PublishClone(context);
            }
            if (this.m_down != null)
            {
                chartNoMoveDirections.m_down = (ExpressionInfo)this.m_down.PublishClone(context);
            }
            if (this.m_left != null)
            {
                chartNoMoveDirections.m_left = (ExpressionInfo)this.m_left.PublishClone(context);
            }
            if (this.m_right != null)
            {
                chartNoMoveDirections.m_right = (ExpressionInfo)this.m_right.PublishClone(context);
            }
            if (this.m_upLeft != null)
            {
                chartNoMoveDirections.m_upLeft = (ExpressionInfo)this.m_upLeft.PublishClone(context);
            }
            if (this.m_upRight != null)
            {
                chartNoMoveDirections.m_upRight = (ExpressionInfo)this.m_upRight.PublishClone(context);
            }
            if (this.m_downLeft != null)
            {
                chartNoMoveDirections.m_downLeft = (ExpressionInfo)this.m_downLeft.PublishClone(context);
            }
            if (this.m_downRight != null)
            {
                chartNoMoveDirections.m_downRight = (ExpressionInfo)this.m_downRight.PublishClone(context);
            }
            return(chartNoMoveDirections);
        }
Example #2
0
 public ChartNoMoveDirections(InternalChartSeries chartSeries, AspNetCore.ReportingServices.ReportIntermediateFormat.ChartNoMoveDirections chartNoMoveDirectionsDef, Chart chart)
 {
     this.m_chartSeries = chartSeries;
     this.m_chartNoMoveDirectionsDef = chartNoMoveDirectionsDef;
     this.m_chart = chart;
 }
Example #3
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(ChartSmartLabel.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Chart:
                    this.m_chart = reader.ReadReference <Chart>(this);
                    break;

                case MemberName.ChartSeries:
                    this.m_chartSeries = reader.ReadReference <ChartSeries>(this);
                    break;

                case MemberName.AllowOutSidePlotArea:
                    this.m_allowOutSidePlotArea = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CalloutBackColor:
                    this.m_calloutBackColor = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CalloutLineAnchor:
                    this.m_calloutLineAnchor = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CalloutLineColor:
                    this.m_calloutLineColor = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CalloutLineStyle:
                    this.m_calloutLineStyle = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CalloutLineWidth:
                    this.m_calloutLineWidth = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CalloutStyle:
                    this.m_calloutStyle = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ShowOverlapped:
                    this.m_showOverlapped = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MarkerOverlapping:
                    this.m_markerOverlapping = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MaxMovingDistance:
                    this.m_maxMovingDistance = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MinMovingDistance:
                    this.m_minMovingDistance = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.NoMoveDirections:
                    this.m_noMoveDirections = (ChartNoMoveDirections)reader.ReadRIFObject();
                    break;

                case MemberName.Disabled:
                    this.m_disabled = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }