ChartSeriesData 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
| Property | Description |
|---|---|
| bubbleSizes | The bubbleSizes value of ChartSeriesData. |
| categories | The categories value of ChartSeriesData. |
| color | The color value of ChartSeriesData. |
| name | The name value of ChartSeriesData. |
| values | The values value of ChartSeriesData. |
| xValues | The 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);
}