@jsfkit/types
    Preparing search index...

    Type Alias ChartTransformBin

    ChartTransformBin: ChartTransformBase & {
        as: { count: string; cumulative?: string; end: string; start: string };
        binning: ChartBinning;
        field: string;
        groupBy?: string[];
        resolvedBoundaries?: number[];
        type: "bin";
    }

    Groups values into bins and counts them. Used for histogram and Pareto charts.

    Type Declaration

    • as: { count: string; cumulative?: string; end: string; start: string }

      Names of the generated fields.

      • count: string

        The field that receives the number of values in each bin.

      • Optionalcumulative?: string

        Cumulative percentage, used for the Pareto line.

      • end: string

        The field that receives each bin's upper edge.

      • start: string

        The field that receives each bin's lower edge.

    • binning: ChartBinning

      How the values are divided into bins.

    • field: string

      The field holding the values to bin.

    • OptionalgroupBy?: string[]

      Fields to bin separately, for example ['series'] to bin each series on its own. When absent, all records are binned together.

    • OptionalresolvedBoundaries?: number[]

      Materialized bin boundaries. These allow exact rendering when a source application's automatic binning can't be reproduced.

    • type: "bin"

      Groups values into bins.