LayoutSizeValue.Type Property
In This Article
Returns the measurement unit in which the layout measures the size.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.2.dll
NuGet Package: DevExpress.Wpf.Charts
#Declaration
public LayoutSizeValueType Type { get; }
#Property Value
Type | Description |
---|---|
Layout |
The measurement unit in which the layout measures the size. |
Available values:
Name | Description |
---|---|
Weight | The layout measures size as weight. |
Absolute | The layout measures a size in pixels. |
#Remarks
The diagram measures item size as follows when the size type is Weight:
- The diagram calculates size available for weighted items by subtracting absolute sizes from the size available for all items.
- The diagram summarizes a total weight and computes the weight unit’s absolute size by dividing the size of weighted items by the total weight.
- The item’s size is the weight unit’s absolute size multiplied by the item weight.
See Also