Because that mode scales to the current x-values in the data buffer of the related RTProcessVar, you have to have least one value in the buffer before you can use that mode, else there is nothing to autoscale against. So start the RTScrollFrame with RT_FIXEDEXTENT_MOVINGSTART_AUTOSCROLL, and then after couple of samples are taken change to RT_MAXEXTENT_FIXEDSTART_AUTOSCROLL.
// In graph building method scrollFrame = new RTScrollFrame(this, currentTemperature1, pTransform1, ChartObj.RT_FIXEDEXTENT_MOVINGSTART_AUTOSCROLL);
. . . // In update method if (counter == 2) scrollFrame.ScrollScaleModeX = ChartObj.RT_MAXEXTENT_FIXEDSTART_AUTOSCROLL; |