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 for Programming
 LabTalk Forum
 x-function sparklines: mutliple xy cols

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
SMCA Posted - 09/03/2008 : 08:54:00 AM
Is there a way to create sparklines in a worksheet that contains multiple x and y columns? I have a worksheet with x1, x2 and x3 x-designations, but the sparkline command only creates sparklines for the last x-designation (x3 and subsequent y3 columns). x1 and x2 related columns are empty.
Thanks!
Stefan

OriginPro 8SR3 B932
5   L A T E S T    R E P L I E S    (Newest First)
a.abc.b35 Posted - 01/13/2011 : 1:27:43 PM
Thanks Iris. Now I have a program which destroys all the graphs in the project. If I run that with the sparkline on in the files, the program fails and gives a error message saying its due to the sparklines that it cant execute. What needs to be added in that to get rid of this problem ?
Thanks again,

AB
Iris_Bai Posted - 01/12/2011 : 9:20:38 PM
quote:
Originally posted by a.abc.b35

How can I add sparklines for all columns through Origin C ?

AB



Hi,

To add sparkline from Origin C, you can use

LT_execute("sparklines sel:=0 c1:=1 c2:=$(wks.ncols);");


Iris
a.abc.b35 Posted - 01/11/2011 : 02:50:15 AM
How can I add sparklines for all columns through Origin C ?

AB
SMCA Posted - 09/04/2008 : 05:11:40 AM
Hi Easwar,
thanks for the reply. I just tried it, and it works. Funnily, this was exactly the command I was using before. Hmm, I upgraded to SR3 yesterday, maybe the sparkline behaviour was changed from SR2 to SR3? Anyway, it works now. Thanks!
Stefan

OriginPro 8SR3 B932
easwar Posted - 09/03/2008 : 3:01:24 PM
Hi Stefan,

With worksheet active, try:


// add sparklines to all cols from col 1 thru last col
sparklines sel:=0 c1:=1 c2:=$(wks.ncols);
// or
// add sparklines for all y cols up to end of sheet
// plot sparkline as y versus corresponding x
sparklines sel:=0 c1:=1 c2:=$(wks.ncols) xy:=1;


Easwar
OriginLab

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