C# 클래스 Web.PlotSurface2D

상속: System.Web.UI.WebControls.WebControl, IPlotSurface2D
파일 보기 프로젝트 열기: mono/nplot-gtk

Private Properties

프로퍼티 타입 설명
buildPlotURL String
prefix string

공개 메소드들

메소드 설명
Add ( IDrawable p ) : void

Adds a drawable object to the plot surface. If the object is an IPlot, the PlotSurface2D axes will also be updated.

Add ( IDrawable p, NPlot xp, NPlot yp ) : void

Adds a drawable object to the plot surface against the specified axes. If the object is an IPlot, the PlotSurface2D axes will also be updated.

Add ( IDrawable p, NPlot xp, NPlot yp, int zOrder ) : void

Adds a drawable object to the plot surface against the specified axes. If the object is an IPlot, the PlotSurface2D axes will also be updated.

Add ( IDrawable p, int zOrder ) : void

Adds a drawable object to the plot surface. If the object is an IPlot, the PlotSurface2D axes will also be updated.

AddAxesConstraint ( AxesConstraint c ) : void

Add an axis constraint to the plot surface. Axis constraints can specify relative world-pixel scalings, absolute axis positions etc.

Clear ( ) : void

Clears the plot.

PlotSurface2D ( )

Default constructor.

Remove ( IDrawable p, bool updateAxes ) : void

Remove a drawable object from the plot surface.

보호된 메소드들

메소드 설명
OnInit ( EventArgs e ) : void

Initialization event.

Render ( HtmlTextWriter output ) : void

Render this control as an HTML stream.

비공개 메소드들

메소드 설명
buildPlotURL ( ) : String

Ivan Ivanov wrote this function. From his email: If the request string contains encoded parameters values [e.g. # - %23]. The call to request.Url.ToString() will decode values [e.g. instead of %23 it will return #]. On the subsequent request to the page that contains the nplot control [when the actual drawing of the image takes place] the request url will be cut up to the unformated value [e.g. #] and since the PlotSurface2D_ is added at the end of the query string, it will be missing.

prefix ( ) : string

the prefix used for the session variables

메소드 상세

Add() 공개 메소드

Adds a drawable object to the plot surface. If the object is an IPlot, the PlotSurface2D axes will also be updated.
public Add ( IDrawable p ) : void
p IDrawable The IDrawable object to add to the plot surface.
리턴 void

Add() 공개 메소드

Adds a drawable object to the plot surface against the specified axes. If the object is an IPlot, the PlotSurface2D axes will also be updated.
public Add ( IDrawable p, NPlot xp, NPlot yp ) : void
p IDrawable the IDrawable object to add to the plot surface
xp NPlot the x-axis to add the plot against.
yp NPlot the y-axis to add the plot against.
리턴 void

Add() 공개 메소드

Adds a drawable object to the plot surface against the specified axes. If the object is an IPlot, the PlotSurface2D axes will also be updated.
public Add ( IDrawable p, NPlot xp, NPlot yp, int zOrder ) : void
p IDrawable the IDrawable object to add to the plot surface
xp NPlot the x-axis to add the plot against.
yp NPlot the y-axis to add the plot against.
zOrder int The z-ordering when drawing (objects with lower numbers are drawn first)
리턴 void

Add() 공개 메소드

Adds a drawable object to the plot surface. If the object is an IPlot, the PlotSurface2D axes will also be updated.
public Add ( IDrawable p, int zOrder ) : void
p IDrawable The IDrawable object to add to the plot surface.
zOrder int The z-ordering when drawing (objects with lower numbers are drawn first)
리턴 void

AddAxesConstraint() 공개 메소드

Add an axis constraint to the plot surface. Axis constraints can specify relative world-pixel scalings, absolute axis positions etc.
public AddAxesConstraint ( AxesConstraint c ) : void
c AxesConstraint The axis constraint to add.
리턴 void

Clear() 공개 메소드

Clears the plot.
public Clear ( ) : void
리턴 void

OnInit() 보호된 메소드

Initialization event.
protected OnInit ( EventArgs e ) : void
e EventArgs
리턴 void

PlotSurface2D() 공개 메소드

Default constructor.
public PlotSurface2D ( )

Remove() 공개 메소드

Remove a drawable object from the plot surface.
public Remove ( IDrawable p, bool updateAxes ) : void
p IDrawable the drawable to remove
updateAxes bool whether or not to update the axes after removing the idrawable.
리턴 void

Render() 보호된 메소드

Render this control as an HTML stream.
protected Render ( HtmlTextWriter output ) : void
output HtmlTextWriter The HTML writer to write out to.
리턴 void