Ejemplo n.º 1
0
        /// <summary>
        /// Copy constructor
        /// </summary>
        public ChartParametersBase(ChartParametersBase parameters)
            : base(parameters)
        {
            UseRefValues  = parameters.UseRefValues;
            ShowGridLines = parameters.ShowGridLines;

            XAxisLabel     = parameters.XAxisLabel;
            XAxisLabelType = parameters.XAxisLabelType;
            XAxisAngle     = parameters.XAxisAngle;

            YAxisFormat = parameters.YAxisFormat;
            YAxisLabel  = parameters.YAxisLabel;

            Y2AxisFormat      = parameters.Y2AxisFormat;
            Y2AxisLabel       = parameters.Y2AxisLabel;
            Y2AxisLegendTitle = parameters.Y2AxisLegendTitle;
            Y2LineKind        = parameters.Y2LineKind;
            Y2LineDashStyle   = parameters.Y2LineDashStyle;
            Y2ShowAnnotations = parameters.Y2ShowAnnotations;
            Y2LineThickness   = parameters.Y2LineThickness;

            ChartTitle       = parameters.ChartTitle;
            ChartStrataTitle = parameters.ChartStrataTitle;
            ChartSubTitle    = parameters.ChartSubTitle;

            ShowAnnotations    = parameters.ShowAnnotations;
            ShowLegend         = parameters.ShowLegend;
            ShowLegendBorder   = parameters.ShowLegendBorder;
            ShowLegendVarNames = parameters.ShowLegendVarNames;
            LegendFontSize     = parameters.LegendFontSize;
            ChartWidth         = parameters.ChartWidth;
            ChartHeight        = parameters.ChartHeight;
            Palette            = parameters.Palette;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Copy constructor
        /// </summary>
        public ChartParametersBase(ChartParametersBase parameters)
            : base(parameters)
        {
            UseRefValues = parameters.UseRefValues;
            ShowGridLines = parameters.ShowGridLines;

            XAxisLabel = parameters.XAxisLabel;
            XAxisLabelType = parameters.XAxisLabelType;
            XAxisAngle = parameters.XAxisAngle;

            YAxisFormat = parameters.YAxisFormat;
            YAxisLabel = parameters.YAxisLabel;

            Y2AxisFormat = parameters.Y2AxisFormat;
            Y2AxisLabel = parameters.Y2AxisLabel;
            Y2AxisLegendTitle = parameters.Y2AxisLegendTitle;
            Y2LineKind =parameters.Y2LineKind;
            Y2LineDashStyle = parameters.Y2LineDashStyle;
            Y2ShowAnnotations = parameters.Y2ShowAnnotations;
            Y2LineThickness = parameters.Y2LineThickness;

            ChartTitle = parameters.ChartTitle;
            ChartStrataTitle = parameters.ChartStrataTitle;
            ChartSubTitle = parameters.ChartSubTitle;

            ShowAnnotations = parameters.ShowAnnotations;
            ShowLegend = parameters.ShowLegend;
            ShowLegendBorder = parameters.ShowLegendBorder;
            ShowLegendVarNames = parameters.ShowLegendVarNames;
            LegendFontSize = parameters.LegendFontSize;
            ChartWidth = parameters.ChartWidth;
            ChartHeight = parameters.ChartHeight;
            Palette = parameters.Palette;
        }