TX Sheet Control

ChartSeriesData Interface

Interface

Calculated series values resolved from chart references within their owning worksheet. Arrays retain cell order; empty cells are null. Reading a series does not change sheet selection.

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

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

Members

Properties

PropertyDescription
bubbleSizesThe bubbleSizes value of ChartSeriesData.
categoriesThe categories value of ChartSeriesData.
colorThe color value of ChartSeriesData.
nameThe name value of ChartSeriesData.
valuesThe values value of ChartSeriesData.
xValuesThe xValues value of ChartSeriesData.

Examples

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

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

function inspectChartSeriesDataName(
    chartSeriesData: Awaited<
        ReturnType<Awaited<ReturnType<ServerSheetControl['workbook']['sheets']['get']>>['charts']['get']>
    >['data'][number],
) {
    const value = chartSeriesData['name'];
    console.log('ChartSeriesData.name', value);
}

See Also