public InternalChartMember(IReportScope reportScope, IDefinitionPath parentDefinitionPath, Chart owner, ChartMember parent, AspNetCore.ReportingServices.ReportIntermediateFormat.ChartMember memberDef, int parentCollectionIndex)
     : base(parentDefinitionPath, owner, parent, parentCollectionIndex)
 {
     this.m_memberDef = memberDef;
     if (this.m_memberDef.IsStatic)
     {
         this.m_reportScope = reportScope;
     }
     base.m_group = new Group(owner, this.m_memberDef, this);
 }
        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;
                }
            }
        }