PiDraw API
    Preparing search index...

    Interface IAxisDisplay

    What an axis of the coordinate system shows besides its line.

    interface IAxisDisplay {
        labels?: "pi" | "numbers";
        marks?: TickSelection;
        name?: string;
        numbers?: TickSelection | "none";
        padding?: number;
        range?: { max: number; min: number };
        step?: number;
    }
    Index
    labels?: "pi" | "numbers"

    What is written at the graduations: the numbers, or fractions of pi.

    Which ticks are drawn ({every: 5}, {first: true}, both): the graduation has a step of 1 when there is no step.

    name?: string

    The name written at the end of the axis.

    numbers?: TickSelection | "none"

    On which ticks a number is written, or 'none'.

    padding?: number

    How far the axis stops from the borders of the drawing, in pixels.

    range?: { max: number; min: number }

    The part of the axis that is drawn, in units from the zero.

    step?: number

    The step of the graduation, in units of the axis. Without it the axis is not graduated.