Class DataSourcePointList
Inherited Members
Namespace: ZedGraph
Assembly: ZedGraph.WinForms.dll
Syntax
[Serializable]
public class DataSourcePointList : IPointList, ICloneable
Constructors
| Improve this Doc View SourceDataSourcePointList()
Default Constructor
Declaration
public DataSourcePointList()
DataSourcePointList(DataSourcePointList)
Constructor to initialize the DataSourcePointList from an existing DataSourcePointList
Declaration
public DataSourcePointList(DataSourcePointList rhs)
Parameters
Type | Name | Description |
---|---|---|
DataSourcePointList | rhs |
Properties
| Improve this Doc View SourceBindingSource
The BindingSource object from which to get the bound data
Declaration
public BindingSource BindingSource { get; }
Property Value
Type | Description |
---|---|
BindingSource |
Remarks
Typically, you set the DataSource property to a reference to your database, table or list object. The DataMember property would be set to the name of the datatable within the DataSource, if applicable.
Count
gets the number of points available in the list
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
Int32 |
DataSource
The table or list object from which to extract the data values.
Declaration
public object DataSource { get; set; }
Property Value
Type | Description |
---|---|
Object |
Remarks
This property is just an alias for DataSource.
Item[Int32]
Indexer to access the specified PointPair object by its ordinal position in the list.
Declaration
public PointPair this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The ordinal position (zero-based) of the PointPair object to be accessed. |
Property Value
Type | Description |
---|---|
PointPair | A PointPair object reference. |
TagDataMember
The String name of the property or column from which to obtain the tag values for the chart.
Declaration
public string TagDataMember { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
Set this to null leave the tag values set to null. If this references string data, then the tags may be used as tooltips using the IsShowPointValues option.
XDataMember
The String name of the property or column from which to obtain the X data values for the chart.
Declaration
public string XDataMember { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
Set this to null leave the X data values set to Missing
YDataMember
The String name of the property or column from which to obtain the Y data values for the chart.
Declaration
public string YDataMember { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
Set this to null leave the Y data values set to Missing
ZDataMember
The String name of the property or column from which to obtain the Z data values for the chart.
Declaration
public string ZDataMember { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
Set this to null leave the Z data values set to Missing
Methods
| Improve this Doc View SourceClone()
Typesafe, deep-copy clone method.
Declaration
public DataSourcePointList Clone()
Returns
Type | Description |
---|---|
DataSourcePointList | A new, independent copy of this class |
Explicit Interface Implementations
| Improve this Doc View SourceICloneable.Clone()
Implement the ICloneable interface in a typesafe manner by just calling the typed version of Clone()
Declaration
object ICloneable.Clone()
Returns
Type | Description |
---|---|
Object | A deep copy of this object |