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
 All Forums
 Origin Forum
 Origin Forum
 Second label on bar/column chart

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
dominik.mierzwa Posted - 06/16/2021 : 09:20:38 AM
Hi,

Is there a possibility to add second label to the bar/column chart? I have 2 columns with labels and I would like to present them both. I have tried with the "Custom" label format but no effect. Maybe, I should add a second layer and place the labels on it?



Kind regards,
Dominik
3   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 06/17/2021 : 09:57:05 AM
Maybe you can create a new label column, see below:


James
dominik.mierzwa Posted - 06/17/2021 : 03:37:52 AM
quote:
Originally posted by YimingChen
Origin treats numeric and text differently in LabTalk substitution notation.
James



That was the point! I was trying the substitution $() instead of %() for the second label. Your code works perfectly!

But I have two other problems:
1. How to arrange the labels in separate lines?
2. How to hide empty labels 1 and show labels 2?



Kind regards,
Dominik
YimingChen Posted - 06/16/2021 : 09:47:09 AM
Try Custom Label with format string: $(wcol(n+2)[i]) %(wcol(n+3)[i]$).

Origin treats numeric and text differently in LabTalk substitution notation.

James

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000