How to add figure on chart plotter?

Jan 19, 2011 at 6:32 AM

How to draw Ellipse with XY coordinates on chart plotter?

Sep 1, 2011 at 4:25 PM

  I know this is an old post but it might be helpful to someone else.


ChartPlotter Plot = new ChartPlotter;

Ellipse e = new Ellipse();
e.Fill = Brushes.LightGray;
ellipseContainer = new PositionalViewportUIContainer();
ellipseContainer.Position = new Point(1, 1);

ellipseContainer.Content = e;
ellipseContainer.MinWidth = totalwidth;
ellipseContainer.MinHeight = totalheight;