Home > @i2analyze/notebook-sdk > chart > IChart > getRecordsOfType
chart.IChart.getRecordsOfType() method
Gets all the records in the chart that have the specified item type.
Signature:
getRecordsOfType(itemType: schema.ChartItemTypeSpecifier): data.IReadOnlyCollection<records.IChartRecord>;
Introduced: version 1.3
Parameters
Parameter | Type | Description |
---|---|---|
itemType | schema.ChartItemTypeSpecifier | The chart item type of the records to retrieve. |
Returns:
data.IReadOnlyCollection<records.IChartRecord>
A collection of records that might be empty if the chart contains no records of the specified type.