# system.kanoa.analysis.queryChkItemEventData(masterChkShtId, chkItemPaths, startDate, endDate, minRange, maxRange)

Returns check item event data formatted to display in the trend chart

---
### Parameters
**masterChkShtId** `Integer`: Id of the masterChkSht<br />
**chkItemPaths** `List of Strings`: list of check item paths i.e. 'Main\Check 1'. Can be None.<br />
**startDate** `DateTime`: Start date of the range<br />
**endDate** `DateTime`: End date of the range<br />
**minRange** `Integer`: Ignore values less than this value. Can be set to None to return all values<br />
**maxRange** `Integer`: Ignore values greater than this value. Can be set to None to return all values<br />

---
### Returns
**data** `pyDataset`<br />

---
### Example
```python
masterChkItemId = 123
chkItemPaths = ['Main\Motor Amps']
startDate = system.date.getDate(2023, 1, 1)
endDate = system.date.getDate(2023, 12, 31)
minRange = None
maxRange = None
data = system.kanoa.quality.analysis.queryChkItemEventData(masterChkItemId, startDate, endDate, minRange, maxRange)
```
