Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Chart Namespace / LayoutEngine Class
Members


In This Topic
    LayoutEngine Class
    In This Topic

    Base class of the engines that perform the layout, the arrangement, and the creation and the configuration of the ChartPrimitive objects associated with each chart type.

    Syntax
    'Declaration
     
    Public MustInherit Class LayoutEngine 
    'Usage
     
    Dim instance As LayoutEngine
    public abstract class LayoutEngine 
    Remarks

    Override the CreateElements method to create and configure the appropriate ChartPrimitive objects for the specified Series.

    Override the PerformLayout method to perform the layout of chart primitives.

    Override the ArrangePrimitives method to arrange chart primitives.

    Override the ApplyDefaultTemplate method to implement the default template assignment for chart primitives for the series.

    See the derived classes (AreaLayoutColumnLayoutLineLayout, and PieLayout) for more details and examples.

    Inheritance Hierarchy
    Public Properties
     NameDescription
    Public Propertystatic (Shared in Visual Basic)Gets the default resource dictionary.  
    Public PropertyGets the layout mode for this layout engine.  
    Public PropertyGets the predefined layout type corresponding to this layout engine, or PredefinedLayoutTypes.Custom for custom layouts.  
    Top
    Public Methods
     NameDescription
    Public MethodApplies the default template for the ChartPrimitive instances associated with the chart type for which the engine performs the layout.  
    Public MethodArranges the ChartPrimitive instances for the specified Series.  
    Public MethodCreates a collection of primitives for the specified Series and adds them to a list.  
    Public MethodCreates a list of hint primitive for the specified series and adds them to a list.  
    Public MethodPerforms the layout of the ChartPrimitive objects for the specified Series in logical coordinates.  
    Top
    Protected Methods
     NameDescription
    Protected Methodstatic (Shared in Visual Basic)  
    Protected MethodUnites specified x- and y-range with the specified Series x and y ranges.  
    Top
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also