SpreadJS 15
Formula Reference / Formula Functions / Sparkline Functions / RANGEBLOCKSPARKLINE
In This Topic
    RANGEBLOCKSPARKLINE
    In This Topic

    This function returns a rangetemplate.

    Syntax

    RANGEBLOCKSPARKLINE(template_range, data_expression)

    Arguments

    Argument Description
    template_range Refers to the range reference for a range template.
    data_expression

    Refers to the object data for range template. It accepts the cell reference, the value of which is object or the result of object function.

    You can use the OBJECT function to define an object.

    Data Types

    Returns sparkline.

    Examples

    renderSheet.setFormula(0, i, 'RANGEBLOCKSPARKLINE(TemplateSheet!A2:F11, OBJECT(tblPlayers[#Headers], INDEX(tblPlayers[#Data],COLUMN(),SEQUENCE(COUNTA(tblPlayers[#Headers]),1))))');