NPlot Documented Class Library

IPlotSurface2D Members

IPlotSurface2D overview

Public Instance Properties

AutoScaleAutoGeneratedAxes When plots are added to the plot surface, the axes they are attached to are immediately modified to reflect data of the plot. If AutoScaleAutoGeneratedAxes is true when a plot is added, the axes will be turned in to auto scaling ones if they are not already [tick marks, tick text and label size scaled to size of plot surface]. If false, axes will not be autoscaling.
AutoScaleTitle Whether or not the title will be scaled according to size of the plot surface.
Drawables Gets an array list containing all drawables currently added to the PlotSurface2D.
Legend Gets or Sets the legend to use with this plot surface.
LegendZOrder Setting this value determines the order (relative to IDrawables added to the plot surface) that the legend is drawn.
Padding The distance in pixels to leave between of the edge of the bounding rectangle supplied to the Draw method, and the markings that make up the plot.
PlotBackBrush A Rectangle brush used to paint the plot background. Mutually exclusive with PlotBackColor and PlotBackBrush
PlotBackColor A color used to paint the plot background. Mutually exclusive with PlotBackImage and PlotBackBrush
PlotBackImage An imaged used to paint the plot background. Mutually exclusive with PlotBackColor and PlotBackBrush
SmoothingMode Smoothing mode to use when drawing plots.
Title The plot surface title.
TitleBrush The brush used for drawing the title.
TitleColor Sets the title to be drawn using a solid brush of this color.
TitleFont The plot title font.
XAxis1 The bottom abscissa axis.
XAxis2 The top abscissa axis.
YAxis1 The left ordinate axis.
YAxis2 The right ordinate axis.

Public Instance Methods

AddOverloaded. Adds a drawable object to the plot surface. If the object is an IPlot, the PlotSurface2D axes will also be updated.
AddAxesConstraint Add an axis constraint to the plot surface. Axis constraints can specify relative world-pixel scalings, absolute axis positions etc.
Clear Clears the PlotSurface2D.
Remove Remove a drawable object from the plot surface.

See Also

IPlotSurface2D Interface | NPlot Namespace