This documentation is archived and is not being maintained.
DataPoint::SetValueXY Method
Visual Studio 2010
Sets the X-value and one or more Y-values of the data point.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
Parameters
- xValue
- Type: System::Object
The X-value of the data point.
- yValue
- Type: array<System::Object>
A list of Y-values of the data point.
Use the SetValueXY method to set the value(s) of a data point at run-time.
Note that if you set the X-value to a value other than zero (0), a scatter plot will be generated. For further details, see the Remarks section of the XValue property.
Refer to the following table for a complete listing of valid .NET Framework types that can be used for the object type parameter.
String | DateTime | Double |
Decimal | Single | Int32 |
UInt32 | Int64 | UInt64 |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: