Example #1
0
        public override Object Clone()
        {
            SeriesRecord rec = new SeriesRecord();

            rec.field_1_categoryDataType = field_1_categoryDataType;
            rec.field_2_valuesDataType   = field_2_valuesDataType;
            rec.field_3_numCategories    = field_3_numCategories;
            rec.field_4_numValues        = field_4_numValues;
            rec.field_5_bubbleSeriesType = field_5_bubbleSeriesType;
            rec.field_6_numBubbleValues  = field_6_numBubbleValues;
            return(rec);
        }
Example #2
0
        public SeriesFormatAggregate(RecordStream rs, ChartRecordAggregate container)
            : base(RuleName_SERIESFORMAT, container)
        {
            series = (SeriesRecord)rs.GetNext();
            rs.GetNext();
            BRAIRecord ai;
            SeriesTextRecord sText;
            while (rs.PeekNextChartSid() == BRAIRecord.sid)
            {
                sText = null;
                ai = (BRAIRecord)rs.GetNext();
                if (rs.PeekNextChartSid() == SeriesTextRecord.sid)
                    sText = (SeriesTextRecord)rs.GetNext();
                dic4AI.Add(ai, sText);
            }
            if (rs.PeekNextChartSid() == DataFormatRecord.sid)
            {
                while (rs.PeekNextChartSid() == DataFormatRecord.sid)
                    ssList.Add(new SSAggregate(rs, this));
            }
            if (rs.PeekNextChartSid() == SerToCrtRecord.sid)
            {
                serToCrt = (SerToCrtRecord)rs.GetNext();
            }
            else
            {
                if (rs.PeekNextChartSid() == SerParentRecord.sid)
                {
                    serParent = (SerParentRecord)rs.GetNext();
                    if (rs.PeekNextChartSid() == SerAuxTrendRecord.sid)
                    {
                        serAuxTrend = (SerAuxTrendRecord)rs.GetNext();
                    }
                    else
                    {
                        serAuxErrBar = (SerAuxErrBarRecord)rs.GetNext();
                    }
                }
            }

            if (rs.PeekNextChartSid() == LegendExceptionRecord.sid)
            {
                while (rs.PeekNextChartSid() == LegendExceptionRecord.sid)
                {
                    leList.Add(new LegendExceptionAggregate(rs, this));
                }
            }

            Record r = rs.GetNext();//EndRecord
            Debug.Assert(r.GetType() == typeof(EndRecord));
        }
Example #3
0
        public override Object Clone()
        {
            SeriesRecord rec = new SeriesRecord();

            rec.field_1_categoryDataType = field_1_categoryDataType;
            rec.field_2_valuesDataType = field_2_valuesDataType;
            rec.field_3_numCategories = field_3_numCategories;
            rec.field_4_numValues = field_4_numValues;
            rec.field_5_bubbleSeriesType = field_5_bubbleSeriesType;
            rec.field_6_numBubbleValues = field_6_numBubbleValues;
            return rec;
        }