Class HorizontalLabelLayout
Represents a axis layout in chart control that indicates the layout orientation as horizontal.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class HorizontalLabelLayout : AxisLabelLayout
Constructors
HorizontalLabelLayout(ChartAxis, List<UIElement>)
Initializes a new instance of the HorizontalLabelLayout class.
Declaration
public HorizontalLabelLayout(ChartAxis axis, List<UIElement> elements)
Parameters
Type | Name | Description |
---|---|---|
ChartAxis | axis | The Axis |
System.Collections.Generic.List<System.Windows.UIElement> | elements | The Elements |
Methods
Arrange(Size)
Arranges the labels in the HorizontalLabelLayout
Declaration
public override void Arrange(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | finalSize |
Overrides
CalcBounds(Double)
Calculates the bounds.
Declaration
protected override void CalcBounds(double availableWidth)
Parameters
Type | Name | Description |
---|---|---|
System.Double | availableWidth | The Available Width |
Overrides
CalculateActualPlotOffset(Size)
Calculates the actual plot offset.
Declaration
protected override void CalculateActualPlotOffset(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | availableSize | The Available Size |
Overrides
LayoutElements()
Layouts the elements
Declaration
protected override double LayoutElements()
Returns
Type | Description |
---|---|
System.Double | Returns the desired height. |
Overrides
Measure(Size)
Measures the labels in the HorizontalLabelLayout.
Declaration
public override Size Measure(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | availableSize | The Available Size |
Returns
Type | Description |
---|---|
System.Windows.Size | Returns the size required to arrange the elements |