示例#1
0
            protected virtual VectorCartesicPlotStyle SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                VectorCartesicPlotStyle s = null != o ? (VectorCartesicPlotStyle)o : new VectorCartesicPlotStyle(info);

                s._meaningOfValues = (ValueInterpretation)info.GetEnum("MeaningOfValues", typeof(ValueInterpretation));

                s._columnX = (IReadableColumnProxy)info.GetValue("ColumnX", s);
                if (null != s._columnX)
                {
                    s._columnX.ParentObject = s;
                }

                s._columnY = (IReadableColumnProxy)info.GetValue("ColumnY", s);
                if (null != s._columnY)
                {
                    s._columnY.ParentObject = s;
                }

                s._independentSkipFrequency         = info.GetBoolean("IndependentSkipFreq");
                s._skipFrequency                    = info.GetInt32("SkipFreq");
                s._ignoreMissingDataPoints          = info.GetBoolean("IgnoreMissingDataPoints");
                s._independentOnShiftingGroupStyles = info.GetBoolean("IndependentOnShiftingGroupStyles");

                s._useManualVectorLength = info.GetBoolean("UseManualVectorLength");
                s._vectorLengthOffset    = info.GetDouble("VectorLengthOffset");
                s._vectorLengthFactor    = info.GetDouble("VectorLengthFactor");

                s._independentSymbolSize = info.GetBoolean("IndependentSymbolSize");
                s._symbolSize            = info.GetDouble("SymbolSize");

                s._strokePen = (PenX)info.GetValue("Pen", s);
                if (null != s._strokePen)
                {
                    s._strokePen.ParentObject = s;
                }

                s._independentColor = info.GetBoolean("IndependentColor");

                s._lineWidth1Offset = info.GetDouble("LineWidth1Offset");
                s._lineWidth1Factor = info.GetDouble("LineWidth1Factor");

                s._endCapSizeOffset = info.GetDouble("EndCapSizeOffset");
                s._endCapSizeFactor = info.GetDouble("EndCapSizeFactor");

                s._useSymbolGap    = info.GetBoolean("UseSymbolGap");
                s._symbolGapOffset = info.GetDouble("SymbolGapOffset");
                s._symbolGapFactor = info.GetDouble("SymbolGapFactor");

                return(s);
            }
示例#2
0
 public VectorCartesicPlotStyle(VectorCartesicPlotStyle from, bool copyWithDataReferences)
 {
     CopyFrom(from, copyWithDataReferences);
 }
示例#3
0
            public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                VectorCartesicPlotStyle s = SDeserialize(o, info, parent);

                return(s);
            }
示例#4
0
		public VectorCartesicPlotStyle(VectorCartesicPlotStyle from, bool copyWithDataReferences)
		{
			CopyFrom(from, copyWithDataReferences);
		}