I am trying to retrieve and display data from a database on a PI trend, using and ODBC query, via a DataSet. The query appears to work fine - it executes the query, and returns the value. The problem is that the value returned doesn't appear to scale correctly against the trend Y axis.
You can see that the High, Optimum and Low values are 14, 11 and 7, yet these don't display correctly against the 0 to 40 Y-scale. What is causing this?