docx
    Preparing search index...

    Type Alias PieChartSplit

    PieChartSplit:
        | { by: "position"; count: number }
        | { by: "value"; lessThan: number }
        | { by: "percentage"; lessThan: number }
        | { by: "categories"; categories: readonly (string | number)[] }

    How a pie of pie or bar of pie chart picks the slices it moves from the pie to the second plot:

    • "position": the last count categories;
    • "value": the slices whose values are less than lessThan;
    • "percentage": the slices less than lessThan percent of the whole;
    • "categories": the slices of the categories given.

    Type Declaration

    • { by: "position"; count: number }
      • Readonlyby: "position"
      • Readonlycount: number

        How many of the last categories go to the second plot, from 1 to the number of categories

    • { by: "value"; lessThan: number }
      • Readonlyby: "value"
      • ReadonlylessThan: number

        Slices with values less than this go to the second plot

    • { by: "percentage"; lessThan: number }
      • Readonlyby: "percentage"
      • ReadonlylessThan: number

        Slices less than this percentage of the whole, from 0 to 100, go to the second plot

    • { by: "categories"; categories: readonly (string | number)[] }
      • Readonlyby: "categories"
      • Readonlycategories: readonly (string | number)[]

        The categories whose slices go to the second plot