PlotChart

Public Members

  • float VerticalOffset - Offset as a percentage
    • ex: if you want the top 10% and bottom 10% of the panel to be blank, set this to .1
  • float HorizontalOffset - Offset as a percentage
    • ex: if you want the left 10% and right 10% of the panel to be blank, set this to .1

Public Methods

  • SaveImage(string path, int height, int width, System.Drawing.ImageFormat format) - wiill save an image of the current panel to path at a size of height by width and as a format image.

  • AddPoints(ArrayList points, Color color) - adds the given points in PointF format to those displayed. color is the color that this particular curve should be drawn in.
    • The chart will automatically scale points, but should probably be cleared if points of drastically varying scale are to be used together

  • Clear() - clears the chart

Options

  • X Scale (min, max, step)
    • tick marks
    • tick numbers
  • Y Scale (min, max, step)
    • tick marks
    • tick numbers
  • Line Width
  • Text Font
  • X Label
  • Y Label
  • Graph Title

Topic revision: r3 - 10 Jun 2005, HaojieWu
 

This site is powered by FoswikiCopyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki? Send feedback