DataPoint.SetValueXY(Object, Object[]) Método

Definição

Define o valor de X e um ou mais valores de Y do ponto de dados.Sets the X-value and one or more Y-values of the data point.

public:
 void SetValueXY(System::Object ^ xValue, ... cli::array <System::Object ^> ^ yValue);
public void SetValueXY (object xValue, params object[] yValue);
member this.SetValueXY : obj * obj[] -> unit
Public Sub SetValueXY (xValue As Object, ParamArray yValue As Object())

Parâmetros

xValue
Object

O valor X do ponto de dados.The X-value of the data point.

yValue
Object[]

Uma lista de valores de Y do ponto de dados.A list of Y-values of the data point.

Comentários

Use o SetValueXY método para definir o (s) valor (es) de um ponto de dados em tempo de execução.Use the SetValueXY method to set the value(s) of a data point at run-time.

Observe que, se você definir o valor X como um valor diferente de zero (0), um gráfico de dispersão será gerado.Note that if you set the X-value to a value other than zero (0), a scatter plot will be generated. Para obter mais detalhes, consulte a seção comentários da XValue propriedade.For further details, see the Remarks section of the XValue property.

Consulte a tabela a seguir para obter uma lista completa de tipos de .NET Framework válidos que podem ser usados para o parâmetro de tipo de objeto.Refer to the following table for a complete listing of valid .NET Framework types that can be used for the object type parameter.

StringString DatetimeDateTime DoubleDouble
DecimalDecimal SingleSingle Int32Int32
UInt32UInt32 Int64Int64 UInt64UInt64

Aplica-se a