Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Windows
 Charting and Real-Time Graphics Tools for Windows
 Deleting Legend Items
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pboilee

1 Posts

Posted - 16 Nov 2004 :  17:56:55  Show Profile  Reply with Quote
Is there a way to delete unwanted legend items from legends created with wgautolegend call? I only want to delete the object from the legend not the graph window. I tried to create a custom legend using wgflexlegend but the line style for line plotting doesn't show up and because i'm using ps_solid and ps_dash. I also tried to delete the objects that i don't want in the legend using wgdeleteobj but it will delete it from the graph window too. If deleting only from the legend is possible please reply. Thanks.

Seng

quinncurtis

1164 Posts

Posted - 17 Nov 2004 :  10:01:09  Show Profile  Reply with Quote
You can't delete individual legend items once the legend is created. The flex legend is the best idea, creating a legend with just the items you want. You should be able to use the flex legend for line legends. It looks like you have been using the wrong symbol constants for the flex legend routine. Use LG_LINE for the line symbol, and LGS_DASH or LGS_SOLID for the line style constants. See all of the LG_XXX and LGS_XXX flex legend constants in the qcwin.h file.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07