Esempio n. 1
0
        private void Initialize()
        {
            _name  = "XYPlotSeq";
            Points = 100;

            _lastKeyEventArgs = new KeyEventOptions();

            Font = new FontInfo("Arial", 10, FontfaceStyle.Regular);

            PropertiesSource = new PropertiesSource(1, PropertiesSource.SourceTypeEnum.PropertyGrid);

            ChartArea = new ChartArea {
                ChartRect = new Rectangle(new Point(0, 0), Size)
            };
            ChartStyle = new ChartStyle();
            Grid       = new Grid();
            Legend     = new Legend();
            XAxis      = new XAxis();
            YAxis      = new YAxis();
            Y2Axis     = new Y2Axis();
            XYLabel    = new XYLabel();
            Title      = new Title();

            Series = new List <Series>();

            _interactions = new ArrayList
            {
                new Interactions.HorizontalDrag(),
                new Interactions.VerticalDrag(),
                new Interactions.MouseZoom()
            };
        }
Esempio n. 2
0
 public override void OnKeyUp(KeyEventOptions e) => _lastKeyEventArgs = e;