MAIDR Documentation - v3.46.2
    Preparing search index...

    Interface TextState

    Text description state containing labels and values for screen reader output.

    interface TextState {
        main: { label: string; value: string | number | number[] };
        cross: { label: string; value: string | number | number[] };
        fill?: { label: string; value: string | number };
        range?: { min: number; max: number };
        section?: string;
        mainAxis?: AxisType;
        crossAxis?: AxisType;
    }
    Index

    Properties

    main: { label: string; value: string | number | number[] }
    cross: { label: string; value: string | number | number[] }
    fill?: { label: string; value: string | number }
    range?: { min: number; max: number }
    section?: string
    mainAxis?: AxisType

    Original axis identity for main value. For vertical plots: 'x', for horizontal plots: 'y'. Used to apply correct formatter regardless of orientation.

    crossAxis?: AxisType

    Original axis identity for cross value. For vertical plots: 'y', for horizontal plots: 'x'. Used to apply correct formatter regardless of orientation.