Example #1
0
 public MSGraphPane(MSGraphPane other)
     : base(other)
 {
     _currentItemType  = other._currentItemType;
     _pointAnnotations = new GraphObjList();
     _manualLabels     = new Dictionary <TextObj, RectangleF>();
     _labelBoundsCache = other._labelBoundsCache;
 }
Example #2
0
 public MSGraphPane(MSGraphPane other)
     : base(other)
 {
     _currentItemType = other._currentItemType;
     _pointAnnotations = new GraphObjList();
     _manualLabels = new Dictionary<TextObj, RectangleF>();
     _labelBoundsCache = other._labelBoundsCache;
 }
Example #3
0
        public MSGraphPane(LabelBoundsCache labelBoundsCache = null)
        {
            Title.IsVisible            = false;
            Chart.Border.IsVisible     = false;
            Y2Axis.IsVisible           = false;
            X2Axis.IsVisible           = false;
            XAxis.MajorTic.IsOpposite  = false;
            YAxis.MajorTic.IsOpposite  = false;
            XAxis.MinorTic.IsOpposite  = false;
            YAxis.MinorTic.IsOpposite  = false;
            IsFontsScaled              = false;
            YAxis.Scale.MaxGrace       = 0.1;
            YAxis.MajorGrid.IsZeroLine = false; // Hide the y=0 line
            LockYAxisAtZero            = true;

            _currentItemType  = MSGraphItemType.unknown;
            _pointAnnotations = new GraphObjList();
            _manualLabels     = new Dictionary <TextObj, RectangleF>();
            _labelBoundsCache = labelBoundsCache ?? new LabelBoundsCache();
        }
Example #4
0
        public MSGraphPane(LabelBoundsCache labelBoundsCache = null)
        {
            Title.IsVisible = false;
            Chart.Border.IsVisible = false;
            Y2Axis.IsVisible = false;
            X2Axis.IsVisible = false;
            XAxis.MajorTic.IsOpposite = false;
            YAxis.MajorTic.IsOpposite = false;
            XAxis.MinorTic.IsOpposite = false;
            YAxis.MinorTic.IsOpposite = false;
            IsFontsScaled = false;
            YAxis.Scale.MaxGrace = 0.1;
            YAxis.MajorGrid.IsZeroLine = false; // Hide the y=0 line
            LockYAxisAtZero = true;

            _currentItemType = MSGraphItemType.unknown;
            _pointAnnotations = new GraphObjList();
            _manualLabels = new Dictionary<TextObj, RectangleF>();
            _labelBoundsCache = labelBoundsCache ?? new LabelBoundsCache();
        }