TX Sheet Control

ChartPosition Interface

Interface

A worksheet cell anchor, offsets and unscaled CSS pixel dimensions for chart placement.

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

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

Members

Properties

PropertyDescription
columnThe column value of ChartPosition.
endThe end value of ChartPosition.
heightThe height value of ChartPosition.
offsetXThe offsetX value of ChartPosition.
offsetYThe offsetY value of ChartPosition.
rowThe row value of ChartPosition.
widthThe width value of ChartPosition.

Examples

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

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

function inspectChartPositionRow(chartPosition: ChartPosition) {
    const value = chartPosition['row'];
    console.log('ChartPosition.row', value);
}

See Also