Search Results for

    Show / Hide Table of Contents

    Class TopNs

    Collection of TopN

    Inheritance
    System.Object
    TopNs
    Namespace: FastReport.Olap.Slice
    Assembly: FastReport.Olap.dll
    Syntax
    public class TopNs : IDisposable

    Constructors

    TopNs(Slice)

    Declaration
    public TopNs(Slice slice)
    Parameters
    Type Name Description
    Slice slice

    Properties

    ActiveCount

    Get number of active TopNs

    Declaration
    public int ActiveCount { get; }
    Property Value
    Type Description
    System.Int32

    AsFilter

    Declaration
    public bool AsFilter { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    BuildTree()

    Create Tree with TopNs (for grid)

    Declaration
    public Tree BuildTree()
    Returns
    Type Description
    Tree

    Tree

    ClearTopN()

    Removes all TopN from all Axes

    Declaration
    public void ClearTopN()

    ClearTopNInAxis(AxisContainer)

    Removes TopN from Axis

    Declaration
    public void ClearTopNInAxis(AxisContainer axis)
    Parameters
    Type Name Description
    AxisContainer axis

    Axis where to remove TopNs

    Dispose()

    Dealocate resources

    Declaration
    public void Dispose()

    Load(XmlItem)

    Load from XML

    Declaration
    public void Load(XmlItem item)
    Parameters
    Type Name Description
    XmlItem item

    XML item

    Save(XmlItem)

    Save to XML

    Declaration
    public void Save(XmlItem item)
    Parameters
    Type Name Description
    XmlItem item

    XML item

    SetTopN(AxisField, MeasureField, TopType, Int32, Boolean)

    Set TopN for Dimension

    Declaration
    public void SetTopN(AxisField dimension, MeasureField measure, TopType topType, int topCount, bool createOthers)
    Parameters
    Type Name Description
    AxisField dimension

    Dimension for TopN

    MeasureField measure

    Measure which is used for values

    TopType topType

    Type of TopN (most/least)

    System.Int32 topCount

    Number of TopN values

    System.Boolean createOthers

    Whether to create "other" cell

    Back to top © 1998-2024 Copyright Fast Reports Inc.