public override object PublishClone(AutomaticSubtotalContext context)
        {
            ChartDataLabel chartDataLabel = (ChartDataLabel)base.PublishClone(context);

            if (this.m_label != null)
            {
                chartDataLabel.m_label = (ExpressionInfo)this.m_label.PublishClone(context);
            }
            if (this.m_visible != null)
            {
                chartDataLabel.m_visible = (ExpressionInfo)this.m_visible.PublishClone(context);
            }
            if (this.m_position != null)
            {
                chartDataLabel.m_position = (ExpressionInfo)this.m_position.PublishClone(context);
            }
            if (this.m_rotation != null)
            {
                chartDataLabel.m_rotation = (ExpressionInfo)this.m_rotation.PublishClone(context);
            }
            if (this.m_useValueAsLabel != null)
            {
                chartDataLabel.m_useValueAsLabel = (ExpressionInfo)this.m_useValueAsLabel.PublishClone(context);
            }
            if (this.m_action != null)
            {
                chartDataLabel.m_action = (Action)this.m_action.PublishClone(context);
            }
            if (this.m_toolTip != null)
            {
                chartDataLabel.m_toolTip = (ExpressionInfo)this.m_toolTip.PublishClone(context);
            }
            return(chartDataLabel);
        }
Ejemplo n.º 2
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(ChartDataPoint.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.DataPointValues:
                    this.m_dataPointValues = (ChartDataPointValues)reader.ReadRIFObject();
                    break;

                case MemberName.DataLabel:
                    this.m_dataLabel = (ChartDataLabel)reader.ReadRIFObject();
                    break;

                case MemberName.Action:
                    this.m_action = (Action)reader.ReadRIFObject();
                    break;

                case MemberName.StyleClass:
                    this.m_styleClass = (Style)reader.ReadRIFObject();
                    break;

                case MemberName.DataElementName:
                    this.m_dataElementName = reader.ReadString();
                    break;

                case MemberName.DataElementOutput:
                    this.m_dataElementOutput = (DataElementOutputTypes)reader.ReadEnum();
                    break;

                case MemberName.CustomProperties:
                    this.m_customProperties = reader.ReadListOfRIFObjects <DataValueList>();
                    break;

                case MemberName.Marker:
                    this.m_marker = (ChartMarker)reader.ReadRIFObject();
                    break;

                case MemberName.AxisLabel:
                    this.m_axisLabel = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ChartItemInLegend:
                    this.m_itemInLegend = (ChartItemInLegend)reader.ReadRIFObject();
                    break;

                case MemberName.ToolTip:
                    this.m_toolTip = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(ChartEmptyPoints.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Action:
                    this.m_action = (Action)reader.ReadRIFObject();
                    break;

                case MemberName.Marker:
                    this.m_marker = (ChartMarker)reader.ReadRIFObject();
                    break;

                case MemberName.DataLabel:
                    this.m_dataLabel = (ChartDataLabel)reader.ReadRIFObject();
                    break;

                case MemberName.AxisLabel:
                    this.m_axisLabel = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CustomProperties:
                    this.m_customProperties = reader.ReadListOfRIFObjects <DataValueList>();
                    break;

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

                case MemberName.ToolTip:
                    this.m_toolTip = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
 public ChartDataLabel(InternalChartSeries series, AspNetCore.ReportingServices.ReportIntermediateFormat.ChartDataLabel chartDataLabelDef, Chart chart)
 {
     this.m_chartSeries       = series;
     this.m_chartDataLabelDef = chartDataLabelDef;
     this.m_chart             = chart;
 }
 public ChartDataLabel(ChartDataPoint dataPoint, AspNetCore.ReportingServices.ReportIntermediateFormat.ChartDataLabel chartDataLabelDef, Chart chart)
 {
     this.m_dataPoint         = dataPoint;
     this.m_chartDataLabelDef = chartDataLabelDef;
     this.m_chart             = chart;
 }
Ejemplo n.º 6
0
        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;
                }
            }
        }