GetChartFilters Method
- Last UpdatedNov 06, 2025
- 2 minute read
The GetChartFilters() gets the chart filters for the specified characteristic by finding the sample with the most recent measurement in the Result table and getting the filter values from that sample.
'Declaration
Public Shared Function GetChartFilters( _
ByVal characteristicId As Integer _
) As DataSet
public static DataSet GetChartFilters(
int characteristicId
)
Parameters
- characteristicId
- Required. Holds the characteristic ID.
Return Value
Returns a DataSet that contains the charting filter data for the characteristic based on its sample with the most recently entered results, from the Sample table.
The columns of the returned DataSet are described below.
| Column Name | Description |
|---|---|
| wo_id | A string that is the work order ID of the job for which the sample was collected. |
| ent_id | An integer that is the ID of the entity at which the sample was collected. |
| item_id | A string that is the ID of the item that is associated with the sample. |
| process_id | A string that is the ID of the process that is associated with the sample. |
| oper_id | A string that is the ID of the operation that is associated with the sample. |
| segment_requirement_id | A string that is the ID of the segment requirement that is associated with the sample. |
| segment_response_id | A string that is the ID of the segment response that is associated with the sample. |
| spare1 | A string that is the content of the spare1 field of the sample. |
| spare2 | A string that is the content of the spare2 field of the sample. |
| spare3 | A string that is the content of the spare3 field of the sample. |
| spare4 | A string that is the content of the spare4 field of the sample. |