Esempio n. 1
0
        public DVAxisAggregate(RecordStream rs, ChartRecordAggregate container, AxisRecord axis)
            : base(RuleName_DVAXIS, container)
        {
            if (axis == null)
            {
                this.axis = (AxisRecord)rs.GetNext();
                rs.GetNext();
            }
            else
            {
                this.axis = axis;
            }

            if (rs.PeekNextChartSid() == ValueRangeRecord.sid)
                valueRange = (ValueRangeRecord)rs.GetNext();

            if (rs.PeekNextChartSid() == YMultRecord.sid)
                axm = new AXMAggregate(rs, this);

            axs = new AXSAggregate(rs, this);
            if (rs.PeekNextChartSid() == CrtMlFrtRecord.sid)
                crtmlfrt = new CrtMlFrtAggregate(rs, this);

            Record r = rs.GetNext();//EndRecord
            Debug.Assert(r.GetType() == typeof(EndRecord));
        }
Esempio n. 2
0
        public override Object Clone()
        {
            ValueRangeRecord rec = new ValueRangeRecord();

            rec.field_1_minimumAxisValue  = field_1_minimumAxisValue;
            rec.field_2_maximumAxisValue  = field_2_maximumAxisValue;
            rec.field_3_majorIncrement    = field_3_majorIncrement;
            rec.field_4_minorIncrement    = field_4_minorIncrement;
            rec.field_5_categoryAxisCross = field_5_categoryAxisCross;
            rec.field_6_options           = field_6_options;
            return(rec);
        }
Esempio n. 3
0
        public override Object Clone()
        {
            ValueRangeRecord rec = new ValueRangeRecord();

            rec.field_1_minimumAxisValue = field_1_minimumAxisValue;
            rec.field_2_maximumAxisValue = field_2_maximumAxisValue;
            rec.field_3_majorIncrement = field_3_majorIncrement;
            rec.field_4_minorIncrement = field_4_minorIncrement;
            rec.field_5_categoryAxisCross = field_5_categoryAxisCross;
            rec.field_6_options = field_6_options;
            return rec;
        }