Skip to main content

system.kanoa.quality.analysis.getMultiVariateChartData(masterChkShtId, chkItemPaths, startDate, endDate)

Wraps qds.spGetMultiVariateChartData - pivoted rows for a T2 chart: one row per observation, one column per requested chkItemPath. Column order in the returned dataset follows the proc's own QUOTENAME/DISTINCT ordering, not the order chkItemPaths was passed in - callers must read variable names off the actual result columns, not assume they match chkItemPaths' order.


Parameters

masterChkShtId Integer
chkItemPaths List of Strings: 2+ check item paths
startDate DateTime
endDate DateTime


Returns

data pyDataset columns are [takenDate, <chkItemPath1>, <chkItemPath2>, ...]


Example

startDate = system.date.parse("2026-08-01 00:00:00")
endDate = system.date.parse("2026-08-03 00:00:00")
masterChkShtId = 45
chkItemPaths = ['Main\Motor Amps', 'Main\Pressure Inlet Oil Temp']
data = system.kanoa.quality.analysis.getAttributeChartData(masterChkShtId, chkItemPaths, startDate, endDate)