Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to make a line plot (etc.) appear only after the user selects data to plot and sets the plot object parameters?

0
Posted

How to make a line plot (etc.) appear only after the user selects data to plot and sets the plot object parameters?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.