PiDraw API
    Preparing search index...

    Interface IGraphConstructorConfig

    What the constructor of a graph accepts. Every field is optional: a missing one takes the default of the graph (see resolveGraphConfig).

    interface IGraphConstructorConfig {
        axis?: AxisVectors;
        display?: IGraphDisplay;
        height?: number;
        measure?: Partial<IMeasure>;
        origin?: XY;
        system?: CoordinateSystem;
        tex?: TeXConverterType;
        width?: number;
    }
    Index

    The vector of one unit of each axis, in pixels (default: 1 cm to the right and 1 cm up).

    display?: IGraphDisplay
    height?: number

    In pixels (default 600).

    measure?: Partial<IMeasure>

    How the labels write a length (default: as they are, without a unit).

    origin?: XY

    Where the point (0, 0) is, in pixels from the top left corner of the drawing (default: the middle).

    Turns a LaTeX text into HTML, for the labels written as LaTeX.

    width?: number

    In pixels (default 800).