This question is locked. New answers and comments are not allowed.
SiteHello, I have a problem when I assign a generic list to the chart object,
this is my class
I just want to show the X axis the value of the property (Referencia) and the axle and (Peso_Total) value.
this is my class
public
class
cs_itemspedido
{
private
string
referencia;
private
int
cantidad;
private
string
nombre;
private
double
pesoxref;
private
double
valor;
private
int
osa;
public
int
Osa
{
get
{
return
osa; }
set
{ osa = value; }
}
public
double
Valor
{
get
{
return
valor; }
set
{ valor = value; }
}
public
double
PesoXRef
{
get
{
return
pesoxref; }
set
{ pesoxref = value; }
}
public
string
Nombre
{
get
{
return
nombre; }
set
{ nombre = value; }
}
public
string
Referencia
{
get
{
return
referencia; }
set
{ referencia = value; }
}
public
int
Cantidad
{
get
{
return
cantidad; }
set
{ cantidad = value; }
}
/// <summary>
/// Peso Total
/// </summary>
public
double
Peso_Total
{
get
{
return
(cantidad * pesoxref); }
}
/// <summary>
/// Valor total X item
/// </summary>
public
double
Valor_Total
{
get
{
return
(cantidad * valor); }
}
}
I just want to show the X axis the value of the property (Referencia) and the axle and (Peso_Total) value.
thanks