@jsfkit/types
    Preparing search index...

    Type Alias ChartManualLayout

    A manually set position and size for a chart element, such as a title, legend, data label, or the plot area.

    All values are fractions of the chart area's width (x, w) or height (y, h), where 1 is the full width or height. factor-mode offsets can be negative. These are Excel's own units, kept so conversion is lossless.

    An absent coordinate is automatic. To place an element whose x or y is in factor mode, a renderer first computes the element's automatic position, then applies the offset.

    type ChartManualLayout = {
        h?: number;
        hMode?: ChartLayoutMode;
        w?: number;
        wMode?: ChartLayoutMode;
        x?: number;
        xMode?: ChartLayoutMode;
        y?: number;
        yMode?: ChartLayoutMode;
    }
    Index

    Properties

    h?: number

    Height, or bottom edge. See hMode.

    "factor"
    
    w?: number

    Width, or right edge. See wMode.

    "factor"
    
    x?: number

    Horizontal position. See xMode.

    "factor"
    
    y?: number

    Vertical position. See yMode.

    "factor"