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 for Programming
LabTalk Forum
Removing sparklines from a column
New Topic
Reply to Topic
Printer Friendly
Author
Topic
AKazak
Russia
1254 Posts
Posted - 02/17/2026 : 1:32:42 PM
OriginPro 2026b (64-bit) Beta2 10.3.5.62
Windows 10 Pro
Greetings!
How do I remove sparklines from a column of a worksheet using LT?
I found
del -spk;
that deletes all project sparklines (
https://www.originlab.com/doc/LabTalk/ref/Delete-cmd
), but this is not what I actually want.
Thank you.
---
Andrey
Edited by - AKazak on 02/17/2026 1:34:32 PM
ChaoC
USA
231 Posts
Posted - 02/19/2026 : 5:12:25 PM
Hello Andrey,
Sparklines are embedded graphs so you can delete the graph to delete the sparkline.
win -c <window name>; will delete the graph so we write some code to find the sparkline graph shortname.
For example, we want to remove the sparkline in [Book1]Sheet1!E:
string spklineName$=[Book1]Sheet1!col(E)[S]$;
i=spklineName.TrimLeft(embedding:);
win -c %(spklineName$);
Best,
Chao
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Forum
Origin Viewer Forum
Origin Learning Edition Forum
Origin Forum for Programming
Forum for Python
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
LabTalk Forum
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000