system.kanoa.quality.analysis.queryChkItemEventData(chkItemId, startDate, endDate, minRange, maxRange)
Returns check item event data formatted to display in the chart
Parameters
chkItemId Integer: Id of the check item
startDate DateTime: Start date of the range
endDate DateTime: End date of the range
minRange Integer: Ignore values less than this value. Can be set to None to return all values
maxRange Integer: Ignore values greater than this value. Can be set to None to return all values
Returns
data pyDataset
Example
chkItemId = 123
startDate = system.date.getDate(2023, 1, 1)
endDate = system.date.getDate(2023, 12, 31)
minRange = None
maxRange = None
data = system.kanoa.quality.analysis.queryChkItemEventData(chkItemId, startDate, endDate, minRange, maxRange)