TX Sheet Control

Sparkline Interface

Interface

A small chart bound to a destination cell and its worksheet data reference.

Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.

Type-only declaration; it is not a JavaScript runtime constructor.

Members

Properties

PropertyDescription
dataRangeThe dataRange value of Sparkline.
locationThe location value of Sparkline.

Examples

Pass the Sparkline value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

import type { Sparkline } from '@txtextcontrol/tx-sheet-control';

function inspectSparklineLocation(sparkline: Sparkline) {
    const value = sparkline['location'];
    console.log('Sparkline.location', value);
}

See Also