NPlot Documented Class Library

PlotSurface2D Members

PlotSurface2D overview

Public Static Methods

Equals (inherited from Object)Determines whether the specified Object instances are considered equal.
ReferenceEquals (inherited from Object)Determines whether the specified Object instances are the same instance.

Public Instance Constructors

PlotSurface2D Constructor Default constructor.

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 Legend to use. If this property is null [default], then the plot surface will have no corresponding legend.
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.
PhysicalXAxis1Cache The physical XAxis1 that was last drawn.
PhysicalXAxis2Cache The physical XAxis2 that was last drawn.
PhysicalYAxis1Cache The physical YAxis1 that was last drawn.
PhysicalYAxis2Cache The physical YAxis2 that was last drawn.
PlotAreaBoundingBoxCache The physical bounding box of the last drawn plot surface area is available here.
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 chart 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 with z-order 0. If the object is an IPlot, the PlotSurface2D axes will also be updated.
AddAxesConstraint Add an axis constraint to the plot surface. Axes constraints give you control over where NPlot positions each axes, and the world - pixel ratio.
Clear Clears the plot and resets all state to the default.
Draw Draw the the PlotSurface2D and all contents [axes, drawables, and legend] on the supplied graphics surface.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
HitTest Performs a hit test with the given point and returns information about the object being hit.
Remove Remove a drawable object. Note that axes are not updated.
ToString (inherited from Object)Returns a String that represents the current Object.
WhichXAxis Returns the x-axis associated with a given plot.
WhichYAxis Returns the y-axis associated with a given plot.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

PlotSurface2D Class | NPlot Namespace