PiDraw API
    Preparing search index...

    Interface IGraphConfig

    The coordinate system of a graph, in pixels.

    interface IGraphConfig {
        axis: AxisVectors;
        height: number;
        measure?: IMeasure;
        origin: XY;
        system: CoordinateSystem;
        width: number;
    }
    Index
    height: number
    measure?: IMeasure

    How the labels write a length: a unit and a scale (see IMeasure). They change nothing of the drawing, and a graph that is given none writes the lengths as they are, without a unit.

    origin: XY

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

    width: number