The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Hide Below item in a graph legend
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AKazak

Russia
1228 Posts

Posted - 09/04/2020 :  06:11:00 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 2021 (64-bit) Beta 4 9.8.0.138
Windows 7 Pro x64 SP1

Greetings!

Turning Fill Area Under Curve option adds "Below ..." legend item for the fill color.
How do I remove (exclude, hide) this additional item from the legend?

Thank you.

---
Andrey

YimingChen

1687 Posts

Posted - 09/04/2020 :  08:46:24 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
In legend properties dialog, go to symbol tab, Change the Pattern Block Height to 0.

James
Go to Top of Page

AKazak

Russia
1228 Posts

Posted - 09/04/2020 :  10:55:49 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by YimingChen

In legend properties dialog, go to symbol tab, Change the Pattern Block Height to 0.

James



This reduces height or pattern block to zero (turning it to the line) but does not remove the item from the legend.

---
Andrey
Go to Top of Page

一击爆裂陈子豪

Taiwan
41 Posts

Posted - 09/04/2020 :  11:12:08 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
How about just double click and delete those texts?
Go to Top of Page

AKazak

Russia
1228 Posts

Posted - 09/04/2020 :  2:11:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by 一击爆裂陈子豪

How about just double click and delete those texts?



Currently, this seems to be the only option.

Is there an LT way to delete all the fill items from the legend?

---
Andrey
Go to Top of Page

一击爆裂陈子豪

Taiwan
41 Posts

Posted - 09/08/2020 :  09:18:16 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can always read out the legend object text row by row and parse/reconstruct the contents as you want
Go to Top of Page

AKazak

Russia
1228 Posts

Posted - 09/08/2020 :  3:46:40 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by 一击爆裂陈子豪

You can always read out the legend object text row by row and parse/reconstruct the contents as you want



What do you mean?

---
Andrey
Go to Top of Page

一击爆裂陈子豪

Taiwan
41 Posts

Posted - 09/08/2020 :  4:06:23 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If you read the legend syntax, you should be looking at something like:
\l(1, AB0) %(1)
\l(1, AB1) %(1, @v"below")

It's just a long text. You can parse it by row to do string manipulations (delete the row if there is a "below" in it, for example), create your own legend text string, and overwrite the original one.
Go to Top of Page

snowli

USA
1448 Posts

Posted - 09/08/2020 :  4:30:39 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I added jira ORG-10287 to add a system variable to turn off fill items in legend so only line legend shows.

Thanks, Snow

quote:
Originally posted by AKazak

quote:
Originally posted by 一击爆裂陈子豪

How about just double click and delete those texts?



Currently, this seems to be the only option.

Is there an LT way to delete all the fill items from the legend?

---
Andrey

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000