How to make a line plot (etc.) appear only after the user selects data to plot and sets the plot object parameters?
1. Create a line plot object in your graph building routine, it may be based on a dummy empty data set. Keep its handle for future actions. 2. Make this object invisible using WGShowObject 3. When the user selects data arrays, create the new data set based on them. 4. Connect this data set to the hidden plot object with WGReconnectDataSet (see example in DYNDEMO). 5. Select the line plot object using WGSelObject 6. Call WGEditObject as in HOOK.C – this will bring up the dialog. 7. Finally, make the object visible with WGShowObject.
Related Questions
- How to make a line plot (etc.) appear only after the user selects data to plot and sets the plot object parameters?
- Some of the object properties do not appear in the user interface. How can I access them to set permissions?
- Should the user enter data from lines that copy info from one line of the form to another?