modern-xlsx API Reference - v1.3.0
    Preparing search index...

    Interface SparklineGroupData

    An <x14:sparklineGroup> from the worksheet's <extLst>: sparklines that share a type, colours and options. Each color* string is hex RGB (RRGGBB) or ARGB (AARRGGBB), with or without a leading #; written as uppercase ARGB (FF alpha added for RRGGBB); any other non-empty string fails the write with INVALID_WORKBOOK and is reported by validate() ('' writes no colour). Each color*Spec holds the full colour when it has a theme, indexed, tint or auto attribute; same write rule as WorksheetData.tabColorSpec: the spec is used while its rgb equals the string, otherwise the string is written as plain rgb.

    interface SparklineGroupData {
        colorAxis?: string | null;
        colorAxisSpec?: ColorData | null;
        colorFirst?: string | null;
        colorFirstSpec?: ColorData | null;
        colorHigh?: string | null;
        colorHighSpec?: ColorData | null;
        colorLast?: string | null;
        colorLastSpec?: ColorData | null;
        colorLow?: string | null;
        colorLowSpec?: ColorData | null;
        colorMarkers?: string | null;
        colorMarkersSpec?: ColorData | null;
        colorNegative?: string | null;
        colorNegativeSpec?: ColorData | null;
        colorSeries?: string | null;
        colorSeriesSpec?: ColorData | null;
        dateAxis?: boolean;
        dateRange?: string | null;
        displayEmptyCellsAs?: "gap" | "zero" | "span" | null;
        displayHidden?: boolean;
        displayXAxis?: boolean;
        first?: boolean;
        high?: boolean;
        last?: boolean;
        lineWeight?: number | null;
        low?: boolean;
        manualMax?: number | null;
        manualMin?: number | null;
        markers?: boolean;
        maxAxisType?: "custom" | "individual" | "group" | null;
        minAxisType?: "custom" | "individual" | "group" | null;
        negative?: boolean;
        rightToLeft?: boolean;
        sparklines: SparklineData[];
        sparklineType?: SparklineType;
    }
    Index
    colorAxis?: string | null
    colorAxisSpec?: ColorData | null
    colorFirst?: string | null
    colorFirstSpec?: ColorData | null
    colorHigh?: string | null
    colorHighSpec?: ColorData | null
    colorLast?: string | null
    colorLastSpec?: ColorData | null
    colorLow?: string | null
    colorLowSpec?: ColorData | null
    colorMarkers?: string | null
    colorMarkersSpec?: ColorData | null
    colorNegative?: string | null
    colorNegativeSpec?: ColorData | null
    colorSeries?: string | null
    colorSeriesSpec?: ColorData | null
    dateAxis?: boolean

    The horizontal axis is a date axis over dateRange.

    dateRange?: string | null

    The range holding a date axis's dates (the group's <xm:f>), e.g. 'Sheet1!A20:J20'.

    displayEmptyCellsAs?: "gap" | "zero" | "span" | null
    displayHidden?: boolean

    Data in hidden rows and columns is plotted.

    displayXAxis?: boolean
    first?: boolean
    high?: boolean
    last?: boolean
    lineWeight?: number | null

    Line weight in points.

    low?: boolean
    manualMax?: number | null

    Vertical axis maximum; applies on a 'custom' axis, which is written when maxAxisType is unset.

    manualMin?: number | null

    Vertical axis minimum; applies on a 'custom' axis, which is written when minAxisType is unset.

    markers?: boolean
    maxAxisType?: "custom" | "individual" | "group" | null

    How the axis maximum is chosen: per sparkline ('individual', the default), shared by the group, or manualMax.

    minAxisType?: "custom" | "individual" | "group" | null

    How the axis minimum is chosen: per sparkline ('individual', the default), shared by the group, or manualMin.

    negative?: boolean
    rightToLeft?: boolean
    sparklines: SparklineData[]
    sparklineType?: SparklineType

    Omitted means 'line'.