Tricolore - v0.1.0
    Preparing search index...

    Interface VisualizationOptions

    Visualization options for ternary plots

    interface VisualizationOptions {
        breaks?: number;
        center?: TernaryPoint;
        chroma?: number;
        contrast?: number;
        discrete?: boolean;
        hue?: number;
        labelPosition?: "corner" | "edge";
        labels?: [string, string, string];
        lightness?: number;
        showCenter?: boolean;
        showData?: boolean;
        showLines?: boolean;
        spread?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    breaks?: number

    Number of breaks in the discrete color scale (default: 4)

    center?: TernaryPoint

    Center of the ternary color scale (default: [1/3, 1/3, 1/3])

    chroma?: number

    Maximum chroma for the colors [0-200]

    contrast?: number

    Contrast of the color scale [0-1]

    discrete?: boolean

    Whether to use discrete color mapping (default: false)

    hue?: number

    Primary hue for the color scale in degrees [0-360]

    labelPosition?: "corner" | "edge"

    The position of the axis labels: 'corner' | 'edge' (default: 'corner')

    labels?: [string, string, string]

    Labels for the three axes

    lightness?: number

    Lightness of the colors [0-100]

    showCenter?: boolean

    Show center point on the visualization

    showData?: boolean

    Show data points on the visualization

    showLines?: boolean

    Show grid lines on the ternary plot

    spread?: number

    Spread of the color scale around center (>0)