Example #1
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.DataPointValues:
                    m_dataPointValues = (ChartDataPointValues)reader.ReadRIFObject();
                    break;

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

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

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

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

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

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

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

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

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

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

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Name:
                    m_name = reader.ReadString();
                    break;

                case MemberName.ExprHostID:
                    m_exprHostID = reader.ReadInt32();
                    break;

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

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

                case MemberName.Separator:
                    m_separator = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.SeparatorColor:
                    m_separatorColor = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

                case MemberName.ChartLegendCustomItemCells:
                    m_chartLegendCustomItemCells = reader.ReadGenericListOfRIFObjects <ChartLegendCustomItemCell>();
                    break;

                case MemberName.ID:
                    m_id = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Example #3
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            ChartMarker chartMarker = (ChartMarker)base.PublishClone(context);

            if (m_markerSize != null)
            {
                chartMarker.m_markerSize = (ExpressionInfo)m_markerSize.PublishClone(context);
            }
            if (m_markerType != null)
            {
                chartMarker.m_markerType = (ExpressionInfo)m_markerType.PublishClone(context);
            }
            return(chartMarker);
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Action:
                    m_action = (Action)reader.ReadRIFObject();
                    break;

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

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

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

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

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

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

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Example #5
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Name:
                    m_name = reader.ReadString();
                    break;

                case MemberName.ChartDataPoints:
                    m_dataPoints = reader.ReadListOfRIFObjects <ChartDataPointList>();
                    break;

                case MemberName.ExprHostID:
                    m_exprHostID = reader.ReadInt32();
                    break;

                case MemberName.Chart:
                    m_chart = reader.ReadReference <Chart>(this);
                    break;

                case MemberName.ChartMember:
                    m_parentChartMember = reader.ReadReference <ChartMember>(this);
                    break;

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

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

                case MemberName.Type:
                    m_type = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Subtype:
                    m_subtype = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.EmptyPoints:
                    m_emptyPoints = (ChartEmptyPoints)reader.ReadRIFObject();
                    break;

                case MemberName.LegendName:
                    m_legendName = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.LegendText:
                    m_legendText = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ChartAreaName:
                    m_chartAreaName = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ValueAxisName:
                    m_valueAxisName = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.CategoryAxisName:
                    m_categoryAxisName = (ExpressionInfo)reader.ReadRIFObject();
                    break;

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

                case MemberName.Hidden:
                    m_hidden = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.HideInLegend:
                    m_hideInLegend = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ChartSmartLabel:
                    m_chartSmartLabel = (ChartSmartLabel)reader.ReadRIFObject();
                    break;

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

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

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

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

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

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Example #6
0
 internal ChartMarker(Microsoft.ReportingServices.ReportIntermediateFormat.ChartMarker markerDef, Chart chart)
 {
     m_markerDef = markerDef;
     m_chart     = chart;
 }
Example #7
0
 internal ChartMarker(InternalChartSeries chartSeries, Microsoft.ReportingServices.ReportIntermediateFormat.ChartMarker markerDef, Chart chart)
     : this(markerDef, chart)
 {
     m_chartSeries = chartSeries;
 }
Example #8
0
 internal ChartMarker(ChartDataPoint dataPoint, Microsoft.ReportingServices.ReportIntermediateFormat.ChartMarker markerDef, Chart chart)
     : this(markerDef, chart)
 {
     m_dataPoint = dataPoint;
 }