C# 클래스 NPlot.SequenceAdapter

This class is responsible for interpreting the various ways you can specify data to plot objects using the DataSource, DataMember, ordinateData and AbscissaData properties. It is a bridge that provides access to this data via a single interface.
파일 보기 프로젝트 열기: mono/nplot-gtk 1 사용 예제들

공개 메소드들

메소드 설명
SequenceAdapter ( object dataSource, string dataMember, object ordinateData, object abscissaData ) : System

Constructor. The data source specifiers must be specified here.

SuggestXAxis ( ) : Axis

Returns an x-axis that is suitable for drawing the data.

SuggestYAxis ( ) : Axis

Returns a y-axis that is suitable for drawing the data.

WriteData ( System sb, RectangleD region, bool onlyInRegion ) : void

Writes data out as text.

this ( int i ) : PointD

Returns the ith point.

메소드 상세

SequenceAdapter() 공개 메소드

Constructor. The data source specifiers must be specified here.
public SequenceAdapter ( object dataSource, string dataMember, object ordinateData, object abscissaData ) : System
dataSource object The source containing a list of values to plot.
dataMember string The specific data member in a multimember data source to get data from.
ordinateData object The source containing a list of values to plot on the ordinate axis, or a the name of the column to use for this data.
abscissaData object The source containing a list of values to plot on the abscissa axis, or a the name of the column to use for this data.
리턴 System

SuggestXAxis() 공개 메소드

Returns an x-axis that is suitable for drawing the data.
public SuggestXAxis ( ) : Axis
리턴 Axis

SuggestYAxis() 공개 메소드

Returns a y-axis that is suitable for drawing the data.
public SuggestYAxis ( ) : Axis
리턴 Axis

WriteData() 공개 메소드

Writes data out as text.
public WriteData ( System sb, RectangleD region, bool onlyInRegion ) : void
sb System StringBuilder to write to.
region RectangleD Only write out data in this region if onlyInRegion is true.
onlyInRegion bool If true, only data in region is written, else all data is written.
리턴 void

this() 공개 메소드

Returns the ith point.
public this ( int i ) : PointD
i int
리턴 PointD