PyramidDataItem Class
Definition
Represents a data item for a pyramid chart, typically used for population pyramids showing age distribution by gender.
public class PyramidDataItem
Constructors
| Name | Description |
|---|---|
| PyramidDataItem | Represents a data item for a pyramid chart, typically used for population pyramids showing age distribution by gender. |
PyramidDataItem Constructor
Represents a data item for a pyramid chart, typically used for population pyramids showing age distribution by gender.
public PyramidDataItem(string AgeLabel, double MaleValue, double FemaleValue)
Parameters
AgeLabel string
The age group or category label (e.g., "0-4", "5-9").
MaleValue double
The value for the male population in this age group.
FemaleValue double
The value for the female population in this age group.
Methods
| Name | Description |
|---|---|
| <Clone>$ | No summary available. |
| Deconstruct | No summary available. |
| Equals (2 overloads) | No summary available. |
| GetHashCode | No summary available. |
| ToString | No summary available. |
<Clone>$ Method
public Avalonia.Controls.Charts.PyramidDataItem <Clone>$()
Returns
Deconstruct Method
public void Deconstruct(string& AgeLabel, double& MaleValue, double& FemaleValue)
Parameters
AgeLabel string&
MaleValue double&
FemaleValue double&
Equals overloads
Equals Method
public bool Equals(Avalonia.Controls.Charts.PyramidDataItem other)
Parameters
other Avalonia.Controls.Charts.PyramidDataItem
Returns
bool
Equals Method
public bool Equals(object obj)
Parameters
obj object
Returns
bool
GetHashCode Method
public int GetHashCode()
Returns
int
ToString Method
public string ToString()