T O P I C R E V I E W |
margonz |
Posted - 30 Apr 2012 : 16:30:13 Hello, I have been plotting multiple plots on one graph and have RT_AUTOSCALE_Y_MINMAX set for all the RTScrollFrame's, but it seems as though it only autoscales for the last RTScrollFrame that was added. That is, if the ranges are vastly different I only see the one plot until the values are in the same range as the one being auto scaled. I also tried doing one RTScrollFrame with multiple RTProcessVar's but that autoscaled to the first RTProcessVar being added. |
2 L A T E S T R E P L I E S (Newest First) |
margonz |
Posted - 01 May 2012 : 10:28:47 Ahhh.. Thanks for your reply. I was missing the call to _scrollFrame.addProcessVar(..); for the additional process var's. Thanks, it works fine now. |
quinncurtis |
Posted - 30 Apr 2012 : 16:50:44 We can't reproduce either problem. Which method you use depends on whether or not you have one, or multiple independent coordinate systems you want auto-scaled.
If you have one coordinate system you want to auto-scale to two or more RTProcessVar objects, you use the method found in the example program ScrollApplication1.
If you have two or more overlapping, independent coordinate systems you want to auto-scale to respective RTProcessVar objects, you use the method found in the example program RTStockDisplay example program, where the top graph has two, independent coordinate systems.
Run both examples and verify that they seem to auto-scale properly.
If you cannot solve the program, see if you can reproduce the problem with a simple modification to one of our examples. If you can't do that you will need to supply us with the source to the simplest possible example program which reproduces the problem.
|
|
|